Καλημέρα,
Αντιμετωπίζω ένα πρόβλημα με το Μελωδό στην διαδικασία αποθήκευσης εγγράφων. Αρκετές φορές, όταν παω να αποθηκεύσω ένα έγγραφο, ανοίγει ένα παράθυρο με το εξής μήνυμα·
"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Object reference not set to an instance of an object."
Το αποτέλεσμα είναι ότι σε καμμία περίπτωση δεν μπορώ να αποθηκεύσω το έγγραφο, και αναγκάζομαι να το κλείσω και να ξεκινήσω ξανά από την αρχή (!).
Υπάρχει λύση για αυτό το πρόβλημα; Το έχει αντιμετωπίσει κανείς;
-Γαβριήλ
Υ.Γ. Όταν ανοίγει το παράθυρο με το μήνυμα που περιέγραψα, υπάρχει και ένα κουμπί που λέγεται "Details" (Λεπτομέρειες). Δεν ξέρω εάν είναι χρήσιμες, αλλά οι λεπτομέριες είναι ως εξής (συγχωρέστε με το μεγάλο κείμενο)·
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at bizantini_cs.frmContext.ᜀ(UInt32& A_0, Int32& A_1, Boolean& A_2, String A_3, String A_4, Single A_5, FontStyle A_6, Color A_7, Byte A_8) at bizantini_cs.frmContext.ᜤ() at bizantini_cs.frmContext.ᜀ(String A_0, Boolean A_1, Boolean A_2) at bizantini_cs.frmParent.ᜃ(Boolean A_0) at bizantini_cs.frmParent.ᢔ(Object A_0, EventArgs A_1) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.6.1648.0 built by: NETFXREL3STAGE CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- bizantini_cs Assembly Version: 2013.9.0.0 Win32 Version: 2013.9.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/%CE%9C%CE%B5%CE%BB%CF%89%CE%B4%CF%8C%CF%82%202013/melodos.exe ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.6.1586.0 built by: NETFXREL2 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.6.1647.0 built by: NETFXREL3STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.6.1586.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- hasp_net_windows Assembly Version: 6.4.1.30283 Win32 Version: 6.4.1.30283 CodeBase: file:///C:/Program%20Files%20(x86)/%CE%9C%CE%B5%CE%BB%CF%89%CE%B4%CF%8C%CF%82%202013/hasp_net_windows.DLL ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.6.1586.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.6.1586.0 built by: NETFXREL2 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.6.1586.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.6.1647.0 built by: NETFXREL3STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- AxInterop.WMPLib Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/%CE%9C%CE%B5%CE%BB%CF%89%CE%B4%CF%8C%CF%82%202013/AxInterop.WMPLib.DLL ---------------------------------------- Interop.WMPLib Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/%CE%9C%CE%B5%CE%BB%CF%89%CE%B4%CF%8C%CF%82%202013/Interop.WMPLib.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.
|