question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception: System.ArgumentException: Unexpected null value

See original GitHub issue

2021-08-28.txt

Flow Launcher version: 1.8.2 OS Version: Microsoft Windows NT 10.0.19042.0 IntPtr Length: 8 x64: True

Python Path: Date: 08/28/2021 09:37:05 Exception: System.ArgumentException: Unexpected null value at Flow.Launcher.Plugin.Explorer.Views.ActionKeywordView.set_Enabled(Nullable`1 value) in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.Explorer\Views\ExplorerSettings.xaml.cs:line 341 at Flow.Launcher.Plugin.Explorer.Views.ActionKeywordSetting.OnDoneButtonClick(Object sender, RoutedEventArgs e) in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.Explorer\Views\ActionKeywordSetting.xaml.cs:line 82 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(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)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jjw24commented, Aug 31, 2021

I see the problem, but not sure what cause that. It is because the enable checkbox is unable to display, so causing a null exception.

@jjw24 would you like to take a look on this? I am currently quite busy.

sorry for the late reply. I will look into this if you havent started yet @taooceros

0reactions
taooceroscommented, Aug 31, 2021

Ok it’s a serious bug because the File Content Search doesn’t contain option to enable or disable, so the NPE is reproducible regardless which actionkeyword is going to be changed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What exception should I throw for an unexpected null value?
I typically use ArgumentNullException for objects passed into a function. Anything else null related I use InvalidOperationException. In ...
Read more >
ArgumentException Class (System)
ArgumentNullException whenever null is passed to a method that does not accept it as a valid argument. ArgumentOutOfRangeException when the value of an...
Read more >
What exception should I throw for an unexpected null value
I've been a .NET developer for over a decade so here's a shameful question I've never known the answer to. I get it–if...
Read more >
Unexpected null value
Hello, Has anyone had this problem where there is red window where is "unexpected null value" ?
Read more >
"Unexpected Null" dialog (and consequences) in Visual ...
I have gotten this error in VS 2015 Enterprise and now in VS 2017 Enterprise. It appears to be after other changes have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found