Hi
I am calling to the community to see who is experiencing the issue related to RCP 216:
http://opensource2.atlassian.com/pro...browse/RCP-216
ArrayOutOfBoundException when clicking on a TAB...
It does not happen on my machine but on a colleague's, same JDK, same everything... except faster machine. The exception happens consistently on his machine.Code:java.lang.ArrayIndexOutOfBoundsException: 1 at java.awt.Container.validateTree(Unknown Source) at java.awt.Container.validateTree(Unknown Source) at java.awt.Container.validate(Unknown Source) at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow n Source) at java.awt.event.InvocationEvent.dispatch(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)
Code:java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
I have managed to narrow it down. It works if the "faulty tab" Form only declares a empty TableForm... as soon as ANYTHING is put on that form... kaboom...
Any suggestion apart from jumping in the Thames from Tower Bridge?Code:protected JComponent createFormControl() { TableFormBuilder formBuilder = new TableFormBuilder(getBindingFactory()); return formBuilder.getForm(); }
Thanks!
Benoit


Reply With Quote