Bug 128031

Summary: Monodevelop cannot open or save files
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Josef Wegner <Josef.Wegner>
Component: MonoAssignee: E-mail List <bnc-team-mono>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Josef Wegner 2005-10-13 07:17:40 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)
Comment 1 Lluis Sanchez 2005-11-23 18:20:13 UTC
This is most probably duplicate of bug 132309.
Comment 2 Josef Wegner 2005-11-23 21:35:56 UTC
Yes, it was. Updating the packages also did fix this problem.
Comment 3 Wade Berrier 2005-11-24 00:42:34 UTC
Latest packages from suse 10 worked for me.