Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-278

InvokeInstruction.toString(final ConstantPool cp) throws NoSuchElementException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 6.0
    • 6.4.0
    • Main
    • None
    • normal

    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

          Activity

            People

              Unassigned Unassigned
              valery.barysok Valery Barysok
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m