[Gtk-sharp-list] Exception in application.run()

Ofer Achler oachler@ucsd.edu
Mon, 22 Mar 2004 12:44:54 -0800


Update: it seems to work fine in linux under mono, also, I should state I'm
using VS .NET 2003 and the Microsoft C# compiler and runtime in windows.

When I use mono under windows to run the program (after it was compiled my
Microsoft) it works fine as well.

-----Original Message-----
From: gtk-sharp-list-admin@lists.ximian.com
[mailto:gtk-sharp-list-admin@lists.ximian.com] On Behalf Of Ofer Achler
Sent: Monday, March 22, 2004 12:22 PM
To: gtk-sharp-list@lists.ximian.com
Subject: [Gtk-sharp-list] Exception in application.run()

I have a program that runs through all the steps, produces a nice display as
its supposed to, then immediately breaks with an unhandled exception of type
system.nullreference exception in gtk-sharp.dll

Additional information: object reference not set to an instance of object

The thing is, the program displays everything then immediately crashes.
Also, debugging through it it runs all the steps.  Its only on
Application.Run() that it breaks.  I'm not sure what to do next.

I can get it to work by commenting out some piece of code that isn't related
to gtk# at all, but it's a really big piece of code and it doesn't crash
running that particular code(like I said, it crashes on Application.Run())

What should I do?

I'm running mono 0.31 and gtk# 0.17 on windows

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list