IBM Support

JR48423: CLASSCASTEXCEPTION IS OBSERVED WHEN STRING VARIABLE IS POPULATED WITH A NUMBER GREATER THAN 9 DIGITS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a web service integration service contains a variable
    that
    is of the string data type and the variable contains a number
    that is longer than nine digits, you receive the following
    error:
    
    Caused by: java.lang.ClassCastException: java.lang.String
    incompatible with java.lang.Number
    at
     com.lombardisoftware.core.xml.AbstractXMLSerializer.serializeSi
    mpleTypeValue(AbstractXMLSerializer.java:506)
    at
     com.lombardisoftware.core.xml.AbstractXMLSerializer.serializeSi
    mpleType(AbstractXMLSerializer.java:371)
    at
     com.lombardisoftware.core.xml.AbstractXMLSerializer.serializeOb
    ject(AbstractXMLSerializer.java:239)
    
    LOCAL FIX:
    n/a
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM Business Process Manager Advanced and   *
    *                  Standard                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: In IBM BPM, the web service XML         *
    *                      generator helps users match the         *
    *                      values to data object types. If a       *
    *                      string contains only digits, the web    *
    *                      service XML generator might match the   *
    *                      string to a decimal type by mistake.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a web service integration service contains a variable that
    is of the string data type and the variable contains a number
    that is longer than nine digits, you receive the following
    error:
    java.lang.ClassCastException: java.lang.String incompatible with
    java.lang.Number
    at
    com.lombardisoftware.core.xml.AbstractXMLSerializer.serializeSim
    pleTypeValue(AbstractXMLSerializer.java:506)
    

Problem conclusion

  • After the fix is applied, the correct XML or object can be
    created for a string that contains only digits.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR48423. After you select the product group, product,
    installed version, and platform, click Continue and then
    select APAR or SPR, enter JR48423, and click Continue. When
    downloading fix packages, ensure that you also download the
    readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR48423

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-11-11

  • Closed date

    2013-12-19

  • Last modified date

    2014-01-24

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 October 2021