todotxt.net icon indicating copy to clipboard operation
todotxt.net copied to clipboard

TDT 3.3.1 (beta) crashes on opening second instance

Open shulist opened this issue 6 years ago • 1 comments

Expected Behaviour: A second instance of TDT should open when the icon is selected. Actual Behaviour: The app freezes and then crashes with the error message

An unexpected error ocurred Object reference not set to an instance of an object. Please see Help -> Show Error Log for more details

Error Log:

[2019-02-11 16:47:34] An unexpected error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at Client.MainWindow.OnClosed(EventArgs e)
   at System.Windows.Window.WmDestroy()
   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

shulist avatar Feb 11 '19 21:02 shulist

This appears to have been previously fixed as I use multiple instances regularly and have never run into this issue.

caseydiers avatar Oct 31 '22 16:10 caseydiers