IBM Support

IV47919: EXCEPTIONININITIALIZERERROR USING -EA OPTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: JVM initialization fails with
    ExceptionInInitializerError when Java assertion-related
    commandline options are specified.
    .
    Stack Trace: java -ea: -version
    Exception in thread "main" java/lang/ExceptionInInitializerError
        at java/lang/J9VMInternals.initialize
    (J9VMInternals.java:218)
        at java/util/HashMap.<init> (HashMap.java:286)
        at java/util/HashMap.<init> (HashMap.java:372)
        at java/lang/ClassLoader.setClassAssertionStatus
    (ClassLoader.java:1029)
        at java/lang/ClassLoader.initializeClassLoaderAssertStatus
    (ClassLoader.java:1211)
        at java/lang/ClassLoader.<init> (ClassLoader.java:159)
        at java/lang/ClassLoader.<init> (ClassLoader.java:118)
        at com/ibm/oti/vm/BootstrapClassLoader.<init>
    (BootstrapClassLoader.java:44)
        at com/ibm/oti/vm/BootstrapClassLoader.singleton
    (BootstrapClassLoader.java:90)
        at java/lang/ClassLoader.initializeClassLoaders
    (ClassLoader.java:90)
        at java/lang/Thread.initialize (Thread.java:347)
        at java/lang/Thread.<init> (Thread.java:131)
    java/lang/NullPointerException
        at java/lang/Class.lookupCachedField (Class.java:2446)
        at java/lang/Class.getDeclaredField (Class.java:540)
        at java/util/HashMap$Holder.<clinit> (HashMap.java:266)
        at java/lang/J9VMInternals.initializeImpl (Native Method)
        at java/lang/J9VMInternals.initialize
    (J9VMInternals.java:196)
        at java/util/HashMap.<init> (HashMap.java:286)
        at java/util/HashMap.<init> (HashMap.java:372)
        at java/lang/ClassLoader.setClassAssertionStatus
    (ClassLoader.java:1029)
        at java/lang/ClassLoader.initializeClassLoaderAssertStatus
    (ClassLoader.java:1211)
        at java/lang/ClassLoader.<init> (ClassLoader.java:159)
        at java/lang/ClassLoader.<init> (ClassLoader.java:118)
        at com/ibm/oti/vm/BootstrapClassLoader.<init>
    (BootstrapClassLoader.java:44)
        at com/ibm/oti/vm/BootstrapClassLoader.singleton
    (BootstrapClassLoader.java:90)
        at java/lang/ClassLoader.initializeClassLoaders
    (ClassLoader.java:90)
        at java/lang/Thread.initialize (Thread.java:347)
        at java/lang/Thread.<init> (Thread.java:131)
    JVMJ9VM015W Initialization error for library jclscar_23(14):
    JVMJ9VM009E J9VMDllMain failed
    Could not create the Java virtual machine.
    .
    The assertion options are: -ea, -da, -enableassertions, &
    -disableassertions
    

Local fix

  • Remove the assertion-related commandline options
    

Problem summary

  • The problem is due to the JVM incorrectly handling assertion
    options during BootstrapClassLoader initialization.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR16 FP4
    .
    The JVM has been updated to correctly handle assertion options
    during BootstrapClassLoader initialization.
    

Temporary fix

  • NA
    

Comments

APAR Information

  • APAR number

    IV47919

  • 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

    2013-09-04

  • Closed date

    2013-10-09

  • Last modified date

    2013-10-18

  • 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

    JAVA 5 J9 COMMO

  • Fixed component ID

    620500127

Applicable component levels

  • R500 PSY

       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:
18 October 2013