The Situation:
===============
I am viewing the data in a DB2-9 table. When I right click on a record and
say "Update Row", the following error is thrown on the Java console
window:
Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException:
40
at xyang.dbutil.DBUtil.actionPerformed(DBUtil.java:1250)
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.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
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.pumpOneEventForHierarchy(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)
Expected Results:
=================
I would expect either a popup, editable window in which I can update
specific columns in the row or something to that effect.
Xiaohong Yang
None
v1.0 (example)
Public
|
Date: 2007-03-02 14:44
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Closed | 2007-04-18 17:54 | xyang200 |
| close_date | 2007-03-06 00:48 | 2007-04-18 17:54 | xyang200 |
| status_id | Open | 2007-03-06 00:48 | xyang200 |
| resolution_id | None | 2007-03-06 00:48 | xyang200 |
| close_date | - | 2007-03-06 00:48 | xyang200 |
| assigned_to | nobody | 2007-03-02 14:44 | xyang200 |