Reporter | Lilia Shamsutdinova (Lilia.Shamsutdinova) |
---|---|
Created | Apr 7, 2018 11:36:06 AM |
Updated | Apr 11, 2018 1:12:33 PM |
Subsystem | Context Actions |
Assignee | Alexander Shvedov (shvedov) |
Priority | Critical |
State | Submitted |
Type | Exception |
Fix version | 2018.2 |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
ReSharperPlatformVs15 Wave 12 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.230153-eap07
JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.231647-eap07
JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180407.30146-eap07
JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180407.30145-eap07
JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.231944-eap07
JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180407.30134-eap07
JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180407.30134-eap07
Unable to cast object of type 'JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression' to type 'JetBrains.ReSharper.Psi.CSharp.Tree.IBinaryExpression'.
— EXCEPTION #1/2 [InvalidCastException]
Message = “Unable to cast object of type 'JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression' to type 'JetBrains.ReSharper.Psi.CSharp.Tree.IBinaryExpression'.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidCastException
HResult = E_NOINTERFACE=COR_E_INVALIDCAST=80004002
Source = JetBrains.ReSharper.Intentions.CSharp
StackTraceString = “
”
— Outer —
— EXCEPTION #2/2 [LoggerException]
Message = “Unable to cast object of type 'JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression' to type 'JetBrains.ReSharper.Psi.CSharp.Tree.IBinaryExpression'.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.230153-eap07”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.231647-eap07”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180407.30145-eap07”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180407.30134-eap07”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180407.30134-eap07”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.231944-eap07”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180407.30146-eap07”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/wave12::13a1b70141c93f808c9f4a57d6223792a453edb7
Platform\VisualStudio:
git::refs/heads/wave12::a68e8388c83e27de9dda04ab016590d8f3c47b27
”
Data.VsVersion = 15.6.27428.2027
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.231647-eap07
JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180407.30146-eap07
JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180407.30145-eap07
JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.231944-eap07
JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180407.30134-eap07
JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180407.30134-eap07
Unable to cast object of type 'JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression' to type 'JetBrains.ReSharper.Psi.CSharp.Tree.IBinaryExpression'.
— EXCEPTION #1/2 [InvalidCastException]
Message = “Unable to cast object of type 'JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression' to type 'JetBrains.ReSharper.Psi.CSharp.Tree.IBinaryExpression'.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidCastException
HResult = E_NOINTERFACE=COR_E_INVALIDCAST=80004002
Source = JetBrains.ReSharper.Intentions.CSharp
StackTraceString = “
at JetBrains.ReSharper.Intentions.CSharp.ContextActions.SplitStringAction.ExecutePsiTransaction(ISolution solution, IProgressIndicator progress)…
at JetBrains.ReSharper.Intentions.CSharp.ContextActions.SplitStringAction.ExecutePsiTransaction(ISolution solution, IProgressIndicator progress)
at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_4.<Execute>b__1()
at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler)
— Outer —
— EXCEPTION #2/2 [LoggerException]
Message = “Unable to cast object of type 'JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression' to type 'JetBrains.ReSharper.Psi.CSharp.Tree.IBinaryExpression'.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.230153-eap07”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.231647-eap07”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180407.30145-eap07”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180407.30134-eap07”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180407.30134-eap07”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.231944-eap07”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180407.30146-eap07”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/wave12::13a1b70141c93f808c9f4a57d6223792a453edb7
Platform\VisualStudio:
git::refs/heads/wave12::a68e8388c83e27de9dda04ab016590d8f3c47b27
”
Data.VsVersion = 15.6.27428.2027
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler)…
at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler)
at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_3.<Execute>b__0(IProgressIndicator progress)
at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.<>c__DisplayClass11_0.<RunStartTask>b__0()
at JetBrains.Threading.JetDispatcher.Closure.Execute()
at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(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.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(Form form)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
at JetBrains.UI.SrcView.Progress.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.Execute(ISolution solution, ITextControl textControl)
at JetBrains.ReSharper.Feature.Services.Intentions.IntentionAction.MyExecutableProxi.Execute()
at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()
at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.<>c__DisplayClass29_0.<InitMenuGeneral>b__0(Object objKey)
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.<>c__DisplayClass49_0.<InitViewModel>b__3(JetPopupMenuItem item)
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
at JetBrains.DataFlow.Signal`1.Fire(TValue value)
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
at JetBrains.DataFlow.Signal`1.Fire(TValue value)
at JetBrains.Application.UI.Controls.JetPopupMenu.Detail.JetPopupMenuDoc.ExecuteSelectedItem()
at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args)
at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at JetBrains.UI.Utils.DpiUtil.TopLevelWindowDpiTracker.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
at JetBrains.UI.SrcView.Controls.JetPopupMenu.JetPopupMenuOverlordView.Show(Boolean isModal)
at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowCore(JetPopupMenu menu, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional, IJetPopupMenuOverlordView parentView)
at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.ShowBulbMenuAdvanced(IEnumerable`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition viewLifetimeDefinition, IAutomation captionAutomation, Action`1 beforeShow)
at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState)
at JetBrains.ReSharper.Intentions.Bulbs.IndicatorControllerBase.HandleAction(IDataContext context)
at JetBrains.ReSharper.Intentions.Bulbs.AltEnterHandlers.HandleAction(IDataContext context)
at JetBrains.ReSharper.Intentions.Bulbs.AltEnterActionHandler.Execute(IDataContext context, DelegateExecute nextExecute)
at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext)
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<ExecuteWithoutRequirements>b__23_0(Lifetime lt)
at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__1()
at JetBrains.Util.Logging.Logger.Catch(Action action)
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__0()
at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass15_0.<CommandTargetExec>b__0()
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.CommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt)
at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__11_1(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out)
at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut)