Skip to content

【BUG Report】程序崩溃 #104

@Gongzq5

Description

@Gongzq5

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)
------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions