艾玛覆盖工具

发布于 2024-09-07 06:52:34 字数 1177 浏览 4 评论 0原文

我在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

停顿的约定 2024-09-14 06:52:34

原因是:

罐子不正确。确保罐子是正确的。

另一个错误是您没有将 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 .

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文