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

Regression test OffByOne.java threw exceptions in windows

XMLWordPrintable

    • 2d
    • b28
    • x86
    • windows_vista
    • Verified

        Java Version: 1.6.0_10-ea-b10
        Platform: Windows-Vista

        Problem: The regression test OffByOne.java threw exceptions with D3D and without D3D flag when it is running.
        It is OK in solaris platform.

        The exception is as the followings:
        Running test.
        Direct3D pipeline enabled on screen 0
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ff315f57
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ff174440
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ff18413f
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ffe5e8e7
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ffeeeeee
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ffeeeeee
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ffeeeeee
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ffeeeeee
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ffeeeeee
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ffeeeeee
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Image
         0 orig=ff5f8e83 this=ffeeeeee
                at OffByOne.captureWindow(OffByOne.java:92)
                at OffByOne$1.run(OffByOne.java:64)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
        ad.java:284)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
        java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
        ad.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
        Test finished.

        How to reproduce the problem:
        1, Get the test from:
        /net/jano1/export1/jcg/ws/6uN/jcg/j2se/test/java/awt/Graphics2D/DrawString/OffByOne.java
        Or see the attached code.
        2, using 6u10 to run the test on windows, you will see the exception.

              prr Philip Race
              ttzhang Tao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: