Bug #4826
closedintermittent exceptions displaying matrix tokens
0%
Description
I experience intermittent exceptions displaying matrix tokens in a simple workflow. The problems are more frequent when using the runtime window, but I can generate the exceptions either way.
The offending workflow is attached to this message.
Sample of problem while repeatedely pressing the "run workflow " button (normal presentation window).
[run] 16 ms. Memory: 58332K Free: 18864K (32%)
[run] 15 ms. Memory: 58332K Free: 17878K (31%)
[run] 16 ms. Memory: 58332K Free: 17001K (29%)
[run] 16 ms. Memory: 58332K Free: 16048K (28%)
[run] 16 ms. Memory: 58332K Free: 18800K (32%)
[run] 16 ms. Memory: 58332K Free: 17876K (31%)
[run] Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 3 >= 2
[run] at java.util.Vector.elementAt(Vector.java:427)
[run] at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277)
[run] at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1967)
[run] at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1767)
[run] at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
[run] at javax.swing.JComponent.paintComponent(JComponent.java:751)
[run] at javax.swing.JComponent.paint(JComponent.java:1017)
[run] at javax.swing.JComponent.paintToOffscreen(JComponent.java:5112)
[run] at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475)
[run] at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406)
[run] at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
[run] at javax.swing.JComponent._paintImmediately(JComponent.java:5060)
[run] at javax.swing.JComponent.paintImmediately(JComponent.java:4870)
[run] at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
[run] at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
[run] at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
[run] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Sample of problem while repeatedly pressing the "go" button in the "run time window"
[run] 15 ms. Memory: 58332K Free: 15914K (27%)
[run] 16 ms. Memory: 58332K Free: 11679K (20%)
[run] 0 ms. Memory: 58332K Free: 10640K (18%)
[run] Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
[run] at java.util.Vector.elementAt(Vector.java:427)
[run] at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277)
[run] 16 ms. Memory: 58332K Free: 13221K (23%)
[run] at javax.swing.plaf.basic.BasicTableUI.paintGrid(BasicTableUI.java:1928)
[run] at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1764)
[run] at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
[run] at javax.swing.JComponent.paintComponent(JComponent.java:751)
[run] at javax.swing.JComponent.paint(JComponent.java:1017)
[run] at javax.swing.JComponent.paintToOffscreen(JComponent.java:5112)
[run] at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475)
[run] at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406)
[run] at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
[run] at javax.swing.JComponent._paintImmediately(JComponent.java:5060)
[run] at javax.swing.JComponent.paintImmediately(JComponent.java:4870)
[run] at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
[run] at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
[run] at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
[run] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Files