Ticket #10015 (closed defect: obsolete)

Opened 6 years ago

Last modified 21 months ago

"Object reference not set to an instance of an object" - .NET Framework 4

Reported by: Lighty Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.6 Keywords:
Cc: Guest type: other
Host type: Windows

Description (last modified by aeichner) (diff)

PC: Windows 7 Ultimate Virtual Machine: Windows XP Professional SP3


I am trying to run an application that was developed using the .NET Framework 4. When I run it I receive the error "Object reference not set to an instance of an object" along with a detailed error log.

When I run this on my native OS I do not receive the error, and I have exactly the same versions of the .NET Framework installed.

After receiving advice from several sources they pointed out it's most likely the Virtual Machine software, i.e. Virtualbox.

The error log I get is:

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 A.R.Z() at A.R.CB(Object A, EventArgs B) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() 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.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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: Win32 Version: 2.0.50727.3625 (GDR.050727-3600) CodeBase:  file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

PuzSol Assembly Version: Win32 Version: CodeBase:  file:///C:/Documents%20and%20Settings/Administrator/Desktop/YPP/PuzSol%20BoS/PuzSol%20BoS.exe

System.Windows.Forms Assembly Version: Win32 Version: 2.0.50727.3623 (GDR.050727-3600) CodeBase:  file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/

System Assembly Version: Win32 Version: 2.0.50727.3624 (GDR.050727-3600) CodeBase:  file:///C:/WINDOWS/assembly/GAC_MSIL/System/

System.Drawing Assembly Version: Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase:  file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/

PuzSolPuzSolPuzSol Assembly Version: Win32 Version: CodeBase:  file:///C:/Documents%20and%20Settings/Administrator/Desktop/YPP/PuzSol%20BoS/PuzSol%20BoS.exe

System.Management Assembly Version: Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase:  file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/

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 section. The application must also be compiled with debugging enabled.

For example:

<configuration> < 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.

Change History

comment:1 Changed 21 months ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use