Help: NullReferenceException and SEHExecption



I am battling a nasty exception. I have built a windows forms application for
time tracking that is deployed and managed through the Enterprise Library
application updater component. All of this is working well: however, the
users keep getting SEHException and NullReferenceExceptions.

I can't seem to reproduce it on my development environment, so I added in a
tool from Jeff Attwood (http://www.thecodinghorror.com) that emails the
details of the exception and a screen capture to me. From this I have all the
stack trace data etc. from the exception. Thus far, we have not been able to
find a reproduceable pattern to the exception.

The exceptions seem to come in SEHException first, followed by a
NullReferenceException in CallWindowProc...

At this point I just need some details as to what these exceptions mean, and
some advice as to where/what I might look for to solve the issue. If this
forum does not result in an answer, I am planning to use one of my support
calls... 130 people are using this application for tracking their time, and
it needs to be stable...

The SEHExeption stack trace:
Application Domain: BulletTime.exe
Assembly Codebase: file:///C:/Program Files/Matrix Solutions/Bullet
Time/BulletTime.exe
Assembly Full Name: BulletTime, Version=1.3.4.0, Culture=neutral,
PublicKeyToken=null
Assembly Version: 1.3.4.0
Assembly Build Date: 7/20/2005 3:49:05 PM

Exception Source: System.Windows.Forms
Exception Type: System.Runtime.InteropServices.SEHException
Exception Message: External component has thrown an exception.
Exception Target Site: CallWindowProc

---- Stack Trace ----
System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(wndProc As
IntPtr, hWnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr)
BulletTime.exe: N 00000
System.Windows.Forms.NativeWindow.DefWndProc(m As Message&)
BulletTime.exe: N 00221
System.Windows.Forms.Control.DefWndProc(m As Message&)
BulletTime.exe: N 00010
System.Windows.Forms.Control.WmUpdateUIState(m As Message&)
BulletTime.exe: N 00058
System.Windows.Forms.Control.WndProc(m As Message&)
BulletTime.exe: N 01815
System.Windows.Forms.ScrollableControl.WndProc(m As Message&)
BulletTime.exe: N 00053
System.Windows.Forms.ContainerControl.WndProc(m As Message&)
BulletTime.exe: N 00022
System.Windows.Forms.ParkingWindow.WndProc(m As Message&)
BulletTime.exe: N 00013
System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&)
BulletTime.exe: N 00010
System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&)
BulletTime.exe: N 00187
System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32,
wparam As IntPtr, lparam As IntPtr)
BulletTime.exe: N 00047





The CallWindowProc NullRefrenceException stack trace...

Application Domain: BulletTime.exe
Assembly Codebase: file:///C:/Program Files/Matrix Solutions/Bullet
Time/BulletTime.exe
Assembly Full Name: BulletTime, Version=1.3.4.0, Culture=neutral,
PublicKeyToken=null
Assembly Version: 1.3.4.0
Assembly Build Date: 7/20/2005 3:49:05 PM

Exception Source: System.Windows.Forms
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Target Site: CallWindowProc

---- Stack Trace ----
System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(wndProc As
IntPtr, hWnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr)
BulletTime.exe: N 00000
System.Windows.Forms.NativeWindow.DefWndProc(m As Message&)
BulletTime.exe: N 00221
System.Windows.Forms.Control.DefWndProc(m As Message&)
BulletTime.exe: N 00010
System.Windows.Forms.Control.WmUpdateUIState(m As Message&)
BulletTime.exe: N 00058
System.Windows.Forms.Control.WndProc(m As Message&)
BulletTime.exe: N 01815
System.Windows.Forms.ScrollableControl.WndProc(m As Message&)
BulletTime.exe: N 00053
System.Windows.Forms.ContainerControl.WndProc(m As Message&)
BulletTime.exe: N 00022
System.Windows.Forms.ParkingWindow.WndProc(m As Message&)
BulletTime.exe: N 00013
System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&)
BulletTime.exe: N 00010
System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&)
BulletTime.exe: N 00187
System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32,
wparam As IntPtr, lparam As IntPtr)
BulletTime.exe: N 00047






.



Relevant Pages


Loading