Skip to content

起動直後、未ハンドルのNullReferenceExceptionで強制終了する #243

@WhimsicalCat

Description

@WhimsicalCat

ハンドルされてないNullReferenceExceptionのため、KVCを起動後、ウィンドウ表示前に強制終了してしまいます。cefsharpへの移行まではKVCを使えていたこと、強制終了してしまうPCのプロセッサがatomであること、Core-i系プロセッサを使用している別PCでは問題なく起動できることから、cefsharpがatomに対応していないのではないかと考えています。
使用するライブラリ起因のバグであれば、修正しようがないと思うのですが、一応こんな事例がありましたという報告です。
以下、イベントビューアに記録されたエラーログです。.NETアプリケーションのデバックには不慣れなので、もしデバックが可能な問題だと考えられ、そのために追加の情報が必要であれば教えてください。

アプリケーション:KanColleViewer.exe
フレームワークのバージョン:v4.0.30319
説明: ハンドルされない例外のため、プロセスが中止されました。
例外情報:System.NullReferenceException
場所 Grabacr07.KanColleViewer.Application.ReportException(System.String, System.Object, System.Exception)
場所 Grabacr07.KanColleViewer.Application+<>c.b__9_0(System.Object, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs)
場所 System.Windows.Threading.Dispatcher.CatchException(System.Exception)
場所 System.Windows.Threading.Dispatcher.CatchExceptionStatic(System.Object, System.Exception)
場所 System.Windows.Threading.ExceptionWrapper.CatchException(System.Object, System.Exception, System.Delegate)
場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
場所 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
場所 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
場所 MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
場所 System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
場所 System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
場所 System.Windows.Application.RunDispatcher(System.Object)
場所 System.Windows.Application.RunInternal(System.Windows.Window)
場所 System.Windows.Application.Run(System.Windows.Window)
場所 Grabacr07.KanColleViewer.Application.Main()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions