Emma绑定例外和主要例外

时间:2018-10-25 08:15:17

标签: bind emma

使用jdk 1.8在Ret hat linux上使用emma v2.1运行我的Java代码。下面是我使用的命令。使用-XX测试:-UseSplitVerifier无效,即使我使用了-noverify选项(如果使用jdk1.8,则来自其他论坛的解决方案)。

java -noverify -cp emma.jar emmarun -r html -sp /myPathToTheSourceCode/SourceCode/src/ -cp . SampleTest

仍然低于错误。如果有人遇到此类问题,请提出解决方案。预先感谢

EMMA: collecting runtime coverage data ...
java.net.BindException: Address already in use (Bind failed)
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at java.net.ServerSocket.<init>(ServerSocket.java:128)
        at com.vladium.emma.rt.RTController.start(RTController.java:99)
        at com.vladium.emma.rt.RT.reset(RT.java:222)
        at com.vladium.emma.run.RunProcessor._run(RunProcessor.java:596)
        at com.vladium.emma.run.RunProcessor.run(RunProcessor.java:107)
        at com.vladium.emma.run.runCommand.run(runCommand.java:263)
        at emmarun.main(emmarun.java:27)
[EMMA v2.1, build 5320 (stable)]
emmarun: unexpected failure:
Exception in thread "main" com.vladium.emma.EMMARuntimeException: unexpected failure:
        at com.vladium.emma.Command.exit(Command.java:343)
        at com.vladium.emma.run.runCommand.run(runCommand.java:278)
        at emmarun.main(emmarun.java:27)
Caused by: java.lang.Error: EMMA: runtime controller could not be started, aborting
        at com.vladium.emma.rt.RT.reset(RT.java:233)
        at com.vladium.emma.run.RunProcessor._run(RunProcessor.java:596)
        at com.vladium.emma.run.RunProcessor.run(RunProcessor.java:107)
        at com.vladium.emma.run.runCommand.run(runCommand.java:263)

0 个答案:

没有答案