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

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

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