felixse / FluentTerminal

A Terminal Emulator based on UWP and web technologies.
GNU General Public License v3.0
9.24k stars 445 forks source link

Crash while launching ssh shell from jump list #1004

Open prasun3 opened 2 years ago

prasun3 commented 2 years ago

Version: 0.7.7.0

Steps to reproduce

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
<---
proski commented 1 year ago

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.