Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-290065: Cannot get PsiManager. Likely invalid element.

$
0
0
Reporter Ivan Eryshov (ivan.eryshov) Ivan Eryshov (ivan.eryshov)
Created Mar 14, 2012 11:41:08 PM
Updated Mar 14, 2012 11:41:08 PM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 7 Preview for Visual Studio 11 Beta EAP Version=7.0.0.325, Built=2012-03-03T03:39:56, Configuration=“Csharp PublicMode Vbnet VS1100”
Cannot get PsiManager. Likely invalid element.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “Cannot get PsiManager. Likely invalid element.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Psi
StackTraceString = “
  at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.GetPsiServices() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Tree\TreeElement.cs:line 86
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.GetPsiServices() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Tree\TreeElement.cs:line 83
     at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpReferenceBindingUtil.CheckResolvedTo(IReference reference, IDeclaredElement target) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\CSharpReferenceBindingUtil.cs:line 43
     at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpReferenceBindingUtil.<>c__DisplayClass61.<BindReferenceTo>b__60(IQualifiableReference r) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\CSharpReferenceBindingUtil.cs:line 1751
     at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpReferenceBindingUtil.BindToTypeElement(IQualifiableReference reference, ITypeElement target, Func`2 predicate) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\CSharpReferenceBindingUtil.cs:line 700
     at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpReferenceBindingUtil.<>c__DisplayClass6a.<BindReferenceTo>b__69(IQualifiableReference r) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\CSharpReferenceBindingUtil.cs:line 1799
     at JetBrains.ReSharper.Psi.ExtensionsAPI.SharedImplUtil.BindingTransaction[T](T& reference, Func`2 processor, Func`2 resolveChecker) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\SharedImplUtil.cs:line 173
     at JetBrains.ReSharper.Psi.ExtensionsAPI.SharedImplUtil.BindingTransaction[T](T reference, Func`2 processor, Func`2 resolveChecker) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\SharedImplUtil.cs:line 215
     at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpReferenceBindingUtil.BindReferenceTo(IQualifiableReference reference, IClrDeclaredElement element, Func`2 predicate) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\CSharpReferenceBindingUtil.cs:line 1785
     at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpReferenceBindingUtil.BindReferenceTo(IQualifiableReference reference, IClrDeclaredElement element) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\CSharpReferenceBindingUtil.cs:line 1751
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpressionReferenceBase`1.BindTo(IDeclaredElement element) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Impl\Tree\ReferenceExpressionReferenceBase.cs:line 33
     at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.QuickFixUtil.BindTo(IReference reference, ITypeElement typeElement, ITypeArgumentList& typeArgs) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\CSharp\src\QuickFixes\QuickFixUtil.cs:line 115
     at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.ImportTypeItem.ExecutePsiTransaction(ISolution solution, IProgressIndicator progress) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\CSharp\src\QuickFixes\ImportType\ImportTypeItem.cs:line 55
     at JetBrains.ReSharper.Feature.Services.Bulbs.BulbItemImpl.<>c__DisplayClass6.<>c__DisplayClass9.<>c__DisplayClassb.<Execute>b__2() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Bulbs\BulbItemImpl.cs:line 52
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 241


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “Cannot get PsiManager. Likely invalid element.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 255
     at JetBrains.ReSharper.Feature.Services.Bulbs.BulbItemImpl.<>c__DisplayClass6.<>c__DisplayClass9.<Execute>b__1(IProgressIndicator progress) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Bulbs\BulbItemImpl.cs:line 50
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 315
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass11.<RunStartTask>b__10() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 295
     at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 829
     at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 694
     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     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 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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     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 System.Windows.Threading.DispatcherOperation.Invoke()
     at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
     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.Application.Progress.UITaskExecutorRun.<>c__DisplayClass3.<RunCore>b__0(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 125
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, Boolean enforceModalityState) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 84
     at JetBrains.UI.Application.Progress.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRuns.cs:line 188
     at JetBrains.ReSharper.Feature.Services.Bulbs.BulbItemImpl.<>c__DisplayClass6.<Execute>b__0() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Bulbs\BulbItemImpl.cs:line 43
     at JetBrains.DocumentModel.DocumentSettings.ExecuteWithOpenDocumentAfterModification(Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\DocumentSettings.cs:line 48
     at JetBrains.ReSharper.Feature.Services.Bulbs.BulbItemImpl.Execute(ISolution solution, ITextControl textControl) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Bulbs\BulbItemImpl.cs:line 39
     at JetBrains.ReSharper.Intentions.Bulbs.PopupIndicator.<Run>b__9(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\PopupIndicator.cs:line 245
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.ReSharper.Intentions.Bulbs.PopupIndicator.Run() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\PopupIndicator.cs:line 233
     at JetBrains.ReSharper.Intentions.Bulbs.BulbManagerImpl.ShownBulbsMenu() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbManagerImpl.cs:line 341
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.<ExecutePendingActions>b__8(QueuedAction action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 505
     at JetBrains.Threading.ReentrancyGuard.InterlockedQueue.TryDequeue(Action`1 funcVisitor) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 977
     at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 508
     at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 829
     at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 694
     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     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 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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     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 System.Windows.Threading.DispatcherOperation.Invoke()
     at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
     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)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>