Microsoft.NET JIT调试错误 [英] Microsoft.NET JIT Debugging error

查看:78
本文介绍了Microsoft.NET JIT调试错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


有关调用的详细信息,请参阅此消息的末尾. 即时(JIT)调试,而不是此对话框.

**************异常文本**************
System.NullReferenceException:对象引用未设置为对象的实例.
    at TT_mcsc.serverUpdate_Forge..ctor(主要父级)
    at TT_mcsc.Main.startButton_Click(对象发送方,EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at MaterialSkin.Controls.MaterialRaisedButton.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(消息和m,MouseButtons按钮,Int32点击)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)


**************加载的装配体**************
mscorlib
   程序集版本:4.0.0.0
    Win32版本:4.6.1648.0创建人:NETFXREL3STAGE
   代码库:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
TT minecraft服务器创建者
   程序集版本:1.0.0.0
    Win32版本:1.0.0.0
   代码库:file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/TT%20minecraft%20server%20creator.exe
System.Windows.Forms    程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
系统
   程序集版本:4.0.0.0
    Win32版本:4.6.1647.0创建人:NETFXREL3STAGE
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
   程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MaterialSkin
   程序集版本:1.0.0.0
    Win32版本:1.0.0.0
   代码库:file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/MaterialSkin.DLL
----------------------------------------
System.Configuration
   程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core    程序集版本:4.0.0.0
    Win32版本:4.6.1647.0创建人:NETFXREL3STAGE
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
   程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
   程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Deployment.resources
   程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment.resources/v4.0_4.0.0.0_it_b03f5f7f11d50a3a/System.Deployment.resources.dll
----------------------------------------
TTlib
   程序集版本:1.0.0.0
    Win32版本:1.0.0.0
   代码库:file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/TTlib.DLL
----------------------------------------
System.Windows.Forms.resources    程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
可访问性
   程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Newtonsoft.Json
   程序集版本:9.0.0.0
    Win32版本:9.0.1.19813
   代码库:file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
   程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization    程序集版本:4.0.0.0
    Win32版本:4.6.1637.0创建人:NETFXREL3STAGE
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Xml.Linq
   程序集版本:4.0.0.0
    Win32版本:4.6.1586.0创建人:NETFXREL2
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Data
   程序集版本:4.0.0.0
    Win32版本:4.6.1636.0创建人:NETFXREL3STAGE
   代码库:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
HtmlAgilityPack
   程序集版本:1.4.9.5
    Win32版本:1.4.9.5
   代码库:file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/HtmlAgilityPack.DLL
----------------------------------------

************** JIT调试**************
要启用即时(JIT)调试,请为此
创建.config文件 应用程序或计算机(machine.config)必须具有
在system.windows.forms部分中设置的jitDebugging值.
该应用程序还必须使用调试功能进行编译
已启用.

例如:

< configuration>
    < system.windows.forms jitDebugging =" true" />
</configuration>

启用JIT调试后,任何未处理的异常
将被发送到计算机上注册的JIT调试器
而不是由此对话框处理.

Hi, This is my first tread and i want to ask why i get this problem when i try to start minecraft servers

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 TT_mcsc.serverUpdate_Forge..ctor(Main sParent)
   at TT_mcsc.Main.startButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at MaterialSkin.Controls.MaterialRaisedButton.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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.6.1648.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
TT minecraft server creator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/TT%20minecraft%20server%20creator.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1647.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MaterialSkin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/MaterialSkin.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1647.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Deployment.resources
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment.resources/v4.0_4.0.0.0_it_b03f5f7f11d50a3a/System.Deployment.resources.dll
----------------------------------------
TTlib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/TTlib.DLL
----------------------------------------
System.Windows.Forms.resources
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.1.19813
    CodeBase: file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1637.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1636.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
HtmlAgilityPack
    Assembly Version: 1.4.9.5
    Win32 Version: 1.4.9.5
    CodeBase: file:///C:/Users/Galaxydragon7/AppData/Local/Apps/2.0/0YX61GPK.OO5/JBHJ6294.JYX/ttmi..tion_54566e821061ea4e_0001.0003_ae43cf05c51f2f4f/HtmlAgilityPack.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.

这以前从未发生过,而有用的服务器启动了,这次没有用
谢谢

This never happened before, and the ususal server start, this time didnt worked
Thanks

推荐答案

您需要在错误消息的调用堆栈跟踪中的方法中的代码中放置一个断点,它为空引用异常,这意味着您正在访问没有指向任何内容的引用,请参考以下内容,其中解释了 此错误是什么以及如何解决:

You need to put a break point in your code in the method which is in the call stack trace of error message, it is null reference exception which means you are accessing a reference which is pointing to nothing, please refer to the following post which explains what is this error and how to fix it:

什么是空引用异常以及如何解决是吗?

希望它可以帮助您解决问题.

Hope it helps you to fix your issue.


这篇关于Microsoft.NET JIT调试错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆