阅读970 返回首页    go 阿里云 go 技术社区[云栖]


一个软件安装后,在操作过程中出现问题报错

报错如图所示:

详细信息:

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

请参见此消息的结尾。

 

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

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

   CPC.INV.frmPatentSYXX.xmlToUI()

   CPC.INV.frmPatentSYXX.frmPatentApplicationsWizard_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.ContainerControl.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

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

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

CPC

    程序集版本: 1.0.0.0

    Win32 版本: 1.0.0.0

    基本代码: file:///D:/软件/cpc/CPC.exe

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

System.Windows.Forms

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

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

System

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

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

System.Drawing

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

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

Model

    程序集版本: 1.0.0.0

    Win32 版本: 1.0.0.0

    基本代码: file:///D:/软件/cpc/Model.DLL

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

Utility

    程序集版本: 1.0.0.0

    Win32 版本: 1.0.0.0

    基本代码: file:///D:/软件/cpc/Utility.DLL

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

BLL

    程序集版本: 1.0.0.0

    Win32 版本: 1.0.0.0

    基本代码: file:///D:/软件/cpc/BLL.DLL

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

log4net

    程序集版本: 1.2.0.30714

    Win32 版本: 1.2.0.30714

    基本代码: file:///D:/软件/cpc/log4net.DLL

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

System.Configuration

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

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

System.Xml

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

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

DevExpress.XtraTreeList3

    程序集版本: 1.11.1.0

    Win32 版本: 1.11.1.0

    基本代码: file:///D:/软件/cpc/DevExpress.XtraTreeList3.DLL

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

DevExpress.XtraBars3

    程序集版本: 3.7.1.0

    Win32 版本: 3.7.1.0

    基本代码: file:///D:/软件/cpc/DevExpress.XtraBars3.DLL

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

DevExpress.Utils3

    程序集版本: 3.2.1.0

    Win32 版本: 3.2.1.0

    基本代码: file:///D:/软件/cpc/DevExpress.Utils3.DLL

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

DevExpress.XtraEditors3

    程序集版本: 3.2.1.0

    Win32 版本: 3.2.1.0

    基本代码: file:///D:/软件/cpc/DevExpress.XtraEditors3.DLL

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

System.Data

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

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

ImageHandle

    程序集版本: 1.0.0.0

    Win32 版本: 1.0.0.0

    基本代码: file:///D:/软件/cpc/ImageHandle.DLL

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

DAL

    程序集版本: 1.0.0.0

    Win32 版本: 1.0.0.0

    基本代码: file:///D:/软件/cpc/DAL.DLL

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

System.Transactions

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll

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

System.EnterpriseServices

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

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

mscorlib.resources

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

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

System.Design

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

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

Microsoft.Office.Interop.Word

    程序集版本: 12.0.0.0

    Win32 版本: 12.0.4518.1014

    基本代码: file:///C:/WINDOWS/assembly/GAC/Microsoft.Office.Interop.Word/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Word.dll

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

DevExpress.XtraGrid3

    程序集版本: 3.2.1.0

    Win32 版本: 3.2.1.0

    基本代码: file:///D:/软件/cpc/DevExpress.XtraGrid3.DLL

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

DevExpress.Data3

    程序集版本: 3.2.1.0

    Win32 版本: 3.2.1.0

    基本代码: file:///D:/软件/cpc/DevExpress.Data3.DLL

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

AxInterop.GWSSIApplication

    程序集版本: 2.1.0.0

    Win32 版本: 2.1.0.0

    基本代码: file:///D:/软件/cpc/AxInterop.GWSSIApplication.DLL

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

System.Windows.Forms.resources

    程序集版本: 2.0.0.0

    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)

    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll

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

Interop.GWSSIApplication

    程序集版本: 2.1.0.0

    Win32 版本: 2.1.0.0

    基本代码: file:///D:/软件/cpc/Interop.GWSSIApplication.DLL

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

 

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

要启用实时(JIT)调试,

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

jitDebugging 值。

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

调试。

 

例如:

 

<configuration>

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

</configuration>

 

启用JIT 调试后,任何无法处理的异常

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

而不是由此对话框处理。

在CPC软件运行时,需要直接调用word文档,每次点调用的时候,就会出现这个问题。导致后续无法保存。

求助各位大神,帮忙看看,到底是什么问题。



最后更新:2017-08-31 12:02:54

  上一篇:go 彻底关闭Win10 备份功能
  下一篇:go 求助!无法安装更新程序KB2670838