IBM Support

IZ52037: JAVA.LANG.NULLPOINTEREXCEPTION AT JAVA.LANG.THREAD.INTERRUPT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NullPointerException
    at java.lang.Thread.interrupt(Thread.java:558)
            at InterruptTest.main(InterruptTest.java:52)
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • A java.lang.NullPointerException exception can be triggered when
    using java.nio classes due to a volatile field in Thread. In the
    case where there are many multiple threads writing to that
    field, one thread may check is that field null, and get the
    answer 'no', while another thread sets it to null, so when the
    first thread goes to use the null field, it throws a
    java.lang.NullPointerException exception.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR10
    6.0.0 SR6
    .
    Change the problem field such that it is no longer volatile.
    .
    To obtain the fix:
    Install build 20090527 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ52037

  • 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

    2009-05-28

  • Closed date

    2009-06-01

  • Last modified date

    2009-06-01

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

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

    IZ52134

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:
01 June 2009