IBM Support

IV82678: NULLPOINTEREXCEPTION IN COM.IBM.JIT.DECIMALFORMATHELPER.FORMATAS DOUBLE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: The JVM throws an unexpected NullPointerException
    from com.ibm.jit.DecimalFormatHelper.formatAsDouble while
    running some workloads that make use of the BigDecimal class.
    .
    Stack Trace: The top frame of the Java backtrace is the method
    com.ibm.jit.DecimalFormatHelper.formatAsDouble(DecimalFormatHelp
    er.java:109)
    .
    

Local fix

  • The IBM Java option -Xjit:disableDecimalFormatPeephole is known
    to correct this issue in all cases. Some workloads may see a
    small to moderate performance impact when running with this
    option.
    

Problem summary

  • The problem was caused by a JIT compiler optimization
    responsible for handling patterns of the form
    DecimalFormat.format(BigDecimal.doubleValue()). This
    optimization generated incorrect code in some cases.
    

Problem conclusion

  • The J9 JIT compiler was modified so that the problematic
    optimization generates correct code in all cases.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR3       (8.0.3.0)
       7 R1 SR3 FP40  (7.1.3.40)
       7    SR9 FP40  (7.0.9.40)
       6 R1 SR8 FP25  (6.1.8.25)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV82678

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-03-14

  • Closed date

    2016-03-14

  • Last modified date

    2016-03-14

  • 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

  • R260 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:
14 March 2016