WzComparerR2-Plus icon indicating copy to clipboard operation
WzComparerR2-Plus copied to clipboard

Microsoft.NET Framework 應用程序中發生了未經處理的異常 如果單擊“繼續”,應用程 岸將略此錯濱並嘗弒維績。如果單羊“退出”,窗用程序將置 即關閉。未將對象引用設置到取對象的實例。 。

Open kun002 opened this issue 1 year ago • 2 comments

系統W11 時常碰到這個彈窗

有關調用實時(JIT)調試而不是此對話框的詳細信息, 請參見此消息的結尾。

************** 異常文本 ************** System.NullReferenceException: 未將對象引用設置到對象的實例。 在 WzComparerR2.Common.Wz_NodeExtension2.ExtractPng(Wz_Node Node) 在 WzComparerR2.ImageViewerForm.DumpPngs(String FolderName, Wz_Node Entry) 在 WzComparerR2.ImageViewerForm.DumpPngs(String FolderName, Wz_Node Entry) 在 WzComparerR2.ImageViewerForm.DumpPngs(String FolderName, Wz_Node Entry) 在 WzComparerR2.ImageViewerForm.DumpPngs(String FolderName, Wz_Node Entry) 在 System.Windows.Forms.Control.OnClick(EventArgs e) 在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) 在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) 在 System.Windows.Forms.Control.WndProc(Message& m) 在 System.Windows.Forms.ButtonBase.WndProc(Message& m) 在 System.Windows.Forms.Button.WndProc(Message& m) 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** 已加載的程序集 ************** mscorlib 程序集版本:4.0.0.0 Win32 版本:4.8.9139.0 built by: NET481REL1LAST_B 基本代碼:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

WzComparerR2 程序集版本:2.2.0.0 Win32 版本:2.2.0.10725 基本代碼:file:///E:/%E5%86%92%E9%99%A9%E5%B2%9B/WcR2++20221102/WzComparerR2++.exe

System.Windows.Forms 程序集版本:4.0.0.0 Win32 版本:4.8.9075.0 built by: NET481REL1LAST_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.9139.0 built by: NET481REL1LAST_B 基本代碼: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.9032.0 built by: NET481REL1 基本代碼:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

DevComponents.DotNetBar2 程序集版本:12.5.0.2 Win32 版本:12.5.0.2 基本代碼:file:///E:/%E5%86%92%E9%99%A9%E5%B2%9B/WcR2++20221102/Lib/DevComponents.DotNetBar2.DLL

WzComparerR2.PluginBase 程序集版本:2.2.0.0 Win32 版本:2.2.0.10725 基本代碼:file:///E:/%E5%86%92%E9%99%A9%E5%B2%9B/WcR2++20221102/Lib/WzComparerR2.PluginBase.DLL

WzComparerR2.WzLib 程序集版本:2.2.0.0 Win32 版本:2.2.0.10725 基本代碼:file:///E:/%E5%86%92%E9%99%A9%E5%B2%9B/WcR2++20221102/Lib/WzComparerR2.WzLib.DLL

WzComparerR2.Common 程序集版本:2.2.0.0 Win32 版本:2.2.0.10725 基本代碼:file:///E:/%E5%86%92%E9%99%A9%E5%B2%9B/WcR2++20221102/Lib/WzComparerR2.Common.DLL

System.Configuration 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代碼: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.8.9139.0 built by: NET481REL1LAST_B 基本代碼: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.8.9032.0 built by: NET481REL1 基本代碼:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

MonoGame.Framework 程序集版本:3.8.0.1641 Win32 版本:3.8.0.1641 基本代碼:file:///E:/%E5%86%92%E9%99%A9%E5%B2%9B/WcR2++20221102/Lib/MonoGame.Framework.DLL

Accessibility 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代碼:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Windows.Forms.resources 程序集版本:4.0.0.0 Win32 版本:4.8.9032.0 built by: NET481REL1 基本代碼: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

SharpDX.DXGI 程序集版本:4.0.1.0 Win32 版本:4.0.1 基本代碼:file:///E:/%E5%86%92%E9%99%A9%E5%B2%9B/WcR2++20221102/Lib/SharpDX.DXGI.DLL

SharpDX.Direct3D11 程序集版本:4.0.1.0 Win32 版本:4.0.1 基本代碼:file:///E:/%E5%86%92%E9%99%A9%E5%B2%9B/WcR2++20221102/Lib/SharpDX.Direct3D11.DLL

SharpDX 程序集版本:4.0.1.0 Win32 版本:4.0.1 基本代碼:file:///E:/%E5%86%92%E9%99%A9%E5%B2%9B/WcR2++20221102/Lib/SharpDX.DLL

spine-monogame 程序集版本:1.0.0.1 Win32 版本:1.0.0.1 基本代碼:file:///E:/%E5%86

kun002 avatar May 23 '23 03:05 kun002

我沒裝Win11,無法測試及debug

Elem8100 avatar May 23 '23 08:05 Elem8100

遇到了同样的问题,在图片浏览功能点击UI/UIWindow就会报上述错误(其他的UI图片浏览均可以正常打开浏览窗口),请问是哪里出问题了?

System.NullReferenceException: 未将对象引用设置到对象的实例。 在 WzComparerR2.MainForm.GetNode(String Path, Boolean Iss) 在 WzComparerR2.ImageViewerForm.DumpPngs(Wz_Node Entry) 在 WzComparerR2.ImageViewerForm.DumpPngs(Wz_Node Entry) 在 WzComparerR2.ImageViewerForm.DumpPngs(Wz_Node Entry) 在 WzComparerR2.ImageViewerForm.DumpPngs(Wz_Node Entry) 在 WzComparerR2.ImageViewerForm.listBox1_SelectedIndexChanged(Object sender, EventArgs e) 在 System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e) 在 System.Windows.Forms.ListBox.WmReflectCommand(Message& m) 在 System.Windows.Forms.ListBox.WndProc(Message& m) 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

BillDong2021 avatar Jul 09 '23 02:07 BillDong2021