3

Closed

Unhandled exception when opening a Visual C# project

description

I tried opening a Visual C# project (.cs) with version 2.5 and obtained the following trace with the unhandled exception. I'm not much a C# programmer so I fear I can't really help you further on this. The project I tried opening is FileFuzz from iDefense. I'm using Windows Vista x64 English.
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CodeCrawler.UI.Forms.VisualStudioSolution.VisualStudioSolution_Load(Object sender, EventArgs e) in C:\Documents and Settings\programmer\Documenti\Visual Studio 2008\Projects\OWASP.Tools.CodeCrawler\CodeCrawler.UI\Forms\ChildForms\VisualStudioSolution.cs:line 255
at System.Windows.Forms.Form.OnLoad(EventArgs e)
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.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4200 (NetFxQFE.050727-4200)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

CodeCrawler.UI
Assembly Version: 2.4.0.0
Win32 Version: 2.4.0.0

CodeBase: file:///C:/Users/Sebastien/Desktop/OWASP%20Code%20Crawler%202.5/OWASP.CodeCrawler.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

Puzzle.CoreLib.NET2
Assembly Version: 1.0.6.21206
Win32 Version: 1.0.6.21206

CodeBase: file:///C:/Users/Sebastien/Desktop/OWASP%20Code%20Crawler%202.5/Puzzle.CoreLib.NET2.DLL

Puzzle.SyntaxBox.NET2
Assembly Version: 1.4.10.21208
Win32 Version: 1.4.10.21208

CodeBase: file:///C:/Users/Sebastien/Desktop/OWASP%20Code%20Crawler%202.5/Puzzle.SyntaxBox.NET2.DLL

Puzzle.SyntaxDocument.NET2
Assembly Version: 1.4.10.21207
Win32 Version: 1.4.10.21207

CodeBase: file:///C:/Users/Sebastien/Desktop/OWASP%20Code%20Crawler%202.5/Puzzle.SyntaxDocument.NET2.DLL

System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll

 
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
For example:
 
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
 
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Closed Jan 26, 2010 at 6:12 PM by ntze

comments

wrote Jan 26, 2010 at 6:12 PM

Resolved with changeset 39364.

wrote Feb 14, 2013 at 6:11 PM

wrote May 16, 2013 at 8:43 AM