Duplicate :
|
|
Duplicate :
|
|
Relates :
|
Version: Tiger b54 System: Dual Processor x86 OS: Windows NT 4 \> cd demos \> cd jfc \> cd SwingSet2 \> appletviewer SwingSet2.html When SwingSet has finished loading, hit the X to close the window. \> cd demos \> cd jfc \> cd SwingApplet appletviewer SwingApplet.html When the applet has finished loading, hit X to close the window. In both cases, the following exception is printed on the console: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: component argument pData at sun.awt.windows.Win32SurfaceData.initOps(Native Method) at sun.awt.windows.Win32SurfaceData.<init>(Win32SurfaceData.java:448) at sun.awt.windows.Win32SurfaceData.createData(Win32SurfaceData.java:316) at sun.awt.Win32GraphicsConfig.createSurfaceData(Win32GraphicsConfig.java:357) at sun.awt.windows.WComponentPeer.replaceSurfaceData(WComponentPeer.java:326) at sun.awt.windows.WComponentPeer.replaceSurfaceData(WComponentPeer.java:307) at sun.awt.windows.WComponentPeer$2.run(WComponentPeer.java:347) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
|