SOLVED: java.lang.ArrayIndexOutOfBoundsException, msg=0 >= 0
535919Oct 13 2008 — edited Oct 17 2008Hello all, I am building java application (Swing, ADF BC) that uses Oracle XE database. I created a panel with various components. It worked fine. However, now when I add new component on this panel i receive the following error message:
racle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ArrayIndexOutOfBoundsException, msg=0 >= 0
at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:228)
at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:274)
at view.finansije.PnlPretragaNaloga1.setBindingContext(PnlSomePanel.java:346)
at view.finansije.PnlPretragaNaloga1.main(PnlPretragaNaloga1.java:303)
## Detail 0 ##
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Vector.java:432)
at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:276)
at view.finansije.PnlPretragaNaloga1.jbInit(PnlSomePanel.java:265)
at view.finansije.PnlPretragaNaloga1.setBindingContext(PnlSomePanel.java:342)
at view.finansije.PnlPretragaNaloga1.main(PnlSomePanel.java:303)
I have to undo changes for panel to run correctly again. Simple deleting the component will not help because I keep receiving this error message after component has been deleted from the panel!
Any help would be greatly appreciated!
Edited by: Gox on Oct 17, 2008 2:56 AM