Hello,
I've got a serious problem.
I have a little application in which sometimes I get a NullPointerException
when I invoke the show() method
in a class that extends JDialog. It implies that my GUI is definitely
frozen when this occurs.
Sometimes ago, I had a similar problem because I accessed GUI components
from outside the event dispatching thread. However, this time I'm
absolutely sure I do the 'show' in the event dispatching thread.
The exception trace I get is the following:
java.lang.NullPointerException at
java.util.WeakHashMap$WeakKey.create(Compiled Code) at
java.util.WeakHashMap$WeakKey.access$0(Compiled Code) at
java.util.WeakHashMap.get(Compiled Code) at
java.util.Collections$SynchronizedMap.get(Compiled Code) at
sun.awt.SunToolkit.targetToAppContext(Compiled Code) at
sun.awt.windows.WComponentPeer.postEvent(Compiled Code) at
sun.awt.windows.WToolkit.eventLoop(Native Method) at
sun.awt.windows.WToolkit.run(WToolkit.java:134) at
java.lang.Thread.run(Compiled Code)
Please if you have some idea about how can I solve this problem or where I
can get information about it, tell me.
Thanks a lot.
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing