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

RSRP-287985: An exception has occurred during action 'RefactorThis' update Object reference not set to an instance of an object.

$
0
0
Reporter Sergey Coox (coox) Sergey Coox (coox)
Created Jan 25, 2012 1:46:24 PM
Updated Jan 25, 2012 7:18:15 PM
Resolved Jan 25, 2012 3:30:02 PM
Priority Normal
Type Exception
Fix versions Next
State Fixed
Assignee Dmitry Ivanov (daivanov)
Subsystem Refactoring
Affected versions No Affected versions
Fixed in build 6.5.1.3403
ReSharper 6.1 EAP Version=6.5.0.0, Built=2012-01-24T13:05:32, Configuration=“Csharp InternalMode Vbnet VS1000”
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.Refactorings.CSharp
StackTraceString = “
  at JetBrains.ReSharper.Refactorings.CSharp.TransformOutParameters.CSharpTransformOutParametersHelper.GetIMethodForOutParamByNode(ITreeNode node) in c:\Work\ReSharper\Main.hg\Psi.Features\src\Refactorings\CSharp\src\TransformOutParameters\CSharpTransformOutParametersHelper.cs:line 39
     at JetBrains.ReSharper.Refactorings.TransformOutParameters.TransformOutParametersWorkflow.IsAvailable(IDataContext context) in c:\Work\ReSharper\Main.hg\Psi.Features\src\Refactorings\_Core\src\TransformOutParameters\TransformOutParametersWorkflow.cs:line 122
     at JetBrains.ReSharper.Refactorings.Workflow.ExtensibleRefactoringAction`1.IsAvailable(IDataContext context, IRefactoringWorkflow refactoringWorkflow) in c:\Work\ReSharper\Main.hg\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:\Work\ReSharper\Main.hg\Psi.Features\src\Services\_Core\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:\Work\ReSharper\Main.hg\Psi.Features\src\Services\_Core\src\ActionsMenu\ExtensibleAction.cs:line 95
     at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate) in c:\Work\ReSharper\Main.hg\Psi.Features\src\Services\_Core\src\ActionsMenu\ExtensibleAction.cs:line 39
     at JetBrains.ActionManagement.UpdatableAction.Update(IDataContext context) in c:\Work\ReSharper\Main.hg\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 = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 10.0.40219.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.Logger.LogException(String comment, Exception ex) in c:\Work\ReSharper\Main.hg\Platform\src\Util\src\Logger\Logger.cs:line 631
     at JetBrains.ActionManagement.UpdatableAction.Update(IDataContext context) in c:\Work\ReSharper\Main.hg\Platform\src\UI\src\ActionSystem\Action\UpdatableAction.cs:line 94
     at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass9.<UpdateAction>b__8(Lifetime lifetime) in c:\Work\ReSharper\Main.hg\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 196
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\Work\ReSharper\Main.hg\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 47
     at JetBrains.ActionManagement.ActionManager.UpdateAction(IUpdatableAction action, IDataContext dataContext) in c:\Work\ReSharper\Main.hg\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 196
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.UpdateAction(IUpdatableAction action, IDataContext dataContext) in c:\Work\ReSharper\Main.hg\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1363
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetQueryStatus_Product(String actionid, OLECMDTEXT* pOleText) in c:\Work\ReSharper\Main.hg\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 987
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass28.<OleCommandTargetQueryStatus>b__27() in c:\Work\ReSharper\Main.hg\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 417
at Action(Package.QueryStatus).Execute(Action )
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Work\ReSharper\Main.hg\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 264
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\Work\ReSharper\Main.hg\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 414
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetQueryStatus(Guid guidCmdSet, OLECMD[] olecmds, OLECMDTEXT* pOleText, VsCommandHandlerStage stage) in c:\Work\ReSharper\Main.hg\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:\Work\ReSharper\Main.hg\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:\Work\ReSharper\Main.hg\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.Dispatcher.InvokeImpl(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>