FluentTerminal icon indicating copy to clipboard operation
FluentTerminal copied to clipboard

Crash while launching ssh shell from jump list

Open prasun3 opened this issue 3 years ago • 1 comments

Version: 0.7.7.0

Steps to reproduce

  • launch cmd shell
  • right click on taskbar to bring up jump list
  • click on shortcut to launch ssh shell
  • all windows close

Usually there is no message seen in the logs but I did get lucky once and saw this in the logs

[ERR] Unobserved Task Exception
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at FluentTerminal.App.ViewModels.MainViewModel.CreateMenuViewModel() + 0xb1
   at System.Action.Invoke() + 0x25
   at FluentTerminal.App.Utilities.DispatcherExtensions.<>c__DisplayClass0_0.<ExecuteAsync>b__0() + 0x10
   at Windows.Foundation.DeferralCompletedHandler.Invoke() + 0x25
   at FluentTerminal.App!<BaseAddress>+0x14b27bc

   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at FluentTerminal.App.ViewModels.MainViewModel.CreateMenuViewModel() + 0xb1
   at System.Action.Invoke() + 0x25
   at FluentTerminal.App.Utilities.DispatcherExtensions.<>c__DisplayClass0_0.<ExecuteAsync>b__0() + 0x10
   at Windows.Foundation.DeferralCompletedHandler.Invoke() + 0x25
   at FluentTerminal.App!<BaseAddress>+0x14b27bc
<---

prasun3 avatar Apr 25 '22 15:04 prasun3

I can reproduce the issue on Windows 10. Mosh sessions are also affected. Opening the initial session works. Opening a new tab with a shortcut works too. It's a major bug in my opinion. I cannot use FluentTerminal for serious work if it's so easy to crash.

proski avatar Jan 15 '23 06:01 proski