IBM Support

PI50691: JAVA.LANG.ILLEGALARGUMENTEXCEPTION ON SOLARIS JDK 7 ONLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • java.lang.IllegalArgumentException on Solaris JDK 7 only
    

Local fix

  • Unknown
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of OSGi  *
    *                  applications                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: OSGi applications may fail to start     *
    *                      with                                    *
    *                      java.lang.IllegalArgumentException      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Apache Aries open source class ProxySubclassAdapter used
    the wrong ASM helper method to obtain a
    org.objectweb.asm.commons.Method object for a constructor.
    This may result in an IllegalArgumentException with a
    callstack similar to the example below:
    Caused by: java.lang.IllegalArgumentException
    at org.objectweb.asm.commons.Method.getMethod(Unknown Source)
    at org.objectweb.asm.commons.Method.getMethod(Unknown Source)
    at org.apache.aries.proxy.impl.gen.ProxySubclassAdapter.visit
    at org.objectweb.asm.ClassReader.accept(Unknown Source)
    at org.objectweb.asm.ClassReader.accept(Unknown Source)
    at
    org.apache.aries.proxy.impl.gen.ProxySubclassGenerator.processCl
    ass
    (ProxySubclassGenerator.java:245)
    ...
    Which constructor is chosen is dependent on the ordering of
    the array returned from
    java.lang.Class.getDeclaredConstructors(), which is
    implementation specific. However, although this issue may
    occur on any combination of platform and JRE version, it is
    more likely to occur using JRE 7 on Solaris since
    java.lang.Class.getDeclaredConstructors() does not sort the
    returned array by access modifier.
    

Problem conclusion

  • The Apache Aries open source class ProxySubclassAdapter was
    modified to use the correct ASM helper method for the
    constructor.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.9.  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

    PI50691

  • 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

    2015-10-15

  • Closed date

    2015-11-17

  • Last modified date

    2015-11-18

  • 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