IBM Support

IZ86738: NULLPOINTEREXCEPTION WHEN DEBUGGING SHUTDOWNHOOKS

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.ApplicationShutdownHooks.run(ApplicationShutdownHooks.
    java:81)
    .
    Stack Trace: at java.lang.Shutdown.runHooks(Shutdown.java:100)
    
       at java.lang.Shutdown.sequence(Shutdown.java:144)
    
       at java.lang.Shutdown.exit(Shutdown.java:189)
    
       at java.lang.Runtime.exit(Runtime.java:102)
    
       at java.lang.System.exit(System.java:280)
    
       at xy.TryShutdown.main(TryShutdown.java:14)
    .
    

Local fix

  • Disable NullPointerException breakpoints during debug or a class
    which hits this issue.
    

Problem summary

  • In Eclipse, add a Java Exception Breakpoint for
      java.lang.NullPointerException, and then debug a class which
      adds shutdown hooks.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9
    .
    The JVM classes have been updated to fix this issue
    .
    To obtain the fix:
    Install build 20101015 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ86738

  • 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-10-19

  • Closed date

    2010-10-26

  • Last modified date

    2010-10-26

  • 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

    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:
26 October 2010