java.lang.ArrayIndexOutOfBoundsException: 13 >= 13

JDK Bug System | Webbug Group | 3 months ago
  1. 0

    FULL PRODUCT VERSION : JAVA_VERSION="1.8.0_102" OS_NAME="Windows" OS_VERSION="5.2" OS_ARCH="amd64" SOURCE=" .:daafd7d3a76a corba:56b133772ec1 deploy:de4043049895 hotspot:ac29c9c1193a hotspot/make/closed:c65fdf789fd7 hotspot/src/closed:60c728d85221 hotspot/test/closed:1e18c2279cc4 install:6f5ea1d3b6a0 jaxp:1f032000ff4b jaxws:81f2d81a48d7 jdk:48c99b423839 jdk/make/closed:e4e4e633f6e0 jdk/src/closed:e49a105b44cf jdk/test/closed:410f3c278e89 langtools:0549bf2f507d nashorn:0948e61a3722 pubs:6b7e6c06ce51 sponsors:b2b1e386c6b3" BUILD_TYPE="commercial" java version "1.8.0_102" Java(TM) SE Runtime Environment (build 1.8.0_102-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows [Version 6.1.7601] A DESCRIPTION OF THE PROBLEM : I am indirectly filling and deleting via Default Table Model in Swing via code in a rapid manner. (sequencially creating and deleting ca. 200 ROIs table entries). REGRESSION. Last worked in version 8u77 ADDITIONAL REGRESSION INFORMATION: I have it deleted now: but the output should be similar to this: java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25) Java HotSpot(TM) 64-Bit Server VM (build ??.???-b??, mixed mode) STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : I am programming a Plugin for ImageJ. I can't identify causing thread. I wasbugfixing arround usage of RoiManager (adding and deleting ROI's) from ROI manager via plugin. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - exception does not appear. ACTUAL - exception in log => I supose, that something is going wrong ERROR MESSAGES/STACK TRACES THAT OCCUR : Appearing very often IndexOutOfBoundsException in BasicListUI while automatic tests and rapid UI updates => see stacktraces: ExceException in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 5 >= 0 at java.util.Vector.elementAt(Vector.java:470) at javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:89) at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:204) at javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:317) at javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:240) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent.java:779) at javax.swing.JComponent.paint(JComponent.java:1055) at javax.swing.JComponent.paintChildren(JComponent.java:888) at javax.swing.JComponent.paint(JComponent.java:1064) at javax.swing.JViewport.paint(JViewport.java:731) at javax.swing.JComponent.paintChildren(JComponent.java:888) at javax.swing.JComponent.paint(JComponent.java:1064) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115) at java.awt.Container.paint(Container.java:1967) at java.awt.Window.paint(Window.java:3877) at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264) at sun.awt.RepaintArea.paint(RepaintArea.java:240) at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:347) at java.awt.Component.dispatchEventImpl(Component.java:4948) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:740) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:699) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:713) at java.awt.EventQueue$4.run(EventQueue.java:711) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:710) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 13 >= 13 at java.util.Vector.elementAt(Vector.java:470) at javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:89) at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:204) at javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:317) at javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:240) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent.java:779) at javax.swing.JComponent.paint(JComponent.java:1055) at javax.swing.JComponent.paintChildren(JComponent.java:888) at javax.swing.JComponent.paint(JComponent.java:1064) at javax.swing.JViewport.paint(JViewport.java:731) at javax.swing.JComponent.paintChildren(JComponent.java:888) at javax.swing.JComponent.paint(JComponent.java:1064) at javax.swing.JComponent._paintImmediately(JComponent.java:5191) at javax.swing.JComponent.paintImmediately(JComponent.java:4991) at javax.swing.RepaintManager$3.run(RepaintManager.java:808) at javax.swing.RepaintManager$3.run(RepaintManager.java:796) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718) at javax.swing.RepaintManager.access$1100(RepaintManager.java:62) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:738) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:699) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:708) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) REPRODUCIBILITY : This bug can be reproduced often. ---------- BEGIN SOURCE ---------- I do not know the causing source code because I am running in a plugin of ImageJ ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : I do not have a workarround

    JDK Bug System | 3 months ago | Webbug Group
    java.lang.ArrayIndexOutOfBoundsException: 13 >= 13
  2. 0

    Unhandled exception thrown while clicking around in the charm view

    GitHub | 5 years ago | kelemen
    java.lang.ArrayIndexOutOfBoundsException: 14 >= 14
  3. 0

    Container.getComponent()

    GitHub | 2 years ago | Fundaran
    java.lang.ArrayIndexOutOfBoundsException: No such child: 16
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Constantly getting crash reports

    GitHub | 3 years ago | Jamesp55
    java.lang.ArrayIndexOutOfBoundsException: 1
  6. 0

    Swing, Remote Desktop Exception

    Stack Overflow | 3 years ago | durron597
    java.lang.ArrayIndexOutOfBoundsException: 3

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      13 >= 13

      at java.util.Vector.elementAt()
    2. Java RT
      EventDispatchThread.run
      1. java.util.Vector.elementAt(Vector.java:470)
      2. javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:89)
      3. javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:204)
      4. javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:317)
      5. javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:240)
      6. javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
      7. javax.swing.JComponent.paintComponent(JComponent.java:779)
      8. javax.swing.JComponent.paint(JComponent.java:1055)
      9. javax.swing.JComponent.paintChildren(JComponent.java:888)
      10. javax.swing.JComponent.paint(JComponent.java:1064)
      11. javax.swing.JViewport.paint(JViewport.java:731)
      12. javax.swing.JComponent.paintChildren(JComponent.java:888)
      13. javax.swing.JComponent.paint(JComponent.java:1064)
      14. javax.swing.JComponent._paintImmediately(JComponent.java:5191)
      15. javax.swing.JComponent.paintImmediately(JComponent.java:4991)
      16. javax.swing.RepaintManager$3.run(RepaintManager.java:808)
      17. javax.swing.RepaintManager$3.run(RepaintManager.java:796)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      20. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
      21. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
      22. javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
      23. javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
      24. javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
      25. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
      26. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:738)
      27. java.awt.EventQueue.access$300(EventQueue.java:103)
      28. java.awt.EventQueue$3.run(EventQueue.java:699)
      29. java.awt.EventQueue$3.run(EventQueue.java:697)
      30. java.security.AccessController.doPrivileged(Native Method)
      31. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      32. java.awt.EventQueue.dispatchEvent(EventQueue.java:708)
      33. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      34. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      35. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      36. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      37. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      38. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
      38 frames