IBM Support

PI50691;8.5.5: java.lang.illegalargumentexception on Solaris JDK 7 only

Download


Abstract

OSGi applications may fail to start with java.lang.IllegalArgumentException

Download Description

PI50691 resolves the following problem:

ERROR DESCRIPTION:
java.lang.IllegalArgumentException on Solaris JDK 7 only

LOCAL FIX:
Unknown

PROBLEM SUMMARY
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.processClass (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.

USERS AFFECTED:
WebSphere Application Server users of OSGi applications

PROBLEM DESCRIPTION:
OSGi applications may fail to start with java.lang.IllegalArgumentException

RECOMMENDATION:
None

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

Prerequisites

None

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"4152","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PI50691/8.5.5.7/readme.txt"}]
On
[{"DNLabel":"8.5.5.6-WS-WASProd-IFPI50691","DNDate":"11-23-2015","DNLang":"US English","DNSize":"259418","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.6-WS-WASProd-IFPI50691&productid=WebSphere%20Application%20Server&brandid=5","DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF013","label":"Inspur K-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF014","label":"iOS"},{"code":"PF035","label":"z\/OS"}],"Version":"8.5.5.6;8.5.5.7","Edition":"Base","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24041317