IBM Support

PM81142: Selecting 'Select Profile Types' and then generating profile tooling code leads to a 'TransformException'

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you create a UML Profile Tooling Plug-in Project and choose
    'Select Profile Types' from the wizard, not all the
    '{Stereotype-Concrete Metaclass (parent)}' will be selected.  As
    a
    result, when you generate tooling code, a 'TransformException'
    error will prevent the code from being generated.
    
    The following steps reproduce the problem:
    
    1. Create a profile (.epx) file with a class diagram
    
    2. Create 3 stereotypes, S1, S2, S3, and add them to the diagram
    
    3. Give S1 a 'Metaclass extension' of 'Class', give S2 a
    'Metaclass extension' of 'Classifier', and give S3 a 'Metaclass
    extension' of 'Dependency'
    
    4. Drag the 'Dependency' metaclass onto the diagram, so that the
    extension relationship appears from S3 to 'Dependency'
    
    5. Draw a generalization relationship from S1 to S2
    
    6. Draw a directed association from S1 to S3
    
    7. Save all the changes
    
    8. Create a UML Profile Tooling Plugin Project.
    
    9. Select 'Elements' tab ? Deselect All ? Select Profile Types
    from the 'Advanced' button on the final wizard screen
    
    10. Select OK ? Finish to complete the wizard
    
    11. Generate tooling code from the tooling model
    
    Expected Result: Tooling code is generated without problems
    
    Actual Result: No tooling code is generated. Instead, the
    following error appears:
    
    !ENTRY com.ibm.xtools.uml.profile.tooling.ui 4 3 2013-01-21
    13:49:27.164
    !MESSAGE
    !STACK 0
    com.ibm.xtools.transform.core.TransformException: Rule
    'LinkSpecializationETToLinkSpecializationET Transform -
    SourceFeature To SourceGenFeature Rule': was executing source
    'org.eclipse.uml2.uml.internal.impl.ClassImpl ....
    
    
    The workaround is to verify if all '{Stereotype-Concrete
    Metaclass (parent)}' entries in the Elements table are selected
    as a result of 'Select Profile Types' action. If any such entry
    is not selected by default, select it  manually.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    "Select Profile Types" from the wizard was not selecting all
    "{Stereotype-Concrete Metaclass (parent)}" entries on
    Elements tab.
    

Problem conclusion

  • Logic corrected for appropriate selection of elements.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM81142

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-22

  • Closed date

    2013-06-16

  • Last modified date

    2013-06-16

  • 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

  • R851 PSN

       UP

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

Document Information

Modified date:
16 June 2013