IBM Support

IV30053: INVOKEDYNAMIC RESOLUTION FAILS WITHOUT A MEANINGFUL ERROR MESSAG E

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: An unhelpful error message is generated when
    resolution of the invokedynamic bootstrap MethodHandle fails.
    .
    Stack Trace: Exception in thread "main"
    java.lang.BootstrapMethodError: java.lang.NullPointerException
            at
    java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.j
    ava:447)
            at
    java.lang.invoke.MethodHandles$InsertHelper.helper(MethodHandles
    .java:1742)
            at
    java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.j
    ava:445)
            at
    java.lang.invoke.MethodHandles$FoldHelper.helper(MethodHandles.j
    ava:1833)
            at
    java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.j
    ava:445)
            at
    java.lang.invoke.MethodHandles$DropHelper.helper(MethodHandles.j
    ava:1572)
            at Lambda.main(Lambda.java:1)
    Caused by: java.lang.NullPointerException
            at
    java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.
    java:669)
            ... 1 more
    .
    

Local fix

Problem summary

  • The problem is caused by the invokedynamic resolution code not
    providing a detailed error message when it is unable to resolve
    the invokedynamic bootstrap MethodHandle.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR3
    .
    The JVM has been updated to provide a better error message when
    it is unable to resolve the invokedynamic bootstrap
    MethodHandle.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV30053

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-12

  • Closed date

    2012-10-12

  • Last modified date

    2012-10-12

  • 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

  • R260 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Virtual Machine

Software version: 260

Reference #: IV30053

Modified date: 12 October 2012