While running the applet demos one after another with jdkx on windows. I occasionally get the following Exception :
Y:/jdk1.5.0/windows-i586/bin/java sun.applet.AppletViewer file:Y:/jdk1.5.0/win
ws-i586/demo/applets/SortDemo/example1.html
java.lang.NullPointerException: component argument pData
at sun.awt.windows.Win32SurfaceData.initOps(Native Method)
at sun.awt.windows.Win32SurfaceData.<init>(Win32SurfaceData.java:439)
at sun.awt.windows.Win32SurfaceData.createData(Win32SurfaceData.java:3
)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(WComponentPeer.ja
:307)
at sun.awt.windows.WComponentPeer$2.run(WComponentPeer.java:320)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:188)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:459)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatch
read.java:214)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchTh
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:15
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:14
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
###@###.### 2003-09-22
Note: the exception occurs upon exiting an applet by clicking the close box on the Window.
###@###.### 2003-10-13