Unhandled Exception

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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\mscorlib.dll', No symbols loaded
'StoredProcedure': Loaded 'N:\Dev\Programs\MNTEST3.net\Template.NET\bin\StoredProcedure.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__b77a5c561934e089\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__b03f5f7f11d50a3a\adodb.dll', No symbols loaded
'StoredProcedure.exe': Loaded 'n:\dev\programs\mntest3.net\template.net\bin\standardinclude.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(Message& m
at System.Windows.Forms.ContainerControl.WndProc(Message& 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(Message& m
at System.Windows.Forms.NativeWindow.DebuggableCallback(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(Boolean value
at System.Windows.Forms.Form.SetVisibleCore(Boolean value
at System.Windows.Forms.Control.set_Visible(Boolean value
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(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()
 
Why do you think no code has been executed?

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

mike said:
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\mscorlib.dll', No symbols
loaded.
'StoredProcedure': Loaded
'N:\Dev\Programs\MNTEST3.net\Template.NET\bin\StoredProcedure.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__b77a5c561934e089\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__b03f5f7f11d50a3a\adodb.dll', No
symbols loaded.
'StoredProcedure.exe': Loaded
'n:\dev\programs\mntest3.net\template.net\bin\standardinclude.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(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& 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(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparamThe program '[5976]
StoredProcedure.exe' has exited with code 0 (0x0).
 
Back
Top