[Gtk-sharp-list] Gtk# .10 - NullReference error?
Pablo Fischer
pablo@pablo.com.mx
Wed, 08 Oct 2003 01:03:59 -0500
Hello!
First of all, sorry for the people that are in this list and in the mono
list (cause I also sent a copy to mono-list).
I have this packages in windows:
* Mono .28
* Gtk# .10 (I found one of 3MB that contains the GtkRuntime)
* NO .NET Framework
Ok, I can compile very fine my apps there are no errors with simple
hello test (a hello button) but EVERY time I run my app.exe (with or
without glade-sharp) I get this:
+++++++++++
Unhandled Exception: System.TypeInitializationException: An exception
was thrown
by the type initializer for Gtk.Application --->
System.NullReferenceException:
A null value was found where an object instance was required
in <0x0005e> Gtk.RuntimeEnvironment:InitializeWindowsRuntime ()
in <0x0003b> Gtk.RuntimeEnvironment:Initialize ()
in <0x00007> Gtk.Application:.cctor ()
+++++++++++
It seems that the error cames from the Init.Application. After this
error I reinstall (cause I removed it) the last Gtk-Runtime but the
problem continues.
Any solutions?
Thanks!
Pablo
PD. In my Linux Workstations I have mono .28 (compiled) and gtk# .10
(compiled)
--
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
http://www.pablo.com.mx
http://www.debianmexico.org
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt