unhandled exception in unknown module

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.

.



Relevant Pages

  • Re: You finally beat me down
    ... Aleksander Oven wrote: crash. ... to catch exceptions or deal with errors when installing a component. ... I would think it's not professional to have the IDE crash. ... Provide the customer with feedback why the component didn't install. ...
    (borland.public.delphi.non-technical)
  • RE: Passing a COM interface through a COM interface
    ... If your program is only running slow in VS.NET IDE, ... since in debugging VS.NET IDE will add some extra code to ... You may open the "Exceptions" dialog and check CLR exceptions to "Enter" to ... before sending mail. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: VB6 SP6 Issue with the Win32 Unhandled Exception Handler
    ... VB runtime doesn't -- the exceptions that normally cause the Abnormal Program ... The IDE starts and sets an unhandled exception filter of its own. ...
    (microsoft.public.vb.bugs)
  • Re: IDE is very slow because of Output window
    ... Try turning on 'break on exceptions' - then you'll be able to track down the ... > When I debug the app by running the code in the IDE, ... > off this output if I am to effectively debug my app. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: permissible syllable codas in major world languages)?
    ... Colin Fine wrote in message ... With very very few exceptions the primary ... The accent in Czech marks length, not stress. ...
    (sci.lang)