[Mono-list] bug on Mono 1.2.5 Linux gtksharpglue-2

Xavi de Blas xaviblas at gmail.com
Mon Sep 3 04:14:21 EDT 2007


In Mono 1.2.5 Linux, there's a bug related to gtksharpglue-2. This
works ok on 1.2.5 windows version.

Stacktrace:

Unhandled Exception: System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
System.TypeInitializationException: An exception was thrown by the
type initializer for Gtk.Container ---> System.DllNotFoundException:
gtksharpglue-2
  at (wrapper managed-to-native)
Gtk.Container:gtksharp_gtk_container_get_focus_child_offset ()
  at Gtk.Container..cctor () [0x00000] --- End of inner exception
stack trace ---

  at <0x00000> <unknown method>
  at Gtk.Bin..ctor (IntPtr raw) [0x00000]
  at Gtk.Window..ctor (IntPtr raw) [0x00000]
  at <0x00000> <unknown method>
  at (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.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.MonoCMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00000]
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]
  at System.Activator.CreateInstance (System.Type type, BindingFlags
bindingAttr, System.Reflection.Binder binder, System.Object[] args,
System.Globalization.CultureInfo culture, System.Object[]
activationAttributes) [0x00000]
  at System.Activator.CreateInstance (System.Type type, BindingFlags
bindingAttr, System.Reflection.Binder binder, System.Object[] args,
System.Globalization.CultureInfo culture) [0x00000]
  at GLib.ObjectManager.CreateObject (IntPtr raw) [0x00000]
  at GLib.Object.GetObject (IntPtr o, Boolean owned_ref) [0x00000]
  at GLib.Object.GetObject (IntPtr o) [0x00000]
  at Glade.XML.GetWidget (System.String name) [0x00000]
  at Glade.XML.BindFields (System.Object target, System.Type type) [0x00000]
  at Glade.XML.BindFields (System.Object target) [0x00000]
  at Glade.XML.Autoconnect (System.Object handler) [0x00000]
  at ChronoJump.createMainWindow (System.String recuperatedString) [0x00000]
  at ChronoJump..ctor (System.String[] args) [0x00000]
  at ChronoJump.Main (System.String[] args) [0x00000]

Bye


More information about the Mono-list mailing list