Error during whole row selection (copy/paste)

User 677b9c22ff

15-11-2006 23:40:35

Hi,


select a single rowon a DB and press Ctrl+C (copy) then select another row or select any other value or row and press Cltr+C again.





: throws an exception


java.lang.ArrayIndexOutOfBoundsException: -1


at com.im.workbench.uiwidgets.table.WBTableTransferHandler.prepareData(WBTableTransferHandler.java:205)


at com.im.workbench.uiwidgets.table.WBTableTransferHandler.canImport(WBTableTransferHandler.java:143)


at com.im.workbench.uiwidgets.table.TableActions$ClipboardActions$ClipboardPasteAction.valueChanged(TableActions.java:292)


at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)


at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)


at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Source)


at javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(Unknown Source)


at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(Unknown Source)


at java.awt.AWTEventMulticaster.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)


[catch] 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)





Tobias

ChemAxon fa971619eb

16-11-2006 09:25:15

Thanks for the bug report. We are looking into it.