....
EMMA: writing [txt] report to [/root/coverage.txt] ...
[EMMA v2.0, build 4217]
emmarun: [UNEXPECTED_FAILURE] unexpected failure
java.lang.ArrayIndexOutOfBoundsException: -1157627046,
please submit a bug report to:
'http://sourceforge.net/projects/emma'
Exception in thread "main"
com.vladium.emma.EMMARuntimeException:
[UNEXPECTED_FAILURE] unexpected failure
java.lang.ArrayIndexOutOfBoundsException:-1157627046,
please submit a bug report to:
'http://sourceforge.net/projects/emma'
at
com.vladium.emma.rt.AppRunner.wrapFailure(AppRunner.java:885)
at
com.vladium.emma.rt.AppRunner._run(AppRunner.java:607)
at
com.vladium.emma.rt.AppRunner.run(AppRunner.java:97)
at
com.vladium.emma.runCommand.run(runCommand.java:247)
at emmarun.main(emmarun.java:27)
Caused by: java.lang.ArrayIndexOutOfBoundsException:
-1157627046
at
com.vladium.emma.instr.InstrVisitor$Block.emit(InstrVisitor.java:1445)
at
com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:1144)
at
com.vladium.jcd.cls.attribute.CodeAttribute_info.accept(CodeAttribute_info.java:137)
at
com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:446)
at
com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:255)
at
com.vladium.emma.instr.InstrVisitor.process(InstrVisitor.java:111)
at
com.vladium.emma.rt.ClassPathProcessorST.handleArchiveEntry(ClassPathProcessorST.java:142)
at
com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathArchive(IPathEnumerator.java:235)
at
com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumerate(IPathEnumerator.java:113)
at
com.vladium.emma.rt.ClassPathProcessorST.run(ClassPathProcessorST.java:64)
at
com.vladium.emma.rt.AppRunner._run(AppRunner.java:391)
... 3 more
Logged In: YES
user_id=876261
Originator: NO
I am seeing what looks like a similar stack trace while trying to do off-line instrumentation via the ant task.
com.vladium.emma.EMMARuntimeException: [UNEXPECTED_FAILURE] unexpected failure java.lang.ArrayIndexOutOfBoundsException: 15, please submit a bug report to: 'http://sourceforge.net/projects/emma'
at com.vladium.emma.instr.InstrProcessorST._run(InstrProcessorST.java:784)
at com.vladium.emma.Processor.run(Processor.java:54)
at com.vladium.emma.instr.instrTask.execute(instrTask.java:77)
at com.vladium.emma.emmaTask.execute(emmaTask.java:57)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 15
at com.vladium.emma.instr.InstrVisitor$Block.emit(InstrVisitor.java:1445)
at com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:1144)
at com.vladium.jcd.cls.attribute.CodeAttribute_info.accept(CodeAttribute_info.java:137)
at com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:446)
at com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:255)
at com.vladium.emma.instr.InstrVisitor.process(InstrVisitor.java:111)
at com.vladium.emma.instr.InstrProcessorST.handleFile(InstrProcessorST.java:471)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathDir(IPathEnumerator.java:193)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathDir(IPathEnumerator.java:177)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathDir(IPathEnumerator.java:177)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathDir(IPathEnumerator.java:177)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathDir(IPathEnumerator.java:177)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathDir(IPathEnumerator.java:177)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathDir(IPathEnumerator.java:177)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathDir(IPathEnumerator.java:177)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumerate(IPathEnumerator.java:97)
at com.vladium.emma.instr.InstrProcessorST._run(InstrProcessorST.java:715)
... 19 more