IBM Support

PI07204: VERIFYERROR JVMVRFY012 USING OSGI APPLICATIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • java.lang.VerifyError: JVMVRFY012 stack shape inconsistent;
    error created when using Java 1.7, and code that can return a
    primitive array that is implicitly cast to an Object array.
    
    Caused by: java.lang.VerifyError: JVMVRFY012 stack shape
    inconsistent;
    class=mypackage/myclass, method=mymethod(II)Lmypackage/myclass;,
    pc=1390
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:93)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:170)
    at mypackage/myclass(myclass.java:1309)
    
    Oracle JVMs have a slightly different error message:
    
    java.lang.VerifyError: Inconsistent stackmap frames at branch
    target xxx
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server OSGi Applications with Java 7        *
    ****************************************************************
    * PROBLEM DESCRIPTION: A Java VerifyError occurs due to ASM    *
    *                      incorrectly manipulating a class.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Internally, the ASM library is used to perform class bytecode
    manipulation.  One requirement of Java 7 is that it contains a
    StackMap table to assist with class verification.
    The version of ASM in use contains a defect that causes the
    modified class to have an incorrect StackMap table, and this
    causes a java.lang.VerifyError to occur when loading the class.
    This can happen when methods in the class make use of
    multi-dimensional arrays.
    

Problem conclusion

  • The ASM library has been updated with a fix that correctly
    generates the StackMap for methods that make use of
    multi-dimensional arrays.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.3. Please refer to the Recommended Updates page
    for delivery information:
    
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI07204

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-12-02

  • Closed date

    2014-03-13

  • Last modified date

    2014-05-23

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022