[
https://issues.jboss.org/browse/JASSIST-176?page=com.atlassian.jira.plugi...
]
Shigeru Chiba commented on JASSIST-176:
---------------------------------------
John, can you run your program with javassist.jar attached above. It will throw a
NullPointerException but it will give us more detailed information of the bug. The
exception will show us two class names. Can you post these two names and their super
classes? Are they interface names?
Thanks!
I get a NPE in TypeData
-----------------------
Key: JASSIST-176
URL:
https://issues.jboss.org/browse/JASSIST-176
Project: Javassist
Issue Type: Bug
Affects Versions: 3.17.0-GA
Environment: Java 7
Reporter: John Bainbridge
Assignee: Shigeru Chiba
Attachments: javassist.jar
This kills my JVM. I'm looking at trying to make simple test case. It appears to
be releated to JASSIST-175
caused by: java.lang.NullPointerException
at javassist.bytecode.stackmap.TypeData.commonSuperClassEx(TypeData.java:400)
at javassist.bytecode.stackmap.TypeData$TypeVar.fixTypes2(TypeData.java:342)
at javassist.bytecode.stackmap.TypeData$TypeVar.fixTypes(TypeData.java:325)
at javassist.bytecode.stackmap.TypeData$TypeVar.dfs(TypeData.java:270)
at javassist.bytecode.stackmap.MapMaker.fixTypes(MapMaker.java:301)
at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:151)
at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:100)
at javassist.bytecode.MethodInfo.rebuildStackMap(MethodInfo.java:423)
at javassist.bytecode.MethodInfo.rebuildStackMapIf6(MethodInfo.java:405)
at javassist.expr.ExprEditor.doit(ExprEditor.java:113)
at javassist.CtClassType.instrument(CtClassType.java:1398)
at
org.powermock.core.transformers.impl.MainMockTransformer.transform(MainMockTransformer.java:75)
at
org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:203)
... 27 more
--
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