Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Bug in Forecast

open
nobody
5
2003-07-11
2003-07-11
Anonymous
No

Assume that a forecase has been submitted. Attempting to
submit again gives:

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:508)
at java.util.ArrayList.get(ArrayList.java:320)
at
sellwin.gui.ForecastTableModel.getForecast(ForecastTableModel.java:76)
at
sellwin.gui.ForecastPanel$2.actionPerformed(ForecastPanel.java:89)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
at
java.awt.Component.processMouseEvent(Component.java:5134)
at
java.awt.Component.processEvent(Component.java:4931)
at
java.awt.Container.processEvent(Container.java:1566)
at
java.awt.Component.dispatchEventImpl(Component.java:3639)
at
java.awt.Container.dispatchEventImpl(Container.java:1623)
at
java.awt.Component.dispatchEvent(Component.java:3480)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at
java.awt.Container.dispatchEventImpl(Container.java:1609)
at
java.awt.Window.dispatchEventImpl(Window.java:1590)
at
java.awt.Component.dispatchEvent(Component.java:3480)
at
java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

Ditesh Kumar
ditesh@ameba6.com

Discussion