Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in EMMA code coverage (: coverage.get: RPC fail)

 
saidi Bandi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am trying to genreate the coverage.em by using

java emma ctl -connect localhost:47653 -command coverage.get,c:\coverage.ec

here i am getting the exception, the exception details are



EMMA: processing control command sequence ...
EMMA: executing [coverage.get (c:\coverage\coverage.ec,true,tru
e)] ...
[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 fail
ure 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.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.vladium.emma.rt.RTControllerClientProxy.execute(RTControllerClientProxy.j
ava:84)
at com.vladium.emma.ctl.CtlProcessor._run(CtlProcessor.java:231)
... 3 more


please help me to resolve this issue.
 
Michael Couck
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't really help you with Emma, but you can try an integration server like Hudson and use a code coverage plugin like Serenity(http://wiki.hudson-ci.org/display/HUDSON/Serenity+Plugin), this will give you not only coverage but complexity, dependency, abstractness and distance metrics.

Hope this helps a little,
Michael
 
saidi Bandi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

please let me know if any body aware of this problem.


thanking you advancely.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
localhost:47653 is refusing the connection, you'll need to investigate why
 
saidi Bandi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Martijn,

i am trying to find this but iam not able to find the solutin.

Could you please suggest on this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic