IBM Support

PI22385: Null pointer exception occurs on a UML-to-Spring transformation if it contains DBCS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NPE occurs on transform UML model into Spring.
    It only occurs when UML model contains Japanese double byte
    characters.
    
    
    - Steps to reproduce
    1. Install RSA (Including Spring transformation feature).
    2. Create Spring Core Model
    Including Japanese characters in the contents which will be a
    part of spring XML after transformation.(ex. inject data)
    3. Create the transformation configuration, and enable Spring
    extension.
    4. Execute UML to Java Transformation
    5. Check the result
    
    - Result
    At step 5. An error occurs and transformation won't be
    completed.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a UML-to-Java transformation is executed with Spring
    extension, it aborts with an error if the UML model contains
    Japanese text. Details section of the error dialog box
    contains an entry for java.lang.NullPointerException.
    

Problem conclusion

  • Reading of Japanese text as a stream triggers this
    exception. It can be prevented by passing "utf-8" encoding
    when stream is created. This has now been corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI22385

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-21

  • Closed date

    2014-11-03

  • Last modified date

    2014-11-03

  • 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

  • R900 PSN

       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":"900","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021