Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Apr 3, 2012 5:51:49 PM |
Updated | Apr 3, 2012 5:51:49 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”
An exception has occurred during action 'RefactorThis' update Object reference not set to an instance of an object.
--- EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.ReSharper.Psi.Services
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “An exception has occurred during action 'RefactorThis' update Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = asp
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
An exception has occurred during action 'RefactorThis' update Object reference not set to an instance of an object.
--- EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.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.Refactorings.IntroduceField.IntroFieldWorkflow.IsAvailableLocal(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\IntroduceField\IntroFieldWorkflow.cs:line 68 at JetBrains.ReSharper.Refactorings.IntroduceField.IntroFieldWorkflow.IsAvailable(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\IntroduceField\IntroFieldWorkflow.cs:line 110 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 39 at JetBrains.ActionManagement.UpdatableAction.Update(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\UpdatableAction.cs:line 88
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “An exception has occurred during action 'RefactorThis' update Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = asp
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.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.MainWindow.CreateContextMenu() at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent() at Microsoft.VisualStudio.Shell.Interop.IVsUIShell.ShowContextMenu(UInt32 dwCompRole, Guid& rclsidActive, Int32 nMenuId, POINTS[] pos, IOleCommandTarget pCmdTrgtActive) at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.ShowContextMenu(IntPtr location, Int32& result) at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.Undo.UndoManagerCommandFilter.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.IntellisenseCommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass9.<ExecOldCommandTarget>b__7() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 189 at JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(Action F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Documents\src\impl\DocumentBase.cs:line 94 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.ExecOldCommandTarget(CommandID commandid, IntPtr pvaIn, UInt32 nCmdexecopt, IntPtr pvaOut) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 182 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 419 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsMouseProcessor.DisplayContextMenu(Point mousePosition) at Microsoft.VisualStudio.Editor.Implementation.VsMouseProcessor.PreprocessMouseRightButtonUp(MouseButtonEventArgs e) at Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.<>c__DisplayClass4b.<UIElement_MouseRightButtonUp>b__46() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) at Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.UIElement_MouseRightButtonUp(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.OnMouseUpThunk(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.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) 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)