We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Battery Percentage Icon version 2.1.7 has run into an error. You can help to fix this by:
Press Ctrl+C on this message
Report the copied error at https://github.com/soleon/Percentage/issues
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Wpf.Ui.Controls.NavigationView.UpdateContent(Object content, Object dataContext)
at Wpf.Ui.Controls.NavigationView.NavigateInternal(INavigationViewItem viewItem, Object dataContext, Boolean addToNavigationStack, Boolean isBackwardsNavigated)
at Wpf.Ui.Controls.NavigationView.Navigate(Type pageType, Object dataContext)
at Percentage.App.MainWindow.NavigateToPageT
at Percentage.App.NotifyIconWindow.OnNotifyIconLeftClick(NotifyIcon sender, RoutedEventArgs e)
at InvokeStub_RoutedNotifyIconEvent.Invoke(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
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 Wpf.Ui.Tray.Controls.NotifyIcon.OnLeftClick()
at Wpf.Ui.Tray.Internal.InternalNotifyIconManager.OnLeftClick()
at Wpf.Ui.Tray.Internal.InternalNotifyIconManager.WndProc(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.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
The text was updated successfully, but these errors were encountered:
Probably related to #57 What did you do before this error happened?
Sorry, something went wrong.
Nothing, I just use the app as usual until it started not showing the battery status accurately
No branches or pull requests
You Found An Error
Battery Percentage Icon version 2.1.7 has run into an error. You can help to fix this by:
Press Ctrl+C on this message
Report the copied error at https://github.com/soleon/Percentage/issues
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Wpf.Ui.Controls.NavigationView.UpdateContent(Object content, Object dataContext)
at Wpf.Ui.Controls.NavigationView.NavigateInternal(INavigationViewItem viewItem, Object dataContext, Boolean addToNavigationStack, Boolean isBackwardsNavigated)
at Wpf.Ui.Controls.NavigationView.Navigate(Type pageType, Object dataContext)
at Percentage.App.MainWindow.NavigateToPageT
at Percentage.App.NotifyIconWindow.OnNotifyIconLeftClick(NotifyIcon sender, RoutedEventArgs e)
at InvokeStub_RoutedNotifyIconEvent.Invoke(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
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 Wpf.Ui.Tray.Controls.NotifyIcon.OnLeftClick()
at Wpf.Ui.Tray.Internal.InternalNotifyIconManager.OnLeftClick()
at Wpf.Ui.Tray.Internal.InternalNotifyIconManager.WndProc(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.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)
OK
The text was updated successfully, but these errors were encountered: