IBM Support

IV68348: J2C LIBRARY THROWS A JAVA.LANG.ILLEGALARGUMENTEXCEPTION WITH MES SAGE 'INVALID INPUT SIGN' ON UNINITIALIZED DATA

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: The J2C library is throwing a
    java.lang.IllegalArgumentException with message "Invalid input
    sign" when an uninitialized External Decimal is passed to the
    marshalling or unmarshalling facility.
    .
    Stack Trace: Exception in thread "main"
    java.lang.IllegalArgumentException: Invalid input sign.at
    com.ibm.dataaccess.DecimalData.checkExternalDecimalSignValidity(
    Unknown Source)at
    com.ibm.dataaccess.DecimalData.convertExternalDecimalToLong(Unkn
    own Source)at
    com.ibm.etools.marshall.util.MarshallExternalDecimalUtils.unmars
    hallLongFromBuffer(Unknown Source)at
    com.ibm.etools.marshall.util.MarshallExternalDecimalUtils.unmars
    hallIntFromBuffer(Unknown Source)at
    com.ibm.etools.marshall.util.MarshallExternalDecimalUtils.unmars
    hallIntFromBuffer(Unknown Source)
    .
    The External Decimal input is passed as a zero initialized byte
    array. The sign nibble contains the value of 0.
    

Local fix

  • N/A
    

Problem summary

  • The IBM SDK 1.7.1 J2C library shipped with the new Data Access
    Accelerator (DAA) marshalling / unmarshalling library. Prior to
    this upgrade the J2C library assumed that all BCD types are
    positive, unless an explicit negative sign code is present in
    the sign nibble. The DAA library makes no such assumption and
    hence an exception is thrown.
    

Problem conclusion

  • The Data Access Accelerator class library and the JIT have been
    updated to assume that all Binary Coded Decimal (BCD) types have
    a positive sign, unless an explicit negative sign code is
    present in the sign nibble, in which case the BCD is interpreted
    to have negative sign.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR2 FP10  (7.1.2.10)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68348

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-01-06

  • Closed date

    2015-01-06

  • Last modified date

    2015-01-06

  • 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

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R130 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 January 2015