commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valery Barysok (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BCEL-278) InvokeInstruction.toString(final ConstantPool cp) throws NoSuchElementException
Date Wed, 17 Aug 2016 21:44:20 GMT
Valery Barysok created BCEL-278:
-----------------------------------

             Summary: InvokeInstruction.toString(final ConstantPool cp) throws NoSuchElementException
                 Key: BCEL-278
                 URL: https://issues.apache.org/jira/browse/BCEL-278
             Project: Commons BCEL
          Issue Type: Bug
          Components: Main
    Affects Versions: 6.0
            Reporter: Valery Barysok
            Priority: Trivial


Compile JasminVisitor.java and execute with self class as parameter.

{code:java}
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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message