Description
Compile JasminVisitor.java and execute with self class as parameter.
Exception in thread "main" java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(StringTokenizer.java:349) at org.apache.bcel.generic.InvokeInstruction.toString(InvokeInstruction.java:58) at JasminVisitor.visitCode(JasminVisitor.java:268) at org.apache.bcel.classfile.Code.accept(Code.java:132) at org.apache.bcel.classfile.DescendingVisitor.visitCode(DescendingVisitor.java:179) at org.apache.bcel.classfile.Code.accept(Code.java:132) at org.apache.bcel.classfile.DescendingVisitor.visitMethod(DescendingVisitor.java:162) at org.apache.bcel.classfile.Method.accept(Method.java:108) at org.apache.bcel.classfile.DescendingVisitor.visitJavaClass(DescendingVisitor.java:99) at org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:213) at org.apache.bcel.classfile.DescendingVisitor.visit(DescendingVisitor.java:85) at JasminVisitor.disassemble(JasminVisitor.java:77) at JasminVisitor.main(JasminVisitor.java:333)
Attachments
Issue Links
- relates to
-
BCEL-270 Calling toString(ConstantPool) on InvokeInstruction throws NullPointerException
- Closed
- links to