[Gtk-sharp-list] Strange Exception Raised by Gtk.UIManager.GetWidget (string)

Jacek Rużyczka stacheldraht at interia.pl
Fri Aug 7 14:57:32 EDT 2009


Am Sonntag 08 März 2009 16:53:12 schrieb Jacek R.:
> OK, I updated to Mono 2.2-1.1 on the Linux side (where I also do the
> development work). No use. :-(
>
> J.R.
> 
OK, made another update:

jacek at veteran:~> gacutil -l gtk-sharp
The following assemblies are installed into the GAC:
gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
Number of items = 1
jacek at veteran:~> rpm -q mono-complete
mono-complete-2.4-16.1

The error remains. ;-(((((

This is the original error message:

Z:\Projects\iwawi>C:\Programme\Mono-2.2\bin\mono Z:
\Projects\iwawi\iwawi\bin\Debug\iwawi.exe
Stacktrace:

  at (wrapper managed-to-native) Gtk.UIManager.gtk_ui_manager_get_widget 
(intptr
,intptr) <0x00004>
  at (wrapper managed-to-native) Gtk.UIManager.gtk_ui_manager_get_widget 
(intptr
,intptr) <0xffffffff>
  at Gtk.UIManager.GetWidget (string) <0x00032>
  at iwawi.ApplicationBaseWindow.Build () <0x02440>
  at iwawi.ApplicationBaseWindow..ctor (string,iwawi.DBConnectionHandler) 
<0x001
3c>
  at MainWindow.OnLoginButtonPressedEvent (object,System.EventArgs) <0x00449>
  at (wrapper runtime-invoke) 
MainWindow.runtime_invoke_void__this___object_obje
ct (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke 
(ob
ject,object[],System.Exception&) <0x00004>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke 
(ob
ject,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke 
(object,System.Reflection.BindingFlags,
System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0009e>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x00022>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x0018a>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x00034>
  at System.Delegate.DynamicInvoke (object[]) <0x00016>
  at GLib.Signal.ClosureInvokedCB (object,GLib.ClosureInvokedArgs) <0x0014b>
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs) <0x00024>
  at GLib.SignalClosure.MarshalCallback 
(intptr,intptr,uint,intptr,intptr,intptr
) <0x00209>
  at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback 
(intptr,intp
tr,uint,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000a>
  at iwawi.MainClass.Main (string[]) <0x0044c>
  at (wrapper runtime-invoke) iwawi.MainClass.runtime_invoke_void_object 
(object
,intptr,intptr,intptr) <0xffffffff>

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Now I am speculating...but is it possible that the bug (if you can call it so) 
lies in GTK for Windows, and not in the Gtk# libs?

Regards
Jacek



----------------------------------------------------------------------
Szukasz pracy? Sprawd¼ nasze oferty!
http://link.interia.pl/f22b8



More information about the Gtk-sharp-list mailing list