Clarity

  • 1.  java.lang.ArrayIndexOutOfBoundsException: -1

    Posted Sep 09, 2010 10:30 AM
    Hello

    While opening a project in OWB, a user gets the below error -

    Unable to open project XXXXX. An exception occured: java.lang.ArrayIndexOutOfBoundsException: -1

    We checked by opening the from the development environment, but did not get the error there. It only occurs in the production system.

    Any clues ?????

    I've checked the prteam, prassignment, inv_investments tables for -99 issue ( No luck ... :-( )

    A quick response would be much appreciated !!!

    Regards
    NJ


  • 2.  RE: java.lang.ArrayIndexOutOfBoundsException: -1

     
    Posted Sep 10, 2010 02:07 PM
    Hi All,

    Any ideas here for NJ?

    Thanks and have a great weekend all!

    Chris


  • 3.  RE: java.lang.ArrayIndexOutOfBoundsException: -1
    Best Answer

    Posted Sep 13, 2010 02:11 AM
    Hello

    Just to share with you all -

    [color=#231EE1]1. What does the 'prwbslevel = -1' state ?
    --> This value doesn' exist and needs to be corrected. The value is the
    task's depth in the work breakdown structure. A top-level task has a
    PRWBSLevel of 1. If a top level task has a child task, the child task would
    have a PRWBSLevel of 2.

    2. What makes the level set to -1 ?
    --> That's a bug when you create a task from a template. (CLRT-30922 and
    CLRT-41119)

    3. Can the prwbslevel be -2 as well ?
    --> Thats also caused by the bug.

    4.We find that for some of the tasks, the prwbslevel is -2 / 0 - is this ok
    ?
    --> Both caused by the bug.

    The bug's have been fixed in 12.0.5.
    Just to verify which bug you are exactly facing:
    1) Have the tasks from this project created from a template?
    2) Can you see the tasks with 0 and -2 under Tasks --> WBS?
    3) Has the project been baselined? Baselining again can fix the issue and
    the WBS discrepancies.

    It can also be that a templates has the WBS & task list issue, before even
    creating new projects or improting tasks from this template.

    Next to the query and baselining, you can resolve the issue by opening the
    affected projects in OWB, making a change
    and saving it back. Once you did this, the WBS and task list should match
    again as expected.[color]

    Regards
    NJ


  • 4.  RE: java.lang.ArrayIndexOutOfBoundsException: -1

     
    Posted Sep 13, 2010 02:22 PM
    Thanks NJ for letting everyone know and sharing this!

    Chris