Posted 18 years ago
by Karl Grambow
I'm using SyntaxEditor v3.1.210.0 with .NET 1.1 on Windows XP. Using VB.NET
I'm getting a very random exception (see stack trace, below) occurring in a variety of situations but I can never seem to duplicate the problem - which I know doesn't help.
So far I've seen the below exception occur when I have opened a form that contained a SyntaxEditor, when pressing Enter to AutoComplete an IntelliPrompt selection or when selecting a word within SyntaxEditor and subsequently type "@" (without the quotes) so as to replace that word with "@". Note that "@" is a trigger which would have triggered an IntelliPrompt list to be made visible.
The problem is that in all of the above cases repeated attempts to duplicate the issue have failed. Literally, I can go for hundreds of hours without seeing the exception and then all of a sudden, it happens.
The one time I saw this exception when I was running in debug mode, I opted to Break and I got the following message: "No Source Code Available for the Current Location".
I know that the information I've given you really can't help much and the randomness of it makes it pretty impossible to duplicate.
So any help/suggestions you can offer that might help me nail this one done would be really appreciated. This one is starting to drive me crazy.
The only good thing about this is that it is so random that few of my customers are seeing it but eventually they'll start to ask questions, I'm sure.
Thanks,
Karl
Here's the trace:
I'm getting a very random exception (see stack trace, below) occurring in a variety of situations but I can never seem to duplicate the problem - which I know doesn't help.
So far I've seen the below exception occur when I have opened a form that contained a SyntaxEditor, when pressing Enter to AutoComplete an IntelliPrompt selection or when selecting a word within SyntaxEditor and subsequently type "@" (without the quotes) so as to replace that word with "@". Note that "@" is a trigger which would have triggered an IntelliPrompt list to be made visible.
The problem is that in all of the above cases repeated attempts to duplicate the issue have failed. Literally, I can go for hundreds of hours without seeing the exception and then all of a sudden, it happens.
The one time I saw this exception when I was running in debug mode, I opted to Break and I got the following message: "No Source Code Available for the Current Location".
I know that the information I've given you really can't help much and the randomness of it makes it pretty impossible to duplicate.
So any help/suggestions you can offer that might help me nail this one done would be really appreciated. This one is starting to drive me crazy.
The only good thing about this is that it is so random that few of my customers are seeing it but eventually they'll start to ask questions, I'm sure.
Thanks,
Karl
Here's the trace:
System.NullReferenceException
Stack Trace:
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WmUpdateUIState(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.ParkingWindow.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)