IBM Support

IV88715: NULLPOINTEREXCEPTION THROWN DURING METHODTYPE COMPONENT INITIALI ZATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: NullPointerException is thrown when Java code
    attempts to initialize a MethodType component in the presence of
    uninitialized classes.
    .
    Stack Trace: ...
        at java.lang.Class.forNameImpl(Native Method)
        at java.lang.Class.forName(Class.java)
        at
    java.lang.invoke.MethodType.nonPrimitiveClassFromString(MethodTy
    pe.java)
        at
    java.lang.invoke.MethodType.parseIntoClasses(MethodType.java)
        at
    java.lang.invoke.MethodType.fromMethodDescriptorString(MethodTyp
    e.java)
        at
    java.lang.invoke.MethodHandle.sendResolveMethodHandle(MethodHand
    le.java)
        at java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native
    Method)
        at
    java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.
    java)
        ....
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • NullPointerException is thrown when Java code attempts to
    initialize a MethodType component in the presence of
    uninitialized classes.
    

Problem conclusion

  • According to the Java API for MethodType, all classes named in
    the descriptor must be accessible and will be loaded when the
    JVM materializes a MethodType from a descriptor String. But, the
    classes need not be initialized. Thus, the JVM has been updated
    to allow MethodType component initialization in the absence of
    initialized classes.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR3 FP12  (8.0.3.12)
    .
    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

  • N/A
    

Comments

APAR Information

  • APAR number

    IV88715

  • 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

    2016-08-29

  • Closed date

    2016-08-29

  • Last modified date

    2016-09-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

  • 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