IBM Support

PM78020: VERIFYERROR WITH STACK UNDERFLOW DUE TO EXTRA 'RETURN' STATEMENTS GENERATED BY PCENHANCER.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following VerifyError occurs:
    
    Exception data: java.lang.VerifyError: JVMVRFY036 stack
    underflow; class=irwwbase/PersistentTimerStatsJPA,
    method=pcNewObjectIdInstance(Ljava/lang/Object;)Ljava/lang/Objec
    t;, pc=26
        at java.lang.J9VMInternals.verifyImpl(Native Method)
        at java.lang.J9VMInternals.verify(J9VMInternals.java:85)
        at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:162)
        at java.lang.Class.forNameImpl(Native Method)
        at java.lang.Class.forName(Class.java:176)
        at
    org.apache.openjpa.meta.MetaDataRepository.classForName(MetaData
    Repository.java:1552)
        at
    org.apache.openjpa.meta.MetaDataRepository.loadPersistentTypesIn
    ternal(MetaDataRepository.java:1528)
        at
    org.apache.openjpa.meta.MetaDataRepository.loadPersistentTypes(M
    etaDataRepository.java:1506)
        at
    org.apache.openjpa.kernel.AbstractBrokerFactory.loadPersistentTy
    pes(AbstractBrokerFactory.java:282)
        at
    org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker
    (AbstractBrokerFactory.java:238)
        at
    org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(Abstra
    ctBrokerFactory.java:212)
        at
    org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(Dele
    gatingBrokerFactory.java:156)
        at
    org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEn
    tityManager(EntityManagerFactoryImpl.java:227)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5.0 who make use of the OpenJPA   *
    *                  PCEnhancer.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: VerifyError/Stack underflow due to      *
    *                      extra 'return' statements generated     *
    *                      by PCEnhancer.                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This issue occurs on, and is unique to, Java 7 and the OpenJPA
    enhancement code (as well as the entity definition). That is,
    in PCEnhancer OpenJPA is generating extra 'returns' in
    methods which throw an exception. These extra 'return'
    statements ultimately result in a java.lang.VerifyError.  This
    issue can occur when using an @IdClass as the primary key
    class for a JPA Entity, as follows:
    @Entity
    @IdClass(PersistentTimerStatsPK.class)
    public class PersistentTimerStatsJPA implements Serializable {
    ......
    public class PersistentTimerStatsPK implements Serializable {
    

Problem conclusion

  • With this fix, code has been added to the OpenJPA PCEnhancer
    to ensure a VerifyError doesn't occur.
    
    The fix for this APAR is currently targeted for
    inclusion in Service Level (Fix Pack) 8.5.0.2 of WebSphere
    Application Server version 8.5.0.
    
    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

    PM78020

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-28

  • Closed date

    2012-12-12

  • Last modified date

    2013-03-01

  • APAR is sysrouted FROM one or more of the following:

    PM78016

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

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":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 November 2021