History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-43032
Type: Exception Exception
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Sergey Shkredov
Reporter: Anonymous
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Object reference not set to an instance of an object.

Created: 13 Jun 07 07:53   Updated: 26 Oct 07 17:56
Component/s: Refactorings - Introduce Field
Fix Version/s: 4.0, 3.1
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 459


 Description  « Hide
Public Class Status
    Implements ICloneable

	Public Function Clone() As Object Implements System.ICloneable.Clone
		Dim offset As New Vector
		Move(offset)
		Return Nothing
	End Function

	Public Sub Move(ByVal offset As Vector)
	End Sub
End Class

IntroField on the first occurence of offset.

ReSharper 3.0 Version=3.0.459.2, Edition=Vbnet, Built=2007-06-11T21:34:30, Configuration=ReSharper_AddIn, VsVersion=8.0
JetBrains.Util.InternalErrorException: Object reference not set to an instance of an object.
An exception has occurred during action 'IntroduceField' execution ---> System.NullReferenceException: Object reference not set to an instance of an object.
at JetBrains.ReSharper.Refactorings.IntroduceField.IntroduceFieldRefactoring.Init() in c:\Agent\work\Server\ReSharper-Main\src\NewRefactorings\src\IntroduceField\IntroduceFieldRefactoring.cs:line 234
at JetBrains.ReSharper.Refactorings.IntroduceField.IntroduceFieldRefactoring..ctor(ILocalVariable localVariable) in c:\Agent\work\Server\ReSharper-Main\src\NewRefactorings\src\IntroduceField\IntroduceFieldRefactoring.cs:line 226
at JetBrains.ReSharper.Refactorings.IntroduceField.IntroduceFieldRefactoringWorkflow.Initialize(IDataContext context, IInitializationContext initializationContext) in c:\Agent\work\Server\ReSharper-Main\src\NewRefactorings\src\IntroduceField\Impl\IntroduceFieldRefactoringWorkflow.cs:line 118
at JetBrains.ReSharper.Refactorings.Workflow.RefactoringActionUtil.ExecuteRefactoring(IDataContext invocationContext, IRefactoringWorkflow refactoringWorkflow, EventHandler refactoringExecutedHandler) in c:\Agent\work\Server\ReSharper-Main\src\NewRefactorings\src\Workflow\RefactoringActionUtil.cs:line 29
at JetBrains.ReSharper.Refactorings.IntroduceField.IntroduceFieldAction.Execute(IDataContext context, DelegateExecute nextExecute) in c:\Agent\work\Server\ReSharper-Main\src\NewRefactorings\src\IntroduceField\Impl\IntroduceFieldAction.cs:line 16
at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.UI\src\ActionSystem\Action\ExecutableAction.cs:line 30
— End of inner exception stack trace —

at JetBrains.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.Util\src\Logger\Logger.cs:line 262 column 4
at JetBrains.Util.Logger.LogException(String, Exception) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.Util\src\Logger\Logger.cs:line 281 column 3
at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.UI\src\ActionSystem\Action\ExecutableAction.cs:line 35 column 11
at JetBrains.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction, IDataContext) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.UI\src\ActionSystem\ActionManager\ActionManagerBase.cs:line 568 column 11
at JetBrains.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.UI\src\ActionSystem\ActionManager\ActionManagerBase.cs:line 520 column 5
at JetBrains.ActionManagement.ActionManagerBase.ExecuteAction(String) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.UI\src\ActionSystem\ActionManager\ActionManagerBase.cs:line 515 column 5
at JetBrains.ReSharper.VS.Customization.ReSharperPkg.Exec(Guid&, UInt32, UInt32, IntPtr, IntPtr) in c:\Agent\work\Server\ReSharper-Main\src\VS\src\Customization\ReSharperPkg.cs:line 44 column 6
at Microsoft.VisualStudio.VSIP.Helper.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid&, UInt32, UInt32, IntPtr, IntPtr)



 All   Comments   Work Log   Change History      Sort Order:
Anonymous - 19 Sep 07 09:21
promoting a local variable to a field
ReSharper 3.0 Version=3.0.471.2, Edition=, Built=2007-06-29T12:53:38, Configuration=ReSharper_AddIn, VsVersion=8.0

Anonymous - 16 Oct 07 20:35
Refactor a local variable to a member
ReSharper 3.0 Version=3.0.471.2, Edition=, Built=2007-06-29T12:53:38, Configuration=ReSharper_AddIn, VsVersion=8.0

Serge Baltic - 25 Oct 07 03:16
ReSharper 3.0.3 EAP Version=3.0.0.0, Edition=, Built=2007-10-15T13:28:36, Configuration=ReSharper_AddIn, VsVersion=8.0
JetBrains.Util.InternalErrorException: Object reference not set to an instance of an object.
An exception has occurred during action 'IntroduceField' execution