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



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
Virtual Machine

Software version:

5.0

Reference #:

IZ85325

Modified date:

2011-10-06

Translate my page

Machine Translation

Content navigation