[
https://issues.jboss.org/browse/JASSIST-180?page=com.atlassian.jira.plugi...
]
Shigeru Chiba updated JASSIST-180:
----------------------------------
Fix Version/s: 3.17.0-GA
Javassist fails to load class from jar
(com.tivoli.pd.jutil.PDPermResource_cs )
-------------------------------------------------------------------------------
Key: JASSIST-180
URL:
https://issues.jboss.org/browse/JASSIST-180
Project: Javassist
Issue Type: Bug
Affects Versions: 3.17.0-GA
Reporter: ami tabak
Assignee: Shigeru Chiba
Priority: Critical
Fix For: 3.17.0-GA
Attachments: WebsphereBugSample.zip
Trying to load class com.tivoli.mts.util.PDPermResource_cs which has only java
dependencies. (based on JAD)
Getting the following error at instantiation.
1. Not sure if its related to the 3.17.0 or just 3.17.1 code drops.
2. Not sure why its looking to the second class
com.tivoli.pd.jutil.PDPermResource_cs
rather than to what I'm trying to load.
java.lang.InstantiationException: javassist.CtClassType
at java.lang.Class.newInstance0(Class.java:357)
at java.lang.Class.newInstance(Class.java:325)
at com.optier.bug.report.WASTest.wasTestCase(WASTest.java:42)
at com.optier.bug.report.WASTest.main(WASTest.java:18)
Exception in thread "main" java.lang.RuntimeException: cannot find
com.tivoli.mts.util.PDPermResource_cs: com.tivoli.pd.jutil.PDPermResource_cs found in
com/tivoli/mts/util/PDPermResource_cs.class
at javassist.CtClassType.getClassFile2(CtClassType.java:194)
at javassist.CtClassType.makeFieldCache(CtClassType.java:848)
at javassist.CtClassType.getMembers(CtClassType.java:839)
at javassist.CtClassType.getDeclaredBehaviors(CtClassType.java:987)
at com.optier.bug.report.WASTest.wasTestCase(WASTest.java:50)
at com.optier.bug.report.WASTest.main(WASTest.java:18)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira