[Mono-devel-list] System.NullReferenceException thrown by all mono apps

Jens Ansorg liste at ja-web.de
Mon Jan 24 17:11:10 EST 2005


hi,

I have a gnome-2.8 desktop and would like to use some mono apps i.e.
f-spot, muine. While this worked well until last year I have trouble now
with a new machine. I have a gentoo system just rebuild from src and try
to get mono apps running. Unfortunately they all fail with the same kind
of errors.

I found a message in the list archive that describes similar errors:
http://lists.ximian.com/archives/public/mono-devel-list/2005-January/009591.html

I get this kind of error with monodevelop, monodoc, fspot, muine; common
amongst all is some reference to gtk like
(unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
Could this be a version mismatch somewhere? 

I have an AMD64 but running in 32bit mode.

gcc-3.4.3, gtk+-2.6.1, gtk-sharp-1.0.4, mono-1.0.5


which part could be causing those errors?


thanks
Jens


some more errors:

jens at lisaserver f-spot-0.0.6 $ f-spot

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required.
in (unmanaged) (wrapper managed-to-native)
Gtk.Container:gtk_container_add (intptr,intptr)
in <0x00004> (wrapper managed-to-native) Gtk.Container:gtk_container_add
(intptr,intptr)
in <0x0002f> Gtk.Container:Add (Gtk.Widget)
in [0x00116]
(at /var/tmp/portage/f-spot-0.0.6/work/f-spot-0.0.6/src/MainWindow.cs:167) MainWindow:.ctor (Db)
in [0x00069]
(at /var/tmp/portage/f-spot-0.0.6/work/f-spot-0.0.6/src/main.cs:27)
Driver:Main (string[])


muine starts but segfaults when trying to select a song from playlist

jens at lisaserver jens $ muine
/usr/bin/muine: line 3: 22299 Segmentation
fault      /usr/bin/mono /usr/lib/muine/muine.exe "$@"


monodoc after some clicks on links

jens at lisaserver jens $ monodoc
Trying: root:/ecmaspec
Trying: ecmaspec:4
Trying: ecmaspec:14

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required.
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in [0x0018f]
(at /var/tmp/portage/monodoc-1.0.5/work/monodoc-1.0.5/browser/browser.cs:99) Monodoc.Driver:Main (string[])


monodevelop after some clicks in several file dialogs

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required.
in (unmanaged) (wrapper managed-to-native) Gtk.Dialog:gtk_dialog_run
(intptr)
in <0x00004> (wrapper managed-to-native) Gtk.Dialog:gtk_dialog_run
(intptr)
in <0x0002a> Gtk.Dialog:Run ()
in <0x00160> MonoDevelop.Commands.ProjectBrowser.AddFilesToProject:Run
()
in <0x00020> MonoDevelop.Gui.Components.SdMenuCommand:OnClick
(object,System.EventArgs)
in <0x00069> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
in <0x0012d> GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in <0x0005a> (wrapper native-to-managed)
GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00701> MonoDevelop.Commands.StartWorkbenchCommand:Run ()
in <0x009db> MonoDevelop.SharpDevelopMain:Main (string[])








More information about the Mono-devel-list mailing list