Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6212318

Win32SurfaceData.initOps generates NullPointerException when closing Java apps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • client-libs
    • None
    • 2d
    • x86
    • windows_xp

      I found this bug when testing the testcase for 5036570. So you can find the testcase from bug 5036570. When I type some japanese characters in the forst textfield and close the applet, you will see the following exceptions.

      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: component
       argument pData
              at sun.java2d.windows.Win32SurfaceData.initOps(Native Method)
              at sun.java2d.windows.Win32SurfaceData.<init>(Win32SurfaceData.java:450)

              at sun.java2d.windows.Win32SurfaceData.createData(Win32SurfaceData.java:
      317)
              at sun.awt.Win32GraphicsConfig.createSurfaceData(Win32GraphicsConfig.jav
      a:358)
              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:589)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
      read.java:234)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
      ad.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 bug can be reproduced only on Mustang build. It can't be reproduced on Tiger.

      ###@###.### 2004-12-23 20:19:59 GMT

            Unassigned Unassigned
            xlu Xiaobin Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: