本地测试没有问题,在客户电脑上出了 See the end of this message for details on invoking

cheeks 2013-01-02 09:36:48

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at NTSCallCenter.Common.HtmlEditor.HtmlEditor.webBrowserBody_DocumentFocusing(Object sender, HtmlElementEventArgs e)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.HtmlShim.FireEvent(Object key, EventArgs e)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
NTSCallCenter
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/NTSCallCenter.exe
----------------------------------------
NTSCallCenter.Common
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/NTSCallCenter.Common.DLL
----------------------------------------
NTSCallCenter.Maintenance
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/NTSCallCenter.Maintenance.DLL
----------------------------------------
BlueSail.Resources
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/BlueSail.Resources.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 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.282 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.296 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
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.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
hwbhi5hj
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.296 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
NTSCallCenter.Entity
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/NTSCallCenter.Entity.DLL
----------------------------------------
CommonControls
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/CommonControls.DLL
----------------------------------------
Common
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/Common.DLL
----------------------------------------
ulwa5t3f
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.296 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
DevExpress.XtraEditors.v11.1
Assembly Version: 11.1.6.0
Win32 Version: 11.1.6.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/DevExpress.XtraEditors.v11.1.DLL
----------------------------------------
DevExpress.Utils.v11.1
Assembly Version: 11.1.6.0
Win32 Version: 11.1.6.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/DevExpress.Utils.v11.1.DLL
----------------------------------------
DevExpress.Data.v11.1
Assembly Version: 11.1.6.0
Win32 Version: 11.1.6.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/DevExpress.Data.v11.1.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
NTSCallCenter.DataProxy
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/NTSCallCenter.DataProxy.DLL
----------------------------------------
NTSCallCenter.Data
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/NTSCallCenter.Data.DLL
----------------------------------------
Microsoft.Practices.EnterpriseLibrary.Data
Assembly Version: 5.0.414.0
Win32 Version: 5.0.414.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/Microsoft.Practices.EnterpriseLibrary.Data.DLL
----------------------------------------
Microsoft.Practices.EnterpriseLibrary.Common
Assembly Version: 5.0.414.0
Win32 Version: 5.0.414.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/Microsoft.Practices.EnterpriseLibrary.Common.DLL
----------------------------------------
Microsoft.Practices.ServiceLocation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/Microsoft.Practices.ServiceLocation.DLL
----------------------------------------
Microsoft.Practices.Unity
Assembly Version: 2.0.414.0
Win32 Version: 2.0.414.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/Microsoft.Practices.Unity.DLL
----------------------------------------
Microsoft.Practices.Unity.Interception
Assembly Version: 2.0.414.0
Win32 Version: 2.0.414.0
CodeBase: file:///C:/Program%20Files/KTInfo/NTSCallCenter/Microsoft.Practices.Unity.Interception.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.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.

//英文实在太肉了,求救一下
...全文
8640 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
iebggmq 2015-08-26
  • 打赏
  • 举报
回复
请问有没有DevExpress v11.1.6.0的dll,给一份给我啊
cheeks 2013-01-02
  • 打赏
  • 举报
回复
谢谢,不知道为什么有突然间好了, 第三方控件有这个 可能 因为我是自己做的一个自动更新的程序来更新程序 昨晚重新安装了一下 vs2010 然后重新生成一个安装包 再去客户电脑上安装就没有问题了。
cheeks 2013-01-02
  • 打赏
  • 举报
回复
引用 1 楼 findcaiyzh 的回复:
错误就是这个喽: System.NullReferenceException: Object reference not set to an instance of an object. at NTSCallCenter.Common.HtmlEditor.HtmlEditor.webBrowserBody_DocumentFocusing(Object s……
我看了这个方法 ,这边没有问题 webBrowserBody.Document.DomDocument.GetType().GetProperty("designMode").SetValue(webBrowserBody.Document.DomDocument, "On", null); 只是让 webBrowserBody 具有编辑性 之前一直都没有问题的,好像上次增加了 excl 导出功能后就 出现这个问题了
cheeks 2013-01-02
  • 打赏
  • 举报
回复
我昨天在我电脑也安装了一次,没有出险别人电脑上的问题 ,现在纠结了,都不知道该怎么处理了
烟灰洒落键盘 2013-01-02
  • 打赏
  • 举报
回复
应该是引用了第三方控件,在本地机器上注册了,解决方式在客户机上用regsvr32重新注册下应该就可以了
宝_爸 2013-01-02
  • 打赏
  • 举报
回复
引用 2 楼 cheeks 的回复:
那为何在本地测试的时候没有出现这个错误?
这很常见,步骤,环境等等不同。软件不可能100%没有bug的。
cheeks 2013-01-02
  • 打赏
  • 举报
回复
那为何在本地测试的时候没有出现这个错误?
宝_爸 2013-01-02
  • 打赏
  • 举报
回复
错误就是这个喽: System.NullReferenceException: Object reference not set to an instance of an object. at NTSCallCenter.Common.HtmlEditor.HtmlEditor.webBrowserBody_DocumentFocusing(Object sender, HtmlElementEventArgs e) NTSCallCenter.Common.HtmlEditor.HtmlEditor这个是你自己的控件或者第三方的控件,webBrowserBody_DocumentFocusing函数中,使用了空引用。

111,092

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧