Haven't got any response yet, entered this issue to track
this topic:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=
3768
-cheng
-------- Original Message --------
Subject: NPE from glassfish installer
Date: Mon, 08 Oct 2007 18:42:19 -0400
From: Cheng Fang <cheng.fang sun.com>
To: dev glassfish <dev glassfish.dev.java.net>
A user reported this problem on glassfish Chinese forum
here:
http://gceclub.sun.com.cn/NASApp/s
me/jive/thread.jsp?forum=22&thread=46763
Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
at
com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initSystemColorDe
faults(GTKLookAndFeel.java:1267)
(see above URL for full stacktrace)
The user was trying to install glassfish on Debian with JDK
6, running
java -jar glassfishv2.jar
It appears that glassfish's poorman's installer incorrectly
sets the laf
on the main thread, whereas it should be set on the EDT
(event
dispatching thread). A google search also shows a related
JDK 6 bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=658
5553 (NPE in
GTKLookAndFeel.initSystemColorDefaults() on mustang when
remote X11
displaying.).
While we can't count on the JDK bug to be fixed in JDK 6,
can we fix our
installer main class to correctly set laf?
Thanks,
-cheng
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe glassfish.dev.java.net
For additional commands, e-mail: dev-help glassfish.dev.java.net
|