Exception in thread "main"

Tom Tromey tromey@redhat.com
Wed Nov 6 09:09:00 GMT 2002


>>>>> "Jim" == Jim Redman <jim@ergotech.com> writes:

Jim> A number of times today while trying to get some code to run with
Jim> gcj

I didn't see a response to this.

Jim> Exception in thread "main"
Jim> I can't figure out a pattern.  One was corrected by changing the line:
Jim>      Dimension d =  Toolkit.getDefaultToolkit().getScreenSize();

Our AWT implementation isn't ready.  Among other problems, we don't
ship any peers, which is the source of this problem.

Jim> If I break in GDB I get the stack below.  Anyone have any
Jim> thoughts or suggestions?

Your stack trace looks like it is trying to print an exception and
getting a signal.  Sometimes this is "normal" when running libgcj
under gdb.  Probably more interesting to you would be the contents of
the exception itself.

Tom



More information about the Java mailing list