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

RSRP-292991: The hierarchy is Null, and the item ID is not the only allowed in this case VSITEMID_ROOT.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 6, 2012 12:03:12 AM
Updated Apr 6, 2012 12:03:12 AM
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 EAP for Visual Studio 11 Beta Version=7.0.7.347, Built=2012-04-02T18:28:30, Configuration=“Csharp PublicMode Vbnet VS1100”
The hierarchy is Null, and the item ID is not the only allowed in this case VSITEMID_ROOT.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “The hierarchy is Null, and the item ID is not the only allowed in this case VSITEMID_ROOT.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.ItemID = 27087C50
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.ReSharper.VisualStudio.Core
StackTraceString = “
  at JetBrains.VsIntegration.Interop.Shim.Shell.IVsMonitorSelection.CreateHitemFromSelectionEntry(IVsHierarchy hiero, VSITEMID itemid, IVsSolution vsSolution) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Interop\Shim\Shell\IVsMonitorSelection.cs:line 145
     at JetBrains.VsIntegration.Interop.Shim.Shell.IVsMonitorSelection.VsSelectionToList(IVsHierarchy hierarchy, VSITEMID itemid, IVsMultiItemSelect multisel, IVsSolution vsSolution) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Interop\Shim\Shell\IVsMonitorSelection.cs:line 182
     at JetBrains.VsIntegration.Interop.Shim.Shell.IVsMonitorSelection.GetCurrentSelection(IVsSolution vsSolution) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Interop\Shim\Shell\IVsMonitorSelection.cs:line 92
     at JetBrains.VsIntegration.ActionManagement.VsDataRules.GetProjectModelElementsCore(ISolution solution, IVsMonitorSelection vsMonitorSelection, IVsSolution vsSolution, VSSolutionManager vsSolutionManager) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\DataRules.cs:line 160
     at JetBrains.VsIntegration.ActionManagement.VsDataRules.GetProjectModelElements(IDataContext context, IVsMonitorSelection vsMonitorSelection, IVsSolution vsSolution, VSSolutionManager vsSolutionManager) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\DataRules.cs:line 134


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “The hierarchy is Null, and the item ID is not the only allowed in this case VSITEMID_ROOT.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
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.VsIntegration.ActionManagement.VsDataRules.GetProjectModelElements(IDataContext context, IVsMonitorSelection vsMonitorSelection, IVsSolution vsSolution, VSSolutionManager vsSolutionManager) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\DataRules.cs:line 147
     at JetBrains.VsIntegration.ActionManagement.VsDataRules.<>c__DisplayClass1b.<.ctor>b__0(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\DataRules.cs:line 56
     at JetBrains.Application.DataContext.AmbientSelectionMainThreadDataRule`1.<>c__DisplayClass2.<.ctor>b__0(IDataContext dc) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\IDataProvider.cs:line 297
     at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\IDataProvider.cs:line 158
     at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 383
     at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 122
     at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant`1 dataConstant) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 254
     at JetBrains.ReSharper.Psi.Services.PsiDataRules.ProjectModelElementToPathDeclaredElement(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\PsiDataRules.cs:line 49
     at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\IDataProvider.cs:line 158
     at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 383
     at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 122
     at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant`1 dataConstant) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 254
     at JetBrains.ReSharper.Refactorings.MoveStaticMembers.MoveStaticMembersWorkflow.IsAvailable(IDataContext context, IList`1& typeMembers, ITypeElement& ownerType) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\MoveStaticMembers\MoveStaticMembersWorkflow.cs:line 148
     at JetBrains.ReSharper.Refactorings.MoveStaticMembers.MoveStaticMembersWorkflow.IsAvailable(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\MoveStaticMembers\MoveStaticMembersWorkflow.cs:line 207
     at JetBrains.ReSharper.Refactorings.Workflow.ExtensibleRefactoringAction`1.IsAvailable(IDataContext context, IRefactoringWorkflow refactoringWorkflow) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\Workflow\ExtensibleRefactoringAction.cs:line 31
     at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.<>c__DisplayClass4.<GetWorkflowListToExecute>b__3(Pair`2 x) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ActionsMenu\ExtensibleAction.cs:line 99
     at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
     at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
     at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
     at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.GetWorkflowListToExecute(IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ActionsMenu\ExtensibleAction.cs:line 95
     at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ActionsMenu\ExtensibleAction.cs:line 40
     at JetBrains.ActionManagement.UpdatableAction.Update(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\UpdatableAction.cs:line 88
     at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass9.<UpdateAction>b__8(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 196
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41
     at JetBrains.ActionManagement.ActionManager.UpdateAction(IUpdatableAction action, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 196
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.UpdateAction(IUpdatableAction action, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1363
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetQueryStatus_Product(String actionid, OLECMDTEXT* pOleText) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 987
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass28.<OleCommandTargetQueryStatus>b__27() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 417
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetQueryStatus(Guid guidCmdSet, OLECMD[] olecmds, OLECMDTEXT* pOleText, VsCommandHandlerStage stage) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 402
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<Init>b__5a(Guid& ref, UInt32 cmds, OLECMD[] cmd, OLECMDTEXT* text) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1422
     at JetBrains.VsIntegration.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& guidGroup, UInt32 nCmdId, OLECMD[] oleCmd, IntPtr oleText) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Package\VsPackageSdkStub.cs:line 254
     at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
     at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
     at Microsoft.VisualStudio.PlatformUI.VsMenuItem.OnSubmenuOpened(RoutedEventArgs e)
     at System.Windows.Controls.MenuItem.OnIsSubmenuOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
     at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
     at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
     at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
     at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
     at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
     at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)
     at System.Windows.Controls.MenuItem.OpenMenu()
     at System.Windows.Controls.MenuItem.ClickHeader()
     at System.Windows.Controls.MenuItem.HandleMouseDown(MouseButtonEventArgs e)
     at System.Windows.Controls.MenuItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)
     at System.Windows.UIElement.OnMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e)
     at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
     at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
     at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
     at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
     at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
     at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
     at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
     at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
     at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
     at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
     at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
     at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
     at System.Windows.Input.InputManager.ProcessStagingArea()
     at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
     at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
     at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
     at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at System.Windows.Interop.HwndSource.InputFilterMessage(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>