IBM Support

PI60902: ANNOTATION PROCESSING FAILS WITH RUNTIME EXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps to scan classes for annotations may fail with a
    runtime exception from visitor classes in the package
    org.object.asm.
    
    e.g.
    
    Caused by: java.lang.RuntimeException
      at org.objectweb.asm.MethodVisitor.visitParameter(Unknown
    Source)
      at org.objectweb.asm.ClassReader.b(Unknown Source)
      at org.objectweb.asm.ClassReader.accept(Unknown Source)
      at org.objectweb.asm.ClassReader.accept(Unknown Source)
      at
    com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream
    (C lassScan
    ner.java:149)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server who are running with a Java 8 SDK.   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Processing of applications which are    *
    *                      enabled for annotations fails with a    *
    *                      RuntimeException when running with      *
    *                      a Java 8 SDK.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Steps to scan classes for annotations will fail with a
    runtime exception when attempting to process a class which
    uses the Java 8 class format.  This might occur because an
    application class is compiled using Java 8.  This might also
    occur because annotation processing has reached an SDK provided
    class which uses the Java 8 class format.  (The problem can
    occur even if all classes of an application use a pre-Java 8
    class format.)
    For example:
    Caused by: java.lang.RuntimeException
    at org.objectweb.asm.MethodVisitor.visitParameter
    at org.objectweb.asm.ClassReader.b
    at org.objectweb.asm.ClassReader.accept
    at org.objectweb.asm.ClassReader.accept
    at  com.ibm.ws.ecs.internal.scan.impl.
    ClassScanner.scanInputStream(ClassScanner.java:149)
    

Problem conclusion

  • The problem was fixed by changing internal processing settings
    to enable the processing of class data which uses the Java 8
    class format.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.11.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    
    This problem does not occur in IBM WebSphere Application
    Version 9.0.  Version 9.0 is already enabled for
    processing class data which uses the Java 8 class
    format.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI60902

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-15

  • Closed date

    2016-08-19

  • Last modified date

    2016-08-19

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

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:
28 April 2022