[MonoDevelop] MonoDevelop Error on right-clicking a file

Alessandro Accardo julius8774 at gmail.com
Thu Apr 16 01:57:02 EDT 2009


Hi All,
today when I right-click on a text file in a solution folder I get this 
message:

System.Reflection.TargetInvocationException: Exception has been thrown by the 
target of an invocation. ---> System.NullReferenceException: Object reference 
not set to an instance of an object
  at MonoDevelop.VersionControl.VersionControlService.GetRepository 
(IWorkspaceObject entry) [0x00000] 
  at MonoDevelop.VersionControl.VersionControlCommandHandler.CreateItem 
(System.Object obj) [0x00000] 
  at MonoDevelop.VersionControl.VersionControlCommandHandler.GetItems () 
[0x00000] 
  at MonoDevelop.VersionControl.AddinCommandHandler.RunCommand (Commands cmd, 
Boolean test) [0x00000] 
  at MonoDevelop.VersionControl.AddinCommandHandler.TestCommand (Commands cmd, 
MonoDevelop.Components.Commands.CommandInfo item) [0x00000] 
  at MonoDevelop.VersionControl.AddinCommandHandler.UpdateAdd 
(MonoDevelop.Components.Commands.CommandInfo item) [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke 
(object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] 
parameters) [0x00000] 
  at MonoDevelop.Components.Commands.DefaultCommandHandler.CommandUpdate 
(System.Object target, MonoDevelop.Components.Commands.CommandInfo info) 
[0x00000] 
  at 
MonoDevelop.Components.Commands.CustomCommandUpdaterAttribute.CommandUpdate 
(System.Object target, MonoDevelop.Components.Commands.CommandInfo cinfo) 
[0x00000] 
  at 
MonoDevelop.Components.Commands.CustomCommandUpdaterAttribute.MonoDevelop.Components.Commands.ICommandUpdateHandler.CommandUpdate 
(System.Object target, MonoDevelop.Components.Commands.CommandInfo cinfo) 
[0x00000] 
  at 
MonoDevelop.Components.Commands.CustomCommandUpdaterAttribute.CommandUpdate 
(System.Object target, MonoDevelop.Components.Commands.CommandInfo cinfo) 
[0x00000] 
  at 
MonoDevelop.Ide.Gui.Components.MultiSelectionNodeHandlerAttribute.CommandUpdate 
(System.Object target, MonoDevelop.Components.Commands.CommandInfo cinfo) 
[0x00000] 
  at 
MonoDevelop.Components.Commands.CustomCommandUpdaterAttribute.MonoDevelop.Components.Commands.ICommandUpdateHandler.CommandUpdate 
(System.Object target, MonoDevelop.Components.Commands.CommandInfo cinfo) 
[0x00000] 
  at MonoDevelop.Components.Commands.CommandUpdaterInfo.Run (System.Object 
cmdTarget, MonoDevelop.Components.Commands.CommandInfo info) [0x00000] 
  at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo 
(System.Object commandId, System.Object initialTarget) [0x00000] 

HTH,
Alessandro Accardo.


More information about the Monodevelop-list mailing list