[MonoDevelop] Monodevelop 0.6 crashes when create a new file (System.InvalidCastException)

Christian Herzog cherzog at web.de
Thu May 26 11:45:53 EDT 2005


Hi!

I use Fedora Core 3 and installed Monodevelop using this repository: 

http://www.nrpms.net/

Monodevelop starts without any Problems but when I create a new file 
Monodevelop crashes (System.InvalidCastException) (see Error1.txt).

Can anybody tell me what is wrong?

Thank you

Christian Herzog
-------------- next part --------------
[cherzog at desktop gtk-sharp-2.5.5]$ monodevelop
Entering VB.NET parser
Reading /home/cherzog/.config/MonoDevelop/CodeCompletionData/mscorlib_1.0.5000.0_b77a5c561934e089.pidb
Creating DefaultWorkbench
Socket already in use

Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type.
in <0x00058> GtkSourceView.SourceLanguagesManager:GetLanguageFromMimeType (System.String mime_type)
in <0x00016> MonoDevelop.SourceEditor.Gui.SourceEditorBuffer:LoadText (System.String text, System.String mime)
in <0x0001f> MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBindingWrapper:LoadString (System.String mime, System.String val)
in <0x000ad> MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBinding:CreateContentForLanguage (System.String language, System.String content, System.String new_file_name)
in <0x00054> MonoDevelop.Services.DefaultFileService:NewFile (System.String defaultName, System.String language, System.String content)
in <0x00028> MonoDevelop.Gui.Dialogs.NewFileDialog:SaveFile (System.String filename, System.String content, System.String languageName, Boolean showFile)
in <0x000fd> MonoDevelop.Gui.Dialogs.NewFileDialog:OpenEvent (System.Object sender, System.EventArgs e)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00096> GLib.Signal:voidObjectCallback (IntPtr handle, IntPtr gch)
in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x0040c> MonoDevelop.Commands.StartWorkbenchCommand:Run ()
in <0x00a73> MonoDevelop.SharpDevelopMain:Main (System.String[] args)


More information about the Monodevelop-list mailing list