Bugzilla – Bug 128031
Monodevelop cannot open or save files
Last modified: 2005-11-24 00:42:34 UTC
It looks like that every time when monodevelop tries to open a file dialog, it crashes. This happens when trying to open or save files, selecting the standard project path in the properties and browsing for an external tool in the properties. There might also other situation where this happens. I tried two PCs with a OpenSuSE 10.0 final installation that was upgraded from RC 1. I also reinstalled the mono packages a couple of times. I tried also tried the official Mono 1.1.9.2 installer. It also did not start up (because of Bug 113802). After removing the boo references, monodevelop starts, but has the same problems as the 1.1.8.3 version. Error messages: ------------------------------------------------------------------------------ Error while executing command: OpenFile Exception ocurred: System.NullReferenceException: Object reference not set to an instance of an object in 0x00000 unknown method in (wrapper managed-to-native) GLib.Object:gtksharp_object_newv (intptr,int,intptr[],GLib.Value[]) in 0x000db GLib.Object:CreateNativeObject (System.String[] names, GLib.Value[] vals) in 0x00011 Gtk.Object:CreateNativeObject (System.String[] names, GLib.Value[] vals) in 0x00010 Gtk.Widget:CreateNativeObject (System.String[] names, GLib.Value[] vals) in 0x00061 Gtk.FileChooserDialog:.ctor (System.String title, Gtk.Window parent, FileChooserAction action, System.Object[] button_data) in 0x0008b MonoDevelop.Gui.Widgets.FileSelector:.ctor (System.String title) in 0x00039 MonoDevelop.Commands.OpenFileHandler:Run () in 0x0000b MonoDevelop.Commands.CommandHandler:Run (System.Object dataItem) in 0x0005b MonoDevelop.Commands.ActionCommand:DispatchCommand (System.Object dataItem) in 0x00330 MonoDevelop.Commands.CommandManager:DispatchCommand (System.Object commandId, System.Object dataItem) ------------------------------------------------------------------------------ Error while executing command: SaveAs Exception ocurred: 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 in 0x00000 unknown method in (wrapper managed-to-native) GLib.Object:gtksharp_object_newv (intptr,int,intptr[],GLib.Value[]) in 0x000db GLib.Object:CreateNativeObject (System.String[] names, GLib.Value[] vals) in 0x00011 Gtk.Object:CreateNativeObject (System.String[] names, GLib.Value[] vals) in 0x00010 Gtk.Widget:CreateNativeObject (System.String[] names, GLib.Value[] vals) in 0x00061 Gtk.FileChooserDialog:.ctor (System.String title, Gtk.Window parent, FileChooserAction action, System.Object[] button_data) in 0x000a6 MonoDevelop.Gui.Widgets.FileSelector:.ctor (System.String title, FileChooserAction action) in 0x0016d MonoDevelop.Services.DefaultFileService:SaveFileAs (IWorkbenchWindow window) in 0x00025 MonoDevelop.Gui.ViewCommandHandlers:OnSaveFileAs () in 0x00000 unknown method in (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[]) in 0x0006f System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)--- End of inner exception stack trace --- in 0x00104 System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in 0x00017 System.Reflection.MethodBase:Invoke (System.Object obj, System.Object[] parameters) in 0x00015 MonoDevelop.Commands.CommandHandlerInfo:Run (System.Object cmdTarget) in 0x002ea MonoDevelop.Commands.CommandManager:DispatchCommand (System.Object commandId, System.Object dataItem) ------------------------------------------------------------------------------ Errors while browsing for files or directories in the properties dialog: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object in <0x00000> <unknown method> in (wrapper managed-to-native) Gtk.Application:gtk_main () in <0x00007> Gtk.Application:Run () in <0x0048a> MonoDevelop.Commands.StartWorkbenchCommand:Run () in <0x00a7e> MonoDevelop.SharpDevelopMain:Main (System.String[] args)
This is most probably duplicate of bug 132309.
Yes, it was. Updating the packages also did fix this problem.
Latest packages from suse 10 worked for me.