PM80356: [wi 246925] scm workspace replace-components' throws java.lang.N ullPointerException after moving component to different PA

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • When a component's owner is moved to a project area  that the
    current user does not have access too they will receive a NPE
    when running 'scm workspace replace-component' against a
    baseline that includes that component.
    
    Unexpected exception
    java.lang.NullPointerException
     at
    com.ibm.team.filesystem.cli.client.internal.workspace.ReplaceCom
    ponentsCmd.generateSnapshotParms(ReplaceComponentsCmd.java:367)
    
    
    Reproduction steps:
    1. Create a snapshot on a stream which contains more than one
    component.
    2. Change one component's owner to another PA
    3. Create a workspace using an userid which is the member of the
    original PA only.
    4. Use the userid in step 3 to run the scm command:
    scm workspace replace-components -r <repository>
    <workspace-of-step3> snapshot <snapshot-of-step-1>
    
    https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#act
    ion=com.ibm.team.workitem.viewWorkItem&id=246925
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    "scm workspace replace-components" throws
    NullPointerException after moving component to different
    project area
    

Problem conclusion

  • Fixed in 4.0.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM80356

  • Reported component name

    RATL TEAM CONCE

  • Reported component ID

    5724V0400

  • Reported release

    301

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-10

  • Closed date

    2013-08-07

  • Last modified date

    2013-08-07

  • 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

    RATL TEAM CONCE

  • Fixed component ID

    5724V0400

Applicable component levels

  • R301 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Team Concert

Software version:

3.0.1

Reference #:

PM80356

Modified date:

2013-08-07

Translate my page

Machine Translation

Content navigation