G
Guest
In a VB .NET app, I am dynamically changing a form's menu. While stress
testing the code in the IDE, I got intermittent exceptions thrown: "An
unhandled exception of type 'System.NullReferenceException' occurred in
Unknown Module". In the debugger, I click on Break and get "There is no
source code available for the current location".
There have been posts in these newsgroups about unhandled exceptions of
various kinds in unknown code. One post suggested SP1 for framework 1.1 was
the problem, and that is what I am running. (FYI, I'm using XP Pro 5.1 SP2
Build 2600, and I'm not calling Application.EnableVisualStyles.) Also, I'm
aware of the chinese characters issue, and that is not my problem. Also, my
problem occurs only in the IDE - my stress tests run fine when I run the exe
outside the IDE (debug version both in IDE and standalone exe).
So, these are my questions:
1. Does MS acknowledge a problem in this area?
2. Is there a consensus view of the state of this problem?
All responses are welcome, but before posting a flip response to #2, please
review previous related postings. Search MSDN Newsgroups for "unhandled
exception unknown module".
Finally, I think I could create a small size .NET VB app that exhibits the
problem, but it would take some effort. Maybe responses to this posting will
make the effort unnecessary.
testing the code in the IDE, I got intermittent exceptions thrown: "An
unhandled exception of type 'System.NullReferenceException' occurred in
Unknown Module". In the debugger, I click on Break and get "There is no
source code available for the current location".
There have been posts in these newsgroups about unhandled exceptions of
various kinds in unknown code. One post suggested SP1 for framework 1.1 was
the problem, and that is what I am running. (FYI, I'm using XP Pro 5.1 SP2
Build 2600, and I'm not calling Application.EnableVisualStyles.) Also, I'm
aware of the chinese characters issue, and that is not my problem. Also, my
problem occurs only in the IDE - my stress tests run fine when I run the exe
outside the IDE (debug version both in IDE and standalone exe).
So, these are my questions:
1. Does MS acknowledge a problem in this area?
2. Is there a consensus view of the state of this problem?
All responses are welcome, but before posting a flip response to #2, please
review previous related postings. Search MSDN Newsgroups for "unhandled
exception unknown module".
Finally, I think I could create a small size .NET VB app that exhibits the
problem, but it would take some effort. Maybe responses to this posting will
make the effort unnecessary.