Results 1 to 4 of 4

Thread: Drivin' me maaaad RCP-216

  1. #1
    Join Date
    Aug 2005
    Location
    London (the English one!)
    Posts
    378

    Angry Drivin' me maaaad RCP-216

    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...
    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)
    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 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...
    Code:
        protected JComponent createFormControl() {
            TableFormBuilder formBuilder = new TableFormBuilder(getBindingFactory());
            return formBuilder.getForm();
        }
    Any suggestion apart from jumping in the Thames from Tower Bridge?

    Thanks!

    Benoit

  2. #2
    Join Date
    Aug 2005
    Location
    London (the English one!)
    Posts
    378

    Default

    Ok,

    The difference is in the JRE... 1.5.0_02 => OK,
    1.5.0_06 NOT OK!!!

    Has anyone experienced this?
    Thanks!

    Benoit

  3. #3
    Join Date
    Aug 2005
    Location
    London (the English one!)
    Posts
    378

    Default

    Could I ask some developer to try a tabbed dialogue running under JRE 1.5.0_06 (the latest)? (or _05? but _02 seems to be ok)

    When you click from one tab to the other... do you get an ArrayIndexOutOfBoundException?

    This may be a jdk issue...

    Thanks a lot!
    Benoit

  4. #4
    Join Date
    Aug 2004
    Location
    San Francisco
    Posts
    423

    Default

    Benoit,

    Looks like this is indeed a JDK change. I just noticed one of the entries on clientjava.com mentioning a release of a product called QFtestJUI that appears to address this exact issue. The consider the bug "harmless but annoying".

    Jonny

    Quote Originally Posted by benoitx
    Could I ask some developer to try a tabbed dialogue running under JRE 1.5.0_06 (the latest)? (or _05? but _02 seems to be ok)

    When you click from one tab to the other... do you get an ArrayIndexOutOfBoundException?

    This may be a jdk issue...

    Thanks a lot!
    Benoit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •