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

RSRP-294702: Failed to evaluate the data rule. Could not map to the Project Model. The hierarchy of the item does not correspond to the Solution or any known proje

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 16, 2012 3:24:39 AM
Updated Apr 16, 2012 3:24:39 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.12.115, Built=2012-04-06T19:36:02, Configuration=“Csharp PublicMode Vbnet VS1100”
Failed to evaluate the data rule. Could not map to the Project Model. The hierarchy of the item does not correspond to the Solution or any known project.

--- EXCEPTION #1/3 [InvalidOperationException]
Message = “Could not map to the Project Model. The hierarchy of the item does not correspond to the Solution or any known project.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
Data.Hitem = “VsHierarchyItem(01CFED97, FFFFFFFE)”
Data.LookInReferences = False
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
  at JetBrains.Util.OnError.<.cctor>b__6(Exception ex) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\OnError.cs:line 56
     at JetBrains.Util.OnError.Handle(Exception ex) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\OnError.cs:line 86
     at JetBrains.VsIntegration.ProjectModel.ProjectModelSynchronizer.GetProjectItemByHierarchyItemCore(VsHierarchyItem hitem, Boolean lookInReferences, OnError onerror) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ProjectModel\ProjectModelSynchronizer.cs:line 322
     at JetBrains.VsIntegration.ProjectModel.ProjectModelSynchronizer.GetProjectItemByHierarchyItem(VsHierarchyItem hitem, Boolean lookInReferences) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ProjectModel\ProjectModelSynchronizer.cs:line 295
     at JetBrains.VsIntegration.ActionManagement.VsDataRules.GetReferencesFolder(IVsMonitorSelection vsMonitorSelection, IVsSolution vsSolution, VSSolutionManager vsSolutionManager) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\DataRules.cs:line 100
     at JetBrains.VsIntegration.ActionManagement.VsDataRules.<>c__DisplayClass1b.<.ctor>b__1(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\DataRules.cs:line 58
     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


--- Outer —

--- EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = ReferencesFolder
Data.DataConstantType = “JetBrains.ProjectModel.model2.References.ReferencesFolder, JetBrains.Platform.ReSharper.ProjectModel, Version=7.0.12.115, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
Data.DataRuleObject = JetBrains.Application.DataContext.AmbientSelectionMainThreadDataRule`1[JetBrains.ProjectModel.model2.References.ReferencesFolder]
Data.DataRulePriority = 1000
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509

--- Outer —

--- EXCEPTION #3/3 [LoggerException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50323.1
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 401
     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.Features.Browsing.AnalyzeReferences.RemoveUnused.RemoveUnusedReferencesWorkflow.IsAvailable(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Features\Browsing\src\AnalyzeReferences\RemoveUnused\RemoveUnusedReferencesWorkflow.cs:line 56
     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 200
     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 200
     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.VsContextMenu.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.SetValue(DependencyProperty dp, Object value)
     at System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
     at Microsoft.VisualStudio.PlatformUI.MainWindow.CreateNewContextMenuForCache(UInt64 id)
     at Microsoft.VisualStudio.PlatformUI.SimpleCache`2.GetItem(TKey key)
     at Microsoft.VisualStudio.PlatformUI.MainWindow.CreateContextMenu()
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent()
     at Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.ExecCommand(UInt32 itemid, Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.ProjectFlavoring.ProjectFlavorBase.ExecCommand(UInt32 itemid, Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Shell.Flavor.FlavoredProjectBase.Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.ExecCommand(UInt32 itemid, Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.ExecCommand(UInt32 itemid, Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Labs.HierarchyUtilities.<>c__DisplayClass22.<ExecHierParentChain>b__1f()
     at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
     at Microsoft.VisualStudio.Labs.HierarchyUtilities.ExecHierParentChain(IVsHierarchyItemManager manager, IVsUIHierarchy lpUIHCmd, IVsUIHierarchy lpUIHCurrent, UInt32 itemidCurrent, Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Labs.HierarchyItem.HierarchyContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location)
     at Microsoft.VisualStudio.Labs.ContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location, Func`2 getController)
     at Microsoft.VisualStudio.Labs.ContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location)
     at Microsoft.VisualStudio.Labs.PivotTreeView.OnContextMenuOpening(ContextMenuEventArgs e)
     at System.Windows.FrameworkElement.OnContextMenuOpeningThunk(Object sender, ContextMenuEventArgs e)
     at System.Windows.Controls.ContextMenuEventArgs.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.ContentElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
     at System.Windows.Controls.PopupControlService.RaiseContextMenuOpeningEvent(IInputElement source, Double x, Double y, Boolean userInitiated)
     at System.Windows.Controls.PopupControlService.ProcessMouseUp(Object sender, MouseButtonEventArgs e)
     at System.Windows.Controls.PopupControlService.OnPostProcessInput(Object sender, ProcessInputEventArgs e)
     at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
     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