I have a Java applet which pops up a window which is a subclass of JFrame to which a JPanel subclass is added. This works perfectly well for 99% of the time, but occasionally appears completely blank and the following exception is thrown,
java.lang.NullPointerException
at sun.awt.SunToolkit.postEvent(Unknown Source)
at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
That is all that appears in the Java console so there are no pointers into my code.
I am using Netscape 4.75 with the following plugin:
Java(TM) Plug-in: Version 1.3.0_02
Using JRE version 1.3.0_02 Java HotSpot(TM) Client VM
I would appreciate any advice on how to track down the source of this problem.
java.lang.NullPointerException
at sun.awt.SunToolkit.postEvent(Unknown Source)
at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
That is all that appears in the Java console so there are no pointers into my code.
I am using Netscape 4.75 with the following plugin:
Java(TM) Plug-in: Version 1.3.0_02
Using JRE version 1.3.0_02 Java HotSpot(TM) Client VM
I would appreciate any advice on how to track down the source of this problem.