NullRefEx on launch
See original GitHub issueSystem.NullReferenceException: Object reference not set to an instance of an object.
at ChocolateyGui.SenricesCliocolateyRemotePackageService.<GetSources>d_24.MoveNext() in
C:\projects\chocolateygui\Source\ChocolateyGui\Senrices\ChocolateyRemotePackageService.<xline 246
——— End of stack trace from previous location where exception was thrown ———
at System.Ru ntime.Com pilerServicesTaskAwaiter.ThrowForNonSuccess(T ask task)
at System.Ru ntime.Com pilerServicesTaskAwaiter.HandleNonSuccessAnd DebuggerNotification(T ask task)
at ChocolateyGui.ViewModels.ShellViewModel.<GetSources>d_2?.MoveNext() in C.‘\projects\chocolateygui\Source\ChocolateyGui\ViewModels\ShellViewModelfiline 134
——— End of stack trace from previous location where exception was thrown ———
at System.Runtime.CompilerSeNicesAsyncMethodBuilderCore.< >c<ThrowAsync>b_6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.lnternalRealCall(Delegate callback, Object args, lnt32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, lnt32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperatiorLlnvokelmplt)
at System.Windows.Threading.DispatcherOperatiorLlnvokelnSecurityConten(Object state)
at System.Threading.ExecutionContext.Runlnternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MSInternaLCulturePresenringExecutionContexLRun(CulturePreservingExecutionConten executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperatiorLlnvoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(lntPtr hwnd, lnt32 msg, lntPtr wParam, lntPtr lParam, BooleanBL handled)
at MSWin32.HwndWrapper.WndProc(lntPtr hwnd, lnt32 msg, lntPtr wParam, lntPtr lParam, BooleanBL handled)
at MSWin32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.lnternalRealCall(Delegate callback, Object args, lnt32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, lnt32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.Legacylnvokelmpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, lnt32 numArgs)
at MSWin32.HwndSubclass.SubclassWndProc(lntPtr hwnd, lnt32 msg, lntPtr wParam, lntPtr lParam)
at MSWin32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFramelmpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.ApplicatiorLRunDispatcher(Object ignore)
at System.Windows.ApplicatiorLRunlnternal(Window window)
at System.Windows.ApplicatiorLRun(Window window)
at ChocolateyGuiApp.Main(String[] args) in C.‘\projects\chocolateygui\Source\ChocolateyGui\App.xaml.<xline 39
(Note that I OCR’d the above stacktrace, so some characters are off.)
I get this immediately after launch. I’ve already tried deleting %localappdata%\ChocolateyGUI
to no avail. No logs are created during this launch in either \programdata\chocolatey\logs
or %appdata%\ChocolateyGUI\Logs
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Occasional NullRefEx in Infragistics.Win.ToolTip.set_Font
I haven't tried installing the latest service release nor upgrading to 21.2, because I've thus far been unable to reproduce this on my...
Read more >NullReferenceException in Global.asax when referencing ...
When I am debugging an application in ASP.NET, after about ~5 minutes I get a NullRefEx coming from global.asax.cs regarding: protected void ...
Read more >Chocolatey GUI v0.15.0 released
... #469 Issue Launching with Chocolatey Licensed ... #440 NullRefEx on launch; #436 Remove the Hacks where you access Chocolatey's ...
Read more >Working On More Features - WeirdBeard's Blog
I posted my release announcements in r/incremental_games and have gotten ... Panel is on when starting the game in Editor it gives NullRefEx....
Read more >Desynchronized: Tales and News (v2.0.0) :: Discussions
NullRefEx is sneaky in that they can happen just because some program code ... I'm gonna wait until early to mid May before...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@chucker @mwallner I am fairly sure that this has now been addressed as a result of the refactoring away from using the Chocolatey Sub Process. I am away to close this issue, but please feel free to re-open if you still see issues.
can confirm this still happens with current develop. (eb464a1381ce19a5d9d2b3904876fb06045f14ec)