未将对象引用设置到对象的实例

匿名
2019-09-20T12:08:42+00:00

有关调用实时(JIT)调试而不是此对话框的详细信息,

请参见此消息的结尾。

************** 异常文本 **************

System.NullReferenceException: 未将对象引用设置到对象的实例。

在 SSTap.View.LoginForm.LoginForm_Load(Object sender, EventArgs e)

在 System.Windows.Forms.Form.OnLoad(EventArgs e)

在 System.Windows.Forms.Form.OnCreateControl()

在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

在 System.Windows.Forms.Control.CreateControl()

在 System.Windows.Forms.Control.WmShowWindow(Message& m)

在 System.Windows.Forms.Control.WndProc(Message& m)

在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)

在 System.Windows.Forms.Form.WmShowWindow(Message& m)

在 System.Windows.Forms.Form.WndProc(Message& m)

在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** 已加载的程序集 **************

mscorlib

程序集版本:4.0.0.0

Win32 版本:4.8.4010.0 built by: NET48REL1LAST_B

基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll


SS-TAP_对接91

程序集版本:30.5.26.2

Win32 版本:

基本代码:file:///C:/Program%20Files%20(x86)/dingdang/ddjiasu/dingdang.exe


System.Windows.Forms

程序集版本:4.0.0.0

Win32 版本:4.8.4001.0 built by: NET48REL1LAST_C

基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System

程序集版本:4.0.0.0

Win32 版本:4.8.4001.0 built by: NET48REL1LAST_C

基本代码: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.8.3752.0 built by: NET48REL1

基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


RestSharp

程序集版本:106.1.0.0

Win32 版本:

基本代码:file:///C:/Program%20Files%20(x86)/dingdang/ddjiasu/dingdang.exe


Newtonsoft.Json

程序集版本:10.0.0.0

Win32 版本:

基本代码:file:///C:/Program%20Files%20(x86)/dingdang/ddjiasu/dingdang.exe


System.Core

程序集版本:4.0.0.0

Win32 版本:4.8.4001.0 built by: NET48REL1LAST_C

基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll


System.Configuration

程序集版本:4.0.0.0

Win32 版本:4.8.3752.0 built by: NET48REL1

基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


System.Xml

程序集版本:4.0.0.0

Win32 版本:4.8.3752.0 built by: NET48REL1

基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll


System.Numerics

程序集版本:4.0.0.0

Win32 版本:4.8.3752.0 built by: NET48REL1

基本代码: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.8.3825.0 built by: NET48REL1LAST_B

基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll


System.Data

程序集版本:4.0.0.0

Win32 版本:4.8.3752.0 built by: NET48REL1

基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll


mscorlib.resources

程序集版本:4.0.0.0

Win32 版本:4.8.3752.0 built by: NET48REL1

基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll


System.Windows.Forms.resources

程序集版本:4.0.0.0

Win32 版本:4.8.3752.0 built by: NET48REL1

基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll


************** JIT 调试 **************

要启用实时(JIT)调试,

该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置

jitDebugging 值。

编译应用程序时还必须启用

调试。

例如:

<configuration>

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

</configuration>

启用 JIT 调试后,任何未经处理的异常

都将被发送到在此计算机上注册的 JIT 调试程序,

而不是由此对话框处理。

Windows 家庭版 | 其他 | 游戏

锁定的问题。 此问题已从 Microsoft 支持社区迁移。 你可投票决定它是否有用,但不能添加评论或回复,也不能关注问题。

0 个注释 无注释

1 个答案

排序依据: 非常有帮助
  1. 匿名
    2019-09-20T12:25:20+00:00

    您好,我是微软社区独立顾问(Microsoft Community Independent Advisor)

    Yu Huang。很高兴能为您提供技术支持!

    有关于您“未将对象引用设置到对象的实例”的问题,现为您提供以下解决方案:

    很抱歉,Microsoft Community 目前只能解答 Windows 系统日常使用中遇到的问题。

    您所提到的问题,建议您前往“TechNet”获取帮助,会有专业的 Microsoft 工程师为您解答。

    链接:https://social.technet.microsoft.com/Forums/zh-...

    如您按以上解决方案操作后问题仍不能得到解决,请随时向我提出反馈,我将随时为您提供技术支持!

    此答案是否有帮助?

    0 个注释 无注释