IBM Support

JR31032: NullPointerException during UML-to-LDM transformation when 'Fore ignKeyAttributeNames' property is filled in

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • 1. Create a UML project ? model and apply the 'LogicalDataModel'
    profile
    to the model  in RSA
    
    2. Create two packages, Package1 and Package2, inside the model
    
    3. Create a class inside each package, Class1 and Class2, and gi
    ve these
    classes the 'Entity' stereotype
    
    4. Create primary keys for each class, attrib1 and attrib2, and
    drag
    them onto a diagram
    
    5. Draw a directed association from Class1 to Class2
    
            Result: In the Project Explorer, the association is save
    d in
    Package1, as expected
    
    6. Create a UML-to-LDM transformation configuration and run it
    
            Result: The transformation occurs without any errors, as
    
    expected
    
    7. Go to the association's Properties ? Stereotypes ?
    
    ForeignKeyAttributeNames textbox, add 'attribute1,Class1attribut
    e1'
    (without quotation marks) and save the changes
    
    8. Move the association into Package2 and run the transformation
     again
            Result: The NullPointerException from your .log and scre
    enshot
    is thrown, which is not expected
    
    9. Move the association from Package2 back into Package1 and run
     the
    transformation again
    
            Result: The NullPointerException from your .log and scre
    enshot
    is thrown again, which is not expected
    
    10. Move Class2 from Package2 to Package1 and run the transforma
    tion
    again
    
            Result: The transformation proceeds without errors
    

Local fix

Problem summary

  • NullPointerException during UML-to-LDM transformation when
    "ForeignKeyAttributeNames" property is filled in
    

Problem conclusion

  • Fixed in release RSx 7008.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR31032

  • Reported component name

    RDA DATA MODELI

  • Reported component ID

    5724L6602

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-11-06

  • Closed date

    2008-12-12

  • Last modified date

    2008-12-12

  • 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

    RDA DATA MODELI

  • Fixed component ID

    5724L6602

Applicable component levels

  • R700 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSSRXA","label":"Rational Data Architect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 October 2021