469,889 Members | 1,258 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,889 developers. It's quick & easy.

Unhandled Exception

My program is crashing, but it doesn't crash on a single line of code. Below is what the output tab displays. I have no idea where to start inorder to debug this problem. Is there any suggesstions on how to start debuging the problem

'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\msco rlib.dll', No symbols loaded
'StoredProcedure': Loaded 'N:\Dev\Programs\MNTEST3.net\Template.NET\bin\Stor edProcedure.exe', No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0. 5000.0__b77a5c561934e089\system.windows.forms.dll' , No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll', No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\microsoft.visualbasic\7.0 .5000.0__b03f5f7f11d50a3a\microsoft.visualbasic.dl l', No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\adodb\7.0.3300.0__b03f5f7 f11d50a3a\adodb.dll', No symbols loaded
'StoredProcedure.exe': Loaded 'n:\dev\programs\mntest3.net\template.net\bin\stan dardinclude.dll', No symbols loaded
An unhandled exception of type 'System.NullReferenceException' occurred in StoredProcedure.ex

Additional information: Object reference not set to an instance of an object

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at StandardInclude.StoredProcedure.TemplateMain_Load( Object eventSender, EventArgs eventArgs
at System.Windows.Forms.Form.OnLoad(EventArgs e
at System.Windows.Forms.Form.OnCreateControl(
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible
at System.Windows.Forms.Control.CreateControl(
at System.Windows.Forms.Control.WmShowWindow(Message& m
at System.Windows.Forms.Control.WndProc(Message& m
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m
at System.Windows.Forms.Form.WmShowWindow(Message& m
at System.Windows.Forms.Form.WndProc(Message& m
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m
at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparamThe program '[5976] StoredProcedure.exe' has exited with code 0 (0x0)

at System.Windows.Forms.SafeNativeMethods.ShowWindow( HandleRef hWnd, Int32 nCmdShow
at System.Windows.Forms.Control.SetVisibleCore(Boolea n value
at System.Windows.Forms.Form.SetVisibleCore(Boolean value
at System.Windows.Forms.Control.set_Visible(Boolean value
at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason, ApplicationContext context
at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason, ApplicationContext context
at System.Windows.Forms.Application.Run(Form mainForm
at StandardInclude.StoredProcedure.Main()
Nov 20 '05 #1
1 1837
Why do you think no code has been executed?

The stack trace shows that the exception happens in the Load event of
TemplateMain.

"mike" <an*******@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.com...
My program is crashing, but it doesn't crash on a single line of code. Below is what the output tab displays. I have no idea where to start
inorder to debug this problem. Is there any suggesstions on how to start
debuging the problem?
'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\msco rlib.dll', No symbols
loaded. 'StoredProcedure': Loaded 'N:\Dev\Programs\MNTEST3.net\Template.NET\bin\Stor edProcedure.exe', No
symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0. 5000.0__b77a5c561934e089\s
ystem.windows.forms.dll', No symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll', No
symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\microsoft.visualbasic\7.0 .5000.0__b03f5f7f11d50a3a\
microsoft.visualbasic.dll', No symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system.
drawing.dll', No symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\adodb\7.0.3300.0__b03f5f7 f11d50a3a\adodb.dll', No
symbols loaded. 'StoredProcedure.exe': Loaded 'n:\dev\programs\mntest3.net\template.net\bin\stan dardinclude.dll', No
symbols loaded. An unhandled exception of type 'System.NullReferenceException' occurred in StoredProcedure.exe
Additional information: Object reference not set to an instance of an object.

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at StandardInclude.StoredProcedure.TemplateMain_Load( Object eventSender, EventArgs eventArgs) at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparamThe program '[5976]
StoredProcedure.exe' has exited with code 0 (0x0). )
at System.Windows.Forms.SafeNativeMethods.ShowWindow( HandleRef hWnd, Int32 nCmdShow) at System.Windows.Forms.Control.SetVisibleCore(Boolea n value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason, ApplicationContext context) at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm)
at StandardInclude.StoredProcedure.Main()

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Chuck Hartman | last post: by
5 posts views Thread by Dave Stewart | last post: by
5 posts views Thread by Lucvdv | last post: by
reply views Thread by Colmeister | last post: by
5 posts views Thread by Simon Tamman {Uchiha Jax} | last post: by
5 posts views Thread by =?Utf-8?B?c3VydHVyeg==?= | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.