Hi,
I am trying to instrument class files using emma with jdk 1.8 to get code coverage of my project.
using command- java -cp emma.jar emma instr -ip . -m overwrite -verbose
However, getting below error-
emma instr: unexpected failure:
Exception in thread "main" com.vladium.emma.EMMARuntimeException: unexpected failure:
at com.vladium.emma.Command.exit(Command.java:237)
at com.vladium.emma.instr.instrCommand.run(instrCommand.java:178)
at emma.main(emma.java:40)
Caused by: java.lang.IllegalStateException: CONSTANT_info: invalid tag value [18]
at com.vladium.jcd.cls.constant.CONSTANT_info.new_CONSTANT_info(CONSTANT_info.java:103)
at com.vladium.jcd.parser.ClassDefParser$classParser.constant_pool(ClassDefParser.java:168)
at com.vladium.jcd.parser.ClassDefParser$classParser.class_table(ClassDefParser.java:109)
at com.vladium.jcd.parser.ClassDefParser.parseClass(ClassDefParser.java:56)
at com.vladium.emma.instr.InstrProcessorST.handleFile(InstrProcessorST.java:468)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumeratePathDir(IPathEnumerator.java:193)
at com.vladium.util.IPathEnumerator$Factory$PathEnumerator.enumerate(IPathEnumerator.java:97)
at com.vladium.emma.instr.InstrProcessorST._run(InstrProcessorST.java:715)
at com.vladium.emma.Processor.run(Processor.java:54)
I am using aspectj-maven-plugin in my project. However, even after removing this plugin, I am getting same error.
Does anyone know the reason of this error. Is there a way to troubleshoot this error?
Thanks in advance!
Sakshi
Hi Sakshi,
Ran into same issue, Can you help how did you get pass through this error
Thanks in Advance.
-Dee
Hi Sakshi,
Ran into same issue, Can you help how did you get pass through this error
Thanks in Advance.
-Dee