艾玛覆盖工具
我在尝试使用 emma ctl 工具获取覆盖率数据时收到以下错误。
EMMA: processing control command sequence ...
EMMA: executing [coverage.get (C:/FD_DEV3/feddebt_sources/report/emma/coverage.ec,true,true)] ...
[EMMA v2.1, build 5320 (stable)]
emma ctl: coverage.get: RPC failure while executing [coverage.get]
Exception in thread "main" com.vladium.emma.EMMARuntimeException: coverage.get: RPC failure while executing [coverage.get]
at com.vladium.emma.ctl.CtlProcessor._run(CtlProcessor.java:242)
at com.vladium.emma.Processor.run(Processor.java:88)
at com.vladium.emma.ctl.ctlCommand.run(ctlCommand.java:151)
at emma.main(emma.java:50)
Caused by: java.io.StreamCorruptedException: invalid stream header
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:770)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:286)
at com.vladium.emma.rt.rpc.Response.read(Response.java:46)
at com.vladium.emma.rt.RTControllerClientProxy.execute(RTControllerClientProxy.java:100)
at com.vladium.emma.ctl.CtlProcessor._run(CtlProcessor.java:231)
... 3 more
请帮忙。
谢谢
I am getting the following error while trying to get coverage data using emma ctl tool.
EMMA: processing control command sequence ...
EMMA: executing [coverage.get (C:/FD_DEV3/feddebt_sources/report/emma/coverage.ec,true,true)] ...
[EMMA v2.1, build 5320 (stable)]
emma ctl: coverage.get: RPC failure while executing [coverage.get]
Exception in thread "main" com.vladium.emma.EMMARuntimeException: coverage.get: RPC failure while executing [coverage.get]
at com.vladium.emma.ctl.CtlProcessor._run(CtlProcessor.java:242)
at com.vladium.emma.Processor.run(Processor.java:88)
at com.vladium.emma.ctl.ctlCommand.run(ctlCommand.java:151)
at emma.main(emma.java:50)
Caused by: java.io.StreamCorruptedException: invalid stream header
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:770)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:286)
at com.vladium.emma.rt.rpc.Response.read(Response.java:46)
at com.vladium.emma.rt.RTControllerClientProxy.execute(RTControllerClientProxy.java:100)
at com.vladium.emma.ctl.CtlProcessor._run(CtlProcessor.java:231)
... 3 more
Please help.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
原因是:
罐子不正确。确保罐子是正确的。
另一个错误是您没有将 jar 放在 java/jre 文件夹中。
The reason for it is:
The jar is not correct. Make sure that the jar is correct one.
The other error is that you did not place the jar in java/jre folder .