R# 2020.1 EAP1 issue

Answered

This morning i installed EAP1. When i close Visual Studio, R# reports the following exception in a runtime error dialog box:

---------------------------
ReSharper – Runtime Error – Technical Data
---------------------------
JetBrains ReSharper has encountered a runtime error.
Technical data follows.
Hint: Ctrl+C copies the text of system message boxes to Clipboard.
________________________________________________________________

Ungültiges Fensterhandle

 

--- EXCEPTION #1/2 [Win32Exception]

Message = “Ungültiges Fensterhandle”

ExceptionPath = Root.InnerException

NativeErrorCode = 1400

ClassName = System.ComponentModel.Win32Exception

HResult = E_FAIL=EFail=80004005

Source = WindowsBase

StackTraceString = “

at MS.Win32.HwndWrapper.DestroyWindow(Object args)

at MS.Win32.HwndWrapper.Dispose(Boolean disposing, Boolean isHwndBeingDestroyed)

at MS.Win32.HwndWrapper.Dispose()

at System.Windows.Interop.HwndSource.Dispose(Boolean disposing)

at System.Windows.Interop.HwndSource.WeakEventDispatcherShutdown.OnShutdownFinished(Object sender, EventArgs e)

at System.EventHandler.Invoke(Object sender, EventArgs e)

at System.Windows.Threading.Dispatcher.ShutdownImplInSecurityContext(Object state)

at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)

at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)

at System.Windows.Threading.Dispatcher.ShutdownImpl()

at System.Windows.Threading.Dispatcher.StartShutdownImpl()

at System.Windows.Threading.Dispatcher.ShutdownCallbackInternal()

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)

 

--- Outer ---

 

--- EXCEPTION #2/2 [LoggerException]

Message = “Ungültiges Fensterhandle”

ExceptionPath = Root

ClassName = JetBrains.Util.LoggerException

Data.ManagedThreadName = <NULL>

InnerException = “Exception #1 at Root.InnerException”

HResult = COR_E_APPLICATION=80131600

StackTraceString = “

at JetBrains.Application.Environment.HostParameters.InitStdWindowsAppFxHostMixin.<>c__DisplayClass0_0.<JetBrains.Application.Environment.HostParameters.IInitAppHostMixin.InitHost>b__0(Object sender, DispatcherUnhandledExceptionEventArgs args)

at System.Windows.Threading.DispatcherUnhandledExceptionEventHandler.Invoke(Object sender, DispatcherUnhandledExceptionEventArgs e)

at System.Windows.Threading.Dispatcher.CatchException(Exception e)

at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)

at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

at System.Windows.Threading.Dispatcher.CriticalInvokeShutdown()

at Microsoft.VisualStudio.PlatformUI.WpfHostPrivate.InvokeShutdown()


---------------------------
OK
---------------------------

Best Regards

Andreas

 

0
4 comments

Hello Andreas,

 

thank you for the feedback.

Could you please run Visual Studio with the following command line: 'devenv /ReSharper.LogFile c:\log\resharper.log /ReSharper.LogLevel Verbose', reproduce the issue and send us a corresponding 'resharper.log' file.

Thank you.

0

Hello Angelina,

i have uploaded the log file via following request:

https://resharper-support.jetbrains.com/hc/en-us/requests/2524011

I have found that the issue only occurs in the current preview of Visual Studio Enterprise (16.5 Preview 4), which i use at work. I have worked on the same solution on my private PC at home, where i use the preview of Visual Studio Community without having the issue. Also the current release of Visual Studio (16.4.5) doesn't show this error.

Regards

Andreas

0

I have an update to the issue. If i close all open editors before leaving Visual Studio, the exception is not thrown.

Regards

Andreas

0

Hello,

This issue happens to be VS unhandled exception, ReSharper just catches it and shows the error message.
There's nothing that can be done on our side.

Thank you.

0

Please sign in to leave a comment.