After successfully connecting to a postgres 7.3 database, I
created a new diagram and tried to create a new table. The
results are in the stacktrace below.
Client Info:
java.runtime.version 1.4.1_01-69.1
os.name Mac OS X
Postgresql driver jdbcexp/drivers/pg73jdbc3.jar
Stacktrace:
java.lang.IllegalArgumentException: setSelectedIndex: 0 out
of bounds
at
javax.swing.JComboBox.setSelectedIndex(JComboBox.java:5
95)
at
jdbcexplorer.dbtools.tableeditor.JxTableIndex.init(JxTableInd
ex.java:164)
at
jdbcexplorer.dbtools.tableeditor.JxTableIndex.<init>(JxTable
Index.java:45)
at
jdbcexplorer.dbtools.tableeditor.IndicesTab.init(IndicesTab.ja
va:116)
at
jdbcexplorer.dbtools.tableeditor.IndicesTab.<init>(IndicesTa
b.java:48)
at
jdbcexplorer.dbtools.tableeditor.JTableEditorDlg.<init>(JTabl
eEditorDlg.java:55)
at
jdbcexplorer.dbtools.SqlUtil.alterTableDlg(SqlUtil.java:77)
at
jdbcexplorer.dbtools.SqlUtil.createTableDlg(SqlUtil.java:50)
at
jdbcexplorer.diagram.DbDiagram.createTable(DbDiagram.ja
va:153)
at
jdbcexplorer.diagram.DbDiagram.actionPerformed(DbDiagra
m.java:293)
at
jdbcexplorer.swing.JActionSet.actionPerformed(JActionSet.ja
va:99)
at
jdbcexplorer.swing.JActionSet$JAction.actionPerformed(JActi
onSet.java:172)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButt
on.java:1797)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerfo
rmed(AbstractButton.java:1850)
at
javax.swing.DefaultButtonModel.fireActionPerformed(Default
ButtonModel.java:419)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonMo
del.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(B
asicButtonListener.java:247)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMul
ticaster.java:227)
at
java.awt.Component.processMouseEvent(Component.java:50
93)
at
java.awt.Component.processEvent(Component.java:4890)
at
java.awt.Container.processEvent(Container.java:1566)
at
java.awt.Component.dispatchEventImpl(Component.java:359
8)
at
java.awt.Container.dispatchEventImpl(Container.java:1623)
at
java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Containe
r.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Containe
r.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:1585)
at
java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(E
ventDispatchThread.java:230)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Eve
ntDispatchThread.java:183)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
ead.java:177)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
ead.java:169)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java
:99)