标题: Emma统计测试覆盖度问题 [打印本页] 作者: iOrchid 时间: 2014-2-7 17:26 标题: Emma统计测试覆盖度问题 在使用emma进行Java测试覆盖度统计时,报错(如下),死活搞不定啊,官网没有解决方法,源码也搞不懂。请问有木有遇到过类似问题的撒,交流一番我或许会有收获!
EMMA: processing instrumentation path ...
[EMMA v2.1, build 5320 (stable)]
emma instr: com.vladium.emma.EMMARuntimeException
Exception in thread "main" com.vladium.emma.EMMARuntimeException: com.vladium.emma.EMMARuntimeException
at com.vladium.emma.instr.InstrProcessorST.handleArchiveEntry(InstrProcessorST.java:283)
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.instr.InstrProcessorST._run(InstrProcessorST.java:715)
at com.vladium.emma.Processor.run(Processor.java:88)
at com.vladium.emma.instr.instrCommand.run(instrCommand.java:172)
at emma.main(emma.java:50)
Caused by: java.util.zip.ZipException: invalid entry compressed size (expected 3950 but got 3949 bytes)
at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:206)
at com.vladium.emma.instr.InstrProcessorST.writeZipEntry(InstrProcessorST.java:838)
at com.vladium.emma.instr.InstrProcessorST$EntryWriteJob.run(InstrProcessorST.java:905)
at com.vladium.emma.instr.InstrProcessorST.drainJobQueue(InstrProcessorST.java:943)
at com.vladium.emma.instr.InstrProcessorST.addJob(InstrProcessorST.java:929)
at com.vladium.emma.instr.InstrProcessorST.handleArchiveEntry(InstrProcessorST.java:244)
... 6 more作者: iOrchid 时间: 2014-2-7 17:27 回复 1#iOrchid