JDK-5098186 : Null pData exception when closing appletviewer windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-09-07
  • Updated: 2006-04-27
  • Resolved: 2006-04-27
Related Reports
Duplicate :  
Description
Start all demo applets at once on windows, using any tiger build,
starting at least with beta:
appletviewer demo/applets/*/*.html

Once all of the applets started, close them one by one by
clicking the close ('X') button. The following exception is thrown
intermittently:
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:332)
        at sun.awt.windows.WComponentPeer.replaceSurfaceData(WComponentPeer.java:313)
        at sun.awt.windows.WComponentPeer$2.run(WComponentPeer.java:353)
        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)

This is a regression since 1.4.2, reproducible the best on a multiple-cpu
systems (in fact,I haven't been able to reproduce it on a single-cpu
machine yet).

###@###.### 2004-09-07

Comments
EVALUATION Not for tiger. ###@###.### 2004-09-16 This looks similar to 5088782: AWT application does not load : throws NPE ###@###.### 2004-09-27
16-09-2004