IBM Support

IZ85289: 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 SR12 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

    IZ85289

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    600

  • 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:

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

    IZ85325

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R600 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":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 October 2011