IBM Support

PI63517: GUARD CONDITION NEEDED, TO AVOID NULLPOINTEREXCEPTION WHEN STEREOTYPE AND ECLASSIFIER HAVE NAME CONFLICT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following will create a Null Pointer Exception (NPE):
    
    Stereotype with xmi.id="_a1qlwtaNEeGqWKM9be8kRA" has name
    "Mini-computer" (see line 780), however, the corresponding
    eClassifier with xml.id="_a1qksdaNEeGqWKM9be8kRA" has name
    "Minicomputer" (see line 114). No issue will exist if both names
    are the same. However, we need to put a guard condition in the
    code to prevent NPE.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * -Guard condition is needed to avoid null ponter exception    *
    * when stereotype and classifier have name conflict.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • "Guard condition is needed to avoid null ponter exception when
    stereotype and classifier have name conflict.
    
    This has been fixed indirectly since the issue in profile is
    fixed with regards to handling of Default::Mini-computer and
    Default::Minicomputer stereotypes.
    "
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI63517

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-02

  • Closed date

    2016-12-22

  • Last modified date

    2016-12-22

  • 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 SW ARCHITE

  • Fixed component ID

    5725A3000

Applicable component levels

  • R950 PSY

       UP

  • R960 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021