[#1163] - Changing Variable table error

Category:
Bug report
Priority:
Urgent
Status:
Assigned
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

When working with variables I have run into issues with iReport 2.0 crashing or at least the variable window stops repainting.

This happened most recently after removing a bunch of variables and also just when changing a variable which caused the following stacktrace:

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
13 >= 0
at java.util.Vector.elementAt(Unknown Source)
at javax.swing.table.DefaultTableModel.getValueAt(Unknown Source)
at it.businesslogic.ireport.gui.ValuesPanel.getSelectedObjects(ValuesPan
el.java:1207)
at it.businesslogic.ireport.gui.ValuesPanel.jTableVariablesListSelection
ValueChanged(ValuesPanel.java:169)
at it.businesslogic.ireport.gui.ValuesPanel$2.valueChanged(ValuesPanel.j
ava:97)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Sou
rce)
at org.jdesktop.swingx.JXTable.tableChanged(JXTable.java:1383)
at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)

at javax.swing.table.AbstractTableModel.fireTableRowsDeleted(Unknown Sou
rce)
at javax.swing.table.DefaultTableModel.setNumRows(Unknown Source)
at javax.swing.table.DefaultTableModel.setRowCount(Unknown Source)
at it.businesslogic.ireport.gui.ValuesPanel.updateVariables(ValuesPanel.
java:1170)
at it.businesslogic.ireport.gui.ValuesDialog.subDatasetObjectChanged(Val
uesDialog.java:321)
at it.businesslogic.ireport.SubDataset.fireSubDatasetObjectChangedListen
erSubDatasetObjectChanged(SubDataset.java:303)
at it.businesslogic.ireport.gui.ValuesPanel.modifyVariable(ValuesPanel.j
ava:2002)
at it.businesslogic.ireport.gui.ValuesPanel.modifyVariable(ValuesPanel.j
ava:1956)
at it.businesslogic.ireport.gui.ValuesPanel.jButtonModifyVariableActionP
erformed(ValuesPanel.java:1061)
at it.businesslogic.ireport.gui.ValuesPanel.access$2600(ValuesPanel.java
:53)
at it.businesslogic.ireport.gui.ValuesPanel$33.actionPerformed(ValuesPan
el.java:586)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

jmaher's picture
19
Joined: Apr 18 2007 - 3:38am
Last seen: 10 months 6 days ago
Feedback
randomness