IBM Support

PM70609: CCRC Plugin does not properly share state and can lead to inconsistencies on startup

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • During startup Eclipse may create multiple instances of the same
    plugin. In these scenarios, if state is not properly shared (for
    example: each instance does not carry the exact same state),
    problems will occur during startup.
    
    We are seeing some NullPointerExceptions and
    ArrayIndexOutOfBounds that are directly related to this issue
    
    Stacktrace
    
    
    ENTRY org.eclipse.ui.workbench 4 2 2012-08-02 10:56:07.926
    !MESSAGE Problems occurred when invoking code from plug-in:
    'org.eclipse.ui.workbench'.
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of
    range: 25
            at java.lang.String.substring(Unknown Source)
            at
    com.ibm.rational.clearcase.ide.plugin.ResourceSelectionManager.c
    onstructFromPath(Unknown
    Source)
            at
    com.ibm.rational.clearcase.ide.plugin.ResourceSelectionManager.c
    onvertToIResourceObject(Unknown
    Source)
            at
    com.ibm.rational.clearcase.ide.plugin.CMImageDecorator.decorate(
    Unknown
    Source)
            at
    org.eclipse.ui.internal.decorators.LightweightDecoratorDefinitio
    n.decorate(Unknown
    Source)
            at
    org.eclipse.ui.internal.decorators.LightweightDecoratorManager$L
    ightweightRunnable.run(Unknown
    Source)
            at org.eclipse.core.runtime.SafeRunner.run(Unknown
    Source)
            at
    org.eclipse.ui.internal.decorators.LightweightDecoratorManager.d
    ecorate(Unknown
    Source)
            at
    org.eclipse.ui.internal.decorators.LightweightDecoratorManager.g
    etDecorations(Unknown
    Source)
            at
    org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureR
    esultCached(Unknown
    Source)
            at
    org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(Unk
    nown
    Source)
            at org.eclipse.core.internal.jobs.Worker.run(Unknown
    Source)
    
    !ENTRY org.eclipse.ui 4 4 2012-08-02 10:56:07.928
    !MESSAGE Exception in Decorator. The 'IBM Rational ClearTeam
    Explorer   ' decorator will be disabled.
    
    !ENTRY org.eclipse.ui 4 4 2012-08-02 10:56:07.928
    !MESSAGE String index out of range: 25
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of
    range: 25
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    CTE is throwing exceptions on startup
    

Problem conclusion

  • A fix is available in ClearCase version 8.0.0.4
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM70609

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-09

  • Closed date

    2012-09-28

  • Last modified date

    2012-09-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CLEARCASE WIN

  • Fixed component ID

    5724G2900

Applicable component levels

  • R800 PSN

       UP



Document information

More support for: Rational ClearCase

Software version: 8.0

Reference #: PM70609

Modified date: 28 September 2012