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

a regression test MemoryLeakTest threw exceptions.

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b20
    • CPU:
      sparc
    • OS:
      solaris
    • Verification:
      Verified

      Backports

        Description

        Java Version: 1.6.0_10-ea-b11
        Platform: Solaris-Sparc 10
        Problem: Running the test MemoryLeakTest with d3d flag, when you max/min the test windows as instruction says, it threw exceptions as below, but it is not always threw.
        /net/jre.sfbay/p/v06/jdk/6_10/ea/b11/binaries/solaris-sparc/bin/java -Dsun.java2d.d3d=True MemoryLeakTest
        Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
                at MemoryLeak.componentResized(MemoryLeakTest.java:131)
                at java.awt.Component.processComponentEvent(Component.java:5920)
                at java.awt.Component.processEvent(Component.java:5874)
                at java.awt.Container.processEvent(Container.java:2058)
                at java.awt.Window.processEvent(Window.java:1801)
                at java.awt.Component.dispatchEventImpl(Component.java:4466)
                at java.awt.Container.dispatchEventImpl(Container.java:2116)
                at java.awt.Window.dispatchEventImpl(Window.java:2443)
                at java.awt.Component.dispatchEvent(Component.java:4296)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
        MemoryLeakTest Failed.
        Exception in thread "main" java.lang.Exception: MemoryLeakTest failed.
                at MemoryLeakTest.main(MemoryLeakTest.java:27)

        How to reproduce the problem:
        Use 6u10-b11 java which in:
        /net/jre.sfbay/p/v06/jdk/6_10/ea/b11/binaries/solaris-sparc
        to run the regression test in
        /net/jano1/export1/jcg/ws/6uN/jcg/j2se/test/java/awt/image/MemoryLeakTest

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                tdv Dmitri Trembovetski (Inactive)
                Reporter:
                ttzhang Tao Zhang
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: