|
jianbin wang
Posts: 6
Joined: 2024-11-17
|
I am developing an Excel add-in using Add-in Express (version 10.4.4741), and I occasionally encounter the following error message:
System.NullReferenceException: Object reference not set to an instance of an object.
at AddinExpress.Design.TaskPanesManagerImpl.resetSelectionTimer_Tick(Object sender, EventArgs e)
How can I resolve this?
detail in simplified Chinese:
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 AddinExpress.Design.TaskPanesManagerImpl.resetSelectionTimer_Tick(Object sender, EventArgs e)
在 System.Windows.Forms.Timer.OnTick(EventArgs e)
在 System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
----------------------------------------
AddinExpress.VisualDesigner
程序集版本:10.4.4741.0
Win32 版本:10.4.4741.0
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/AddinExpress.VisualDesigner/v4.0_10.4.4741.0__4416dd98f0861965/AddinExpress.VisualDesigner.dll
----------------------------------------
AddinExpress.XL.2005.Design
程序集版本:10.4.4741.0
Win32 版本:10.4.4741.0
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/AddinExpress.XL.2005.Design/v4.0_10.4.4741.0__e69a7e0f3592d2b8/AddinExpress.XL.2005.Design.dll
----------------------------------------
envdte
程序集版本:18.0.0.0
Win32 版本:18.6.39481.13683
基本代码:file:///D:/DevSoftAndUI/Visual%20Studio%202016/Common7/IDE/PublicAssemblies/EnvDTE.dll
----------------------------------------
AddinExpress.Design.BstgDesigner
程序集版本:10.4.4741.0
Win32 版本:10.4.4741.0
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/AddinExpress.Design.BstgDesigner/v4.0_10.4.4741.0__4416dd98f0861965/AddinExpress.Design.BstgDesigner.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试程序,
而不是由此对话框处理。cpasit Co., Ltd |
|
|
Andrei Smolin
Add-in Express team
Posts: 19223
Joined: 2006-05-11
|
Hello jianbin,
Thank you for letting us know. We will look into this issue and I'll let you know about the result.
Regards from Poland (GMT+1),
Andrei Smolin
Add-in Express Team Leader |
|
|
Andrei Smolin
Add-in Express team
Posts: 19223
Joined: 2006-05-11
|
Hello jianbin,
Do you reproduce this on a simple test project? If yes, please send the project to me (see the contact form at https://www.add-in-express.com/support/askus.php) and provide the steps to reproduce the issue.
Regards from Poland (GMT+1),
Andrei Smolin
Add-in Express Team Leader |
|