Bug 3362 - Error while updating status of command: MonoDevelop.Refactoring.RefactoryCommands.CurrentRefactoryOperations
Summary: Error while updating status of command: MonoDevelop.Refactoring.RefactoryComm...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-02-10 09:07 UTC by Marek Safar
Modified: 2012-02-10 09:44 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Marek Safar 2012-02-10 09:07:35 UTC
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.CSharp.ContextAction.MoveTypeToFile.GetCorrectFileName (MonoDevelop.CSharp.ContextAction.MDRefactoringContext context, ICSharpCode.NRefactory.CSharp.TypeDeclaration type) [0x00001] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.ContextAction/Actions/MoveTypeToFile.cs:151 
  at MonoDevelop.CSharp.ContextAction.MoveTypeToFile.GetMenuText (MonoDevelop.CSharp.ContextAction.MDRefactoringContext context) [0x00037] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.ContextAction/Actions/MoveTypeToFile.cs:47 
  at MonoDevelop.CSharp.ContextAction.MDRefactoringContextAction.GetMenuText (MonoDevelop.Ide.Gui.Document document, TextLocation loc) [0x0001f] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.ContextAction/MDRefactoringContextAction.cs:54 
  at MonoDevelop.Refactoring.CurrentRefactoryOperationsHandler.Update (MonoDevelop.Components.Commands.CommandArrayInfo ainfo) [0x002a0] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoryCommands.cs:292 
  at MonoDevelop.Components.Commands.CommandHandler.InternalUpdate (MonoDevelop.Components.Commands.CommandArrayInfo info) [0x00001] in /home/marek/git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:52 
  at MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info) [0x0006c] in /home/marek/git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:825 
  at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo (System.Object commandId, MonoDevelop.Components.Commands.CommandTargetRoute targetRoute) [0x001ba] in /home/marek/git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:794
Comment 1 Mike Krüger 2012-02-10 09:44:53 UTC
fixed.