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

RSRP-292637: Failed to evaluate the data rule. Object reference not set to an instance of an object.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 3, 2012 5:51:56 PM
Updated Apr 3, 2012 5:51:56 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 EAP for Visual Studio 11 Beta Version=7.0.5.37, Built=2012-03-25T18:12:10, Configuration=“Csharp PublicMode Vbnet VS1100”
Failed to evaluate the data rule. Object reference not set to an instance of an object.

--- EXCEPTION #1/3 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.NullReferenceException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.ReSharper.Psi.Services
StackTraceString = “
  at JetBrains.ReSharper.Psi.Services.ExpressionSelection.ExpressionSelectionProviderBase`1.IsTokenSkipped(ITokenNode token) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\ExpressionSelection\ExpressionSelectionProviderBase.cs:line 128
     at JetBrains.ReSharper.Psi.Services.JavaScript.ExpressionSelection.JavaScriptExpressionSelectionProvider.IsTokenSkipped(ITokenNode token) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\JavaScript\src\ExpressionSelection\JavaScriptExpressionSelectionProvider.cs:line 16
     at JetBrains.ReSharper.Psi.Services.ExpressionSelection.ExpressionSelectionProviderBase`1.GetExpressionInRange[TExpressionRequired](IFile file, DocumentRange range, Boolean exactRange, Predicate`1 predicate) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\ExpressionSelection\ExpressionSelectionProviderBase.cs:line 25
     at JetBrains.ReSharper.Psi.Services.ExpressionSelection.ExpressionSelectionProviderBase`1.GetExpression[TExpressionRequired](IFile file, DocumentRange range, Boolean exactRange, Predicate`1 predicate) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\ExpressionSelection\ExpressionSelectionProviderBase.cs:line 81
     at JetBrains.ReSharper.Psi.Services.ExpressionSelection.ExpressionSelectionUtil.<>c__DisplayClass8`1.<GetExpression>b__6(<>f__AnonymousType1`2 <>h__TransparentIdentifier1) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\ExpressionSelection\ExpressionSelectionUtil.cs:line 61
     at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at JetBrains.ReSharper.Psi.Services.ExpressionSelection.ExpressionSelectionUtil.GetExpression[TExpression](ISolution solution, ITextControl textControl, TextRange range, Boolean exactRange, Predicate`1 predicate) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\ExpressionSelection\ExpressionSelectionUtil.cs:line 63
     at JetBrains.ReSharper.Psi.Services.PsiDataRules.SelectedExpressionFromTextControl(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\PsiDataRules.cs:line 132
     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 = SelectedExpression
Data.DataConstantType = “JetBrains.ReSharper.Psi.Tree.ITreeNode, JetBrains.ReSharper.Psi, Version=7.0.5.37, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
Data.DataRuleObject = JetBrains.Application.DataContext.DataRule`1[JetBrains.ReSharper.Psi.Tree.ITreeNode]
Data.DataRulePriority = 0
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 = asp
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.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.I18n.Services.Refactoring.ExpressionToResourceExtractorBase`1.GetConstantExpression(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\I18n\_Core\src\Refactoring\ExtractToResource\ExpressionToResourceExtractorBase.cs:line 97
     at JetBrains.ReSharper.I18n.Services.Refactoring.ExpressionToResourceExtractorBase`1.GetSourceElement(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\I18n\_Core\src\Refactoring\ExtractToResource\ExpressionToResourceExtractorBase.cs:line 49
     at JetBrains.ReSharper.I18n.Services.Refactoring.ExpressionToResourceExtractorBase`1.IsAvailable(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\I18n\_Core\src\Refactoring\ExtractToResource\ExpressionToResourceExtractorBase.cs:line 43
     at JetBrains.ReSharper.I18n.Services.Refactoring.MoveToResourceDrivenWorkflow.<>c__DisplayClass13.<IsAvailable>b__12(IResourceExtractor extractor) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\I18n\_Core\src\Refactoring\ExtractToResource\MoveToResourceDrivenWorkflow.cs:line 76
     at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
     at JetBrains.ReSharper.I18n.Services.Refactoring.MoveToResourceDrivenWorkflow.IsAvailable(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\I18n\_Core\src\Refactoring\ExtractToResource\MoveToResourceDrivenWorkflow.cs:line 76
     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.<SetTimerToOpenHierarchy>b__22(Object sender, EventArgs e)
     at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
     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 Microsoft.VisualStudio.OLE.Interop.IOleComponentManager.FPushMessageLoop(UInt32 dwComponentID, UInt32 uReason, IntPtr pvLoopData)
     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.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)
     at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
     at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

Viewing all articles
Browse latest Browse all 106942

Trending Articles