ProjectEye icon indicating copy to clipboard operation
ProjectEye copied to clipboard

【BUG Report】程序崩溃

Open Gongzq5 opened this issue 2 months ago • 0 comments

ProjectEye 版本: 1.4.3 运行环境:win11

报错日志:

[2025-11-03 11:11:23] [ERROR]
System.NullReferenceException: 未将对象引用设置到对象的实例。
   在 ProjectEye.Core.Service.StatisticService.Add(StatisticType type, Double value)
   在 ProjectEye.Core.Service.StatisticService.StatisticUseEyeData()
   在 ProjectEye.Core.Service.MainService.Exit()
   在 System.Windows.ExitEventHandler.Invoke(Object sender, ExitEventArgs e)
   在 System.Windows.Application.OnExit(ExitEventArgs e)
   在 System.Windows.Application.DoShutdown()
   在 System.Windows.Application.ShutdownImpl()
   在 System.Windows.Application.ShutdownCallback(Object arg)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
------------------------

[2025-11-03 11:32:04] [ERROR]
System.NullReferenceException: 未将对象引用设置到对象的实例。
   在 ProjectEye.Core.Service.StatisticService.Add(StatisticType type, Double value)
   在 ProjectEye.Core.Service.StatisticService.StatisticUseEyeData()
   在 ProjectEye.Core.Service.MainService.StatisticData()
   在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
------------------------

[2025-11-03 11:32:04] [ERROR]
System.NullReferenceException: 未将对象引用设置到对象的实例。
   在 ProjectEye.Core.Service.StatisticService.Add(StatisticType type, Double value)
   在 ProjectEye.Core.Service.StatisticService.StatisticUseEyeData()
   在 ProjectEye.Core.Service.MainService.Exit()
   在 System.Windows.ExitEventHandler.Invoke(Object sender, ExitEventArgs e)
   在 System.Windows.Application.OnExit(ExitEventArgs e)
   在 System.Windows.Application.DoShutdown()
   在 System.Windows.Application.ShutdownImpl()
   在 System.Windows.Application.ShutdownCallback(Object arg)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
------------------------

Gongzq5 avatar Nov 03 '25 03:11 Gongzq5