none
.NET Framework 4.0 error Network Wide RRS feed

  • Question

  • I have an entire network receiving the following Error and I cannot for the life of me figure out why.

    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 g.d(Object A_0, EventArgs A_1)

       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.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: 4.0.0.0

        Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)

        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

    ----------------------------------------

    WSAMonitor

        Assembly Version: 4.2.0.11

        Win32 Version: 4.2.0.11

        CodeBase: file:///C:/Program%20Files%20(x86)/Barracuda/Web%20Security%20Agent/WSAMonitor.exe

    ----------------------------------------

    System.Windows.Forms

        Assembly Version: 4.0.0.0

        Win32 Version: 4.0.30319.269 built by: RTMGDR

        CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    ----------------------------------------

    System.Drawing

        Assembly Version: 4.0.0.0

        Win32 Version: 4.0.30319.276 built by: RTMGDR

        CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    System

        Assembly Version: 4.0.0.0

        Win32 Version: 4.0.30319.269 built by: RTMGDR

        CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    WSALanguage

        Assembly Version: 1.0.0.0

        Win32 Version: 1.0.0.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Barracuda/Web%20Security%20Agent/WSALanguage.DLL

    ----------------------------------------

    System.ServiceProcess

        Assembly Version: 4.0.0.0

        Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

        CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.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.

    Tuesday, May 15, 2012 4:19 PM

Answers

  • I guess this file /application is the root cause of your problem. Uninstall it on one of your pc's and see if the error message on this machine is gone.

    Hannes

    If you have got questions about this, just ask.

    In a perfect world,
    users would never enter data in the wrong form,
    files they choose to open would always exist
    and code would never have bugs.

    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/

    Wednesday, May 16, 2012 3:58 AM

All replies

  • It looks like you've run your code through an obfuscator.  This is occurring in the method named "g.d" - which is likely an obfuscated method called from a Form.Load event handler.

    Reed Copsey, Jr. - http://reedcopsey.com
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    Tuesday, May 15, 2012 4:45 PM
    Moderator
  • Since this is happening on each of my networked machines would it be caused by something pushed from my servers? Im not a developer or programmer so I am just trying to find why this error is happening and how I may go about resolving it.
    Tuesday, May 15, 2012 5:19 PM
  • check out the file shown in your log about WSAMonitor

    Hannes

    If you have got questions about this, just ask.

    In a perfect world,
    users would never enter data in the wrong form,
    files they choose to open would always exist
    and code would never have bugs.

    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/

    Tuesday, May 15, 2012 5:25 PM
  • What should I check about that file i mean i can navigate to it and open it with no issues. Im at a loss on what to do with this issue since it is becoming an issue on my network.
    Tuesday, May 15, 2012 9:16 PM
  • I guess this file /application is the root cause of your problem. Uninstall it on one of your pc's and see if the error message on this machine is gone.

    Hannes

    If you have got questions about this, just ask.

    In a perfect world,
    users would never enter data in the wrong form,
    files they choose to open would always exist
    and code would never have bugs.

    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/

    Wednesday, May 16, 2012 3:58 AM
  • When we don't the details information about this issue, it will be impossible to find the root cause. So, please show me your code, and the exception line.

    Have a nice day.


    Ghost,
    Call me ghost for short, Thanks
    To get the better answer, it should be a better question.

    Wednesday, May 16, 2012 10:24 AM
  • ********* Loaded Assemblies **************

    mscorlib

        Assembly Version: 4.0.0.0

        Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)

        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

    ----------------------------------------

    WSAMonitor

        Assembly Version: 4.2.0.11

        Win32 Version: 4.2.0.11

        CodeBase: file:///C:/Program%20Files%20(x86)/Barracuda/Web%20Security%20Agent/WSAMonitor.exe

    ----------------------------------------

    System.Windows.Forms

        Assembly Version: 4.0.0.0

        Win32 Version: 4.0.30319.269 built by: RTMGDR

        CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    ----------------------------------------

    System.Drawing

        Assembly Version: 4.0.0.0

        Win32 Version: 4.0.30319.276 built by: RTMGDR

        CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    System

        Assembly Version: 4.0.0.0

        Win32 Version: 4.0.30319.269 built by: RTMGDR

        CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    WSALanguage

        Assembly Version: 1.0.0.0

        Win32 Version: 1.0.0.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Barracuda/Web%20Security%20Agent/WSALanguage.DLL

    ----------------------------------------

    System.ServiceProcess

        Assembly Version: 4.0.0.0

        Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

        CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll

    Tuesday, March 28, 2017 7:32 PM