.NET Framework 4.7 実行調査

Issue #651 closed
sk ☃#QQ repo owner created an issue

発端: https://groups.google.com/d/topic/mnmn-forum/6JtQc0Gnf_w/discussion

ログもらったぜ ひゃっほーい。

抜粋:

2017-06-25T11:40:43.499[F] CatchUnhandleException <D:\sk\Documents\programming\MnMn\Source\MnMn\App.xaml.cs(116)> , Thread: 1/Running, Assembly: MnMn, Version=0.68.0.28160, Culture=neutral, PublicKeyToken=null
 [MSG] The type initializer for 'MS.Win32.Penimc.UnsafeNativeMethods' threw an exception.   System.TypeInitializationException: The type initializer for 'MS.Win32.Penimc.UnsafeNativeMethods' threw an exception. ---> System.Runtime.InteropServices.COMException: クラスが登録されていません (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
                                                                                               at MS.Win32.Penimc.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
                                                                                               at MS.Win32.Penimc.UnsafeNativeMethods.CreatePimcManager()
                                                                                               at MS.Win32.Penimc.UnsafeNativeMethods..cctor()
                                                                                               --- End of inner exception stack trace ---
                                                                                               at MS.Win32.Penimc.UnsafeNativeMethods.CreateResetEvent(IntPtr& handle)
                                                                                               at System.Windows.Input.PenThreadWorker..ctor()
                                                                                               at System.Windows.Input.PenThreadPool.GetPenThreadForPenContextHelper(PenContext penContext)
                                                                                               at System.Windows.Input.PenThreadPool.GetPenThreadForPenContext(PenContext penContext)
                                                                                               at System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTabletsImpl()
                                                                                               at System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTablets()
                                                                                               at System.Windows.Input.StylusWisp.WispTabletDeviceCollection..ctor()
                                                                                               at System.Windows.Input.StylusWisp.WispLogic.get_WispTabletDevices()
                                                                                               at System.Windows.Input.StylusWisp.WispLogic.RegisterHwndForInput(InputManager inputManager, PresentationSource inputSource)
                                                                                               at System.Windows.Interop.HwndStylusInputProvider..ctor(HwndSource source)
                                                                                               at System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
                                                                                               at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
                                                                                               at System.Windows.Window.CreateSourceWindowDuringShow()
                                                                                               at System.Windows.Window.SafeCreateWindowDuringShow()
                                                                                               at System.Windows.Window.ShowHelper(Object booleanBox)
                                                                                               at System.Windows.Window.Show()
                                                                                               at ContentTypeTextNet.MnMn.MnMn.App.<OnStartup>d__39.MoveNext()
                                                                                            --- End of stack trace from previous location where exception was thrown ---
                                                                                               at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
                                                                                               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)
 [STK]
    +[ Native ][   IL   ] Method[line]
    -[00000052][00000011] App.Application_DispatcherUnhandledException(System.Object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)[0]
    -[00000049][0000002b] Dispatcher.CatchException(System.Exception e)[0]
    -[00000040][00000009] Dispatcher.CatchExceptionStatic(System.Object source, System.Exception e)[0]
    -[00000066][00000038] ExceptionWrapper.CatchException(System.Object source, System.Exception e, System.Delegate catchHandler)[0]
    -[00000079][00000018] ExceptionWrapper.TryCatchWhen(System.Object source, System.Delegate callback, System.Object args, Int32 numArgs, System.Delegate catchHandler)[0]
    -[000000d2][0000007a] DispatcherOperation.InvokeImpl()[0]
    -[0000003c][0000000d] DispatcherOperation.InvokeInSecurityContext(System.Object state)[0]
    -[0000003f][00000022] CulturePreservingExecutionContext.CallbackWrapper(System.Object obj)[0]
    -[000000ea][00000079] ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)[0]
    -[00000016][00000009] ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)[0]
    -[00000041][00000034] ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)[0]
    -[000000b6][00000034] CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)[0]
    -[0000004e][00000020] DispatcherOperation.Invoke()[0]
    -[00000165][000000f6] Dispatcher.ProcessQueue()[0]
    -[0000005a][00000090] Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)[0]
    -[0000009b][00000030] HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)[0]
    -[0000006b][00000036] HwndSubclass.DispatcherCallbackOperation(System.Object o)[0]
    -[00000052][00000077] ExceptionWrapper.InternalRealCall(System.Delegate callback, System.Object args, Int32 numArgs)[0]
    -[00000034][00000002] ExceptionWrapper.TryCatchWhen(System.Object source, System.Delegate callback, System.Object args, Int32 numArgs, System.Delegate catchHandler)[0]
    -[00000135][000000bb] Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, Int32 numArgs)[0]
    -[000000ee][00000130] HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)[0]
    -[00000000][ffffffff] UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG& msg)[0]
    -[000000ae][00000048] Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame)[0]
    -[0000004a][00000065] Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame frame)[0]
    -[0000005a][00000024] Application.RunDispatcher(System.Object ignore)[0]
    -[00000074][000000ee] Application.RunInternal(System.Windows.Window window)[0]
    -[0000002b][0000001f] Application.Run(System.Windows.Window window)[0]
    -[00000035][00000011] App.Main()[0]

どういうこっちゃ。


Software: MnMn
Version: 0.70.0.3781-ac2d7ba41895823277aa85c0fbda19ed27060624
BuildType: RELEASE
Platform: 64
OS: Microsoft Windows NT 10.0.14393.0
CLR: v4.0.30319
Lightweight: 0001-01-01 00:00:00Z

Comments (3)

  1. Log in to comment