IBM Support

PM93998: After UML-to-WSDL transformation with parameter whose type is 'global', a NullPointerException error results

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Rational Software Architect (RSA), if you have a model
    that contains a parameter whose type includes the '??global??'
    stereotype, and you then run a UML-to-WSDL transformation, a
    NullPointerException error results.
    
    The following steps reproduce the problem:
    
    1. Create a UML project and model
    
    2. Add the 'SoaML', 'WSDL Transformation', and 'XSD
    Transformation' profiles to the model
    
    3. Add a package with the 'Definition' stereotype and another
    package under the first package with the 'schema' stereotype
    
    4. Add a class and give it the 'global' stereotype
    
    5. Add an interface with the 'ServiceInterface' stereotype
    
    6. Add an operation to the interface and an 'in' parameter to
    the operation
    
    7. Click the parameter's Properties ? Service ? Select type
    
    8. Give the parameter the type of the 'global' class created int
    Step 4
    
    9. Add a UML-to-WSDL transformation configuration
    
    10. Save the changes and run the transformation
    
    Expected Result: The transformation runs without problems
    
    Actual Result: A 'NullPointerException' is thrown.
    
    The workaround is to remove the 'global' type from the
    parameter's Properties ? Service ? Type.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During UML-to-WSDL transformation a NullPointerException
    occur if the model contains a parameter whose type includes
    the "??global??" stereotype.
    

Problem conclusion

  • Null Pointer Exception is not thrown any more on running the
    UML-to-WSDL transformation with a parameter whose type is
    marked "global".
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM93998

  • 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-07-29

  • Closed date

    2013-12-13

  • Last modified date

    2013-12-13

  • 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:
10 September 2020