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

ArrayIndexOutOfBoundsException threw when run Java2Demo in mustang b58

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P5 P5
    • 6
    • 6
    • client-libs
    • None

      Java Version: 1.6.0-b58
      Platforms: SunBlad2000 with 2 cpus 900Mhz, 2048 Mb
      Host name: soda.sfbay

      Problems:
      When running Java2Demo with -runs=10 -delay=5 -ccthread -zoom,
      got exceptions, it always reproducible with the demo which is bundles with the jdk.
      but it hardly reproducible with attached Java2Demo which Blessan has some fixes.

      File a bug for tracking the problem in the future.
      It only happens in solaris-sparc 10 with two cpus.

      How to reproduce:
      1. go to java promotion site, run Java2Demo.jar by:
      bin/java -d64 -jar Java2Demo.jar -runs=10 -delay=5 -ccthread -zoom
      2. If the demo within the jdk, it always reproducible.
      if use attached demo, it hardly reproduce, but got exception once.

      The exceptions as followings:
      bin/java -version
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b58)
      Java HotSpot(TM) Server VM (build 1.6.0-ea-b58, mixed mode)
      bash-3.00$ xhost +
      access control disabled, clients can connect from any host
      bash-3.00$ bin/java -jar demo/jfc/Java2D/*.jar -runs=50 -delay=3 -ccthread -zoom
      Java2D Demo RunWindow : 50 Runs, 3 second delay between tabs
      java version: 1.6.0-ea
      SunOS 5.10

      #0 Tue Nov 01 17:22:29 PST 2005, 6883.0938K used
      Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: No such child: 0
              at java.awt.Container.getComponent(Container.java:281)
              at javax.swing.JComponent.rectangleIsObscured(JComponent.java:4300)
              at javax.swing.JComponent.paint(JComponent.java:973)
              at javax.swing.JComponent.paintToOffscreen(JComponent.java:5077)
              at

       javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:279)
              at javax.swing.RepaintManager.paint(RepaintManager.java:1079)
              at javax.swing.JComponent._paintImmediately(JComponent.java:5025)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4843)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:688) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:644) at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:624)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
                      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
                      at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

            svioletsunw Scott Violet (Inactive)
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: