[jboss-jira] [JBoss JIRA] (JASSIST-180) Javassist fails to load class from jar (com.tivoli.pd.jutil.PDPermResource_cs )
ami tabak (JIRA)
jira-events at lists.jboss.org
Tue Nov 27 04:24:21 EST 2012
ami tabak created JASSIST-180:
---------------------------------
Summary: 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
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
More information about the jboss-jira
mailing list