IBM Support

PH24820: ILLEGALARGUMENT EXCEPTION ENCOUNTERED WHEN ATTEMPTING TO TRANSFORM A REST SERVICE MODEL TO SWAGGER.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The exception happens when doing a REST to Swagger transform
    with  "Check for cyclic dependencies among definitions"  option
    ticked in the .tc settings. However, when removing the
    SwaggerDefinition stereotype from the FeaturesConnection list
    class, the transformation succeeded.
    
    Steps to replicate:
    1. Open RSA 9.7.0.
    2. Create model project.
    3. Create tc file REST to Swagger.
    4. Before transforming, tick this option : "Check for cyclic
    dependencies among definitions"
    5. Run the transform.
    6.Exception is encountered.
    

Local fix

  • There is no known workaround.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In RSAD 9.7.0, REST to Swagger transform fails but when      *
    * SwaggerDefinition stereotype is removed, it succeeds.        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • In RSAD 9.7.0.3, REST to Swagger transform succeeds and we are
    showing a warning message instead of throwing
    IllegalArgumentException (If any node is missing while checking
    cyclic dependency).
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH24820

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-04-27

  • Closed date

    2020-10-01

  • Last modified date

    2020-10-01

  • 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

    SW ARCHITECT WI

  • Fixed component ID

    5724I7001

Applicable component levels

  • R970 PSY

       UP

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

Document Information

Modified date:
16 October 2021