[MonoDevelop] Exception when Trying to Open a GUI Object in MD

Jacek Rużyczka stacheldraht at interia.pl
Wed Apr 28 14:48:17 EDT 2010


Hi folks,

now I have really many different GUI objects in the MD solution I'm working 
on...but one of the "older" GUI elements (it's a Gtk# top-level window) can't 
be opened any more in the GUI designer. Instead I get the following stack 
trace:

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.Core.FilePath.IsChildPathOf (FilePath basePath) [0x00000] 
  at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.FindClass (System.String 
className, Boolean getUserClass) [0x00000] 
  at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.GetClass 
(Stetic.ProjectItemInfo obj, Boolean getUserClass) [0x00000] 
  at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.GetSourceCodeFile 
(Stetic.ProjectItemInfo obj, Boolean getUserClass) [0x00000] 
  at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.GetSourceCodeFile 
(Stetic.ProjectItemInfo obj) [0x00000] 
  at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderWindow.get_SourceCodeFile () 
[0x00000] 
  at MonoDevelop.GtkCore.NodeBuilders.GladeWindowCommandHandler.ActivateItem 
() [0x00000] 
  at MonoDevelop.Ide.Gui.Components.NodeCommandHandler.ActivateMultipleItems 
() [0x00000] 
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.ActivateCurrentItem () 
[0x00000] 
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.OnNodeActivated 
(System.Object sender, Gtk.RowActivatedArgs args) [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 System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) 
[0x00000] 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs 
args) [0x00000] 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr 
return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, 
IntPtr marshal_data) [0x00000] 

Th exception is raised EVERY time I try to open the GUI element in the 
Solution tree. This means it blocks further development work. What's the 
problem here?

Kind regards
Jacek

--------------------------------------------------
Ubezpieczenia OC, AC w atrakcyjnych cenach 	 
http://linkint.pl/f2655



More information about the Monodevelop-list mailing list