IBM Support

IZ85325: UNEXPECTED NPE FROM STRING.<INIT> AFTER JITING A METHOD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NullPointerException
    .
    Stack Trace: Exception data: java.lang.NullPointerException
    
    at java.lang.String.<init>(String.java:83)
    at a.b.SampleClass.sampleMethod(SampleClass.java:NN)
    ...
    .
    

Local fix

  • This issue can be worked around by using
    -Xjit:{a/b/SampleClass.sampleMethod*}(disableNewStringPeepholes)
    

Problem summary

  • An unexpected NullPointerException was thrown from inside the
    String class after JITing.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9
    5.0.0 SR2 FP2
    .
    NULL string handling code is changed to avoid the occurance of
    this NPE.
    .
    To obtain the fix:
    Install build 20100918 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ85325

  • Reported component name

    JAVA 5 J9 COMMO

  • Reported component ID

    620500127

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-21

  • Closed date

    2010-10-27

  • Last modified date

    2011-10-06

  • APAR is sysrouted FROM one or more of the following:

    IZ85289

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA 5 J9 COMMO

  • Fixed component ID

    620500127

Applicable component levels

  • R500 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3W","label":"Virtual Machine"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 October 2011