IBM Support

IJ03347: JAVA.LANG.ILLEGALSTATEEXCEPTION IN RELATED CLASS MEMORYMXBEAN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: A java.lang.IllegalStateException is received.
    .
    Stack Trace: Exception in thread "MemoryMXBean notification
    dispatcher" java.lang.IllegalStateException: Shutdown in
    progress
    at
    java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.
    java:77)
    at java.lang.Runtime.addShutdownHook(Runtime.java:222)
    at
    com.ibm.lang.management.internal.MemoryNotificationThread.lambda
    $registerShutdownHandler$0(MemoryNotificationThread.java:162)
    at
    com.ibm.lang.management.internal.MemoryNotificationThread$$Lambd
    a$8.000000000C002D70.run(Unknown Source)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:638)
    at
    com.ibm.lang.management.internal.MemoryNotificationThread.regist
    erShutdownHandler(MemoryNotificationThread.java:166)
    at
    com.ibm.lang.management.internal.MemoryNotificationThread.run(Me
    moryNotificationThread.java:175)
    .
    

Local fix

Problem summary

  • The problem is caused when an instance of MemoryMXBean is being
    generated after the JVM has started to shut down.
    

Problem conclusion

  • The corresponding Java code has been changed so that the
    java.lang.IllegalStateException is caught and properly handled.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP10  (8.0.5.10)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ03347

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-01-16

  • Closed date

    2018-01-18

  • Last modified date

    2018-02-08

  • 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

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022