"com.mountainminds.eclemma.internal.core.launching.agentserver" : Error while dumping coverage data

129 views
Skip to first unread message

smileso...@gmail.com

unread,
Dec 11, 2015, 9:29:25 AM12/11/15
to JaCoCo and EclEmma Users
Hi all,
I am exploring different code coverage tools for collecting code coverage of java tools. I tried with EclEmma first.

I have below questions as well:

I have a .jar file. Does Eclemma can collect the code coverage data?

While trying to collect the code coverage data using EclEmma "For simple Helloworld" Program using Eclipse(with Eclemma plug-in installed) initially I got the code coverage at coverage view except the below issue:

http://stackoverflow.com/questions/15047998/eclemma-class-header-not-getting-coverage

But after a day I ran the same "hello world" program and this time the collection of code coverage failed with below error and has encountered a problem.

"Error while dumping coverage data (code 5013).
Software caused connection abort: socket write error"

I saw the below post but could not get the right solution to the problem.

https://groups.google.com/forum/#!msg/jacoco/7kWxeWP0UpY/seEG-41tIAAJ


Can anybody throw some light to fix the issue?

Regards
Pradeep

smileso...@gmail.com

unread,
Dec 12, 2015, 12:02:06 AM12/12/15
to JaCoCo and EclEmma Users
Please help. I am stuck here.

Marc R. Hoffmann

unread,
Dec 18, 2015, 5:05:00 AM12/18/15
to jac...@googlegroups.com
Hi Pradeep,

yes, EclEmma can collect code coverage also for JAR files. By default
binary class path entries are not enabled, but you can select them on
"Coverage" tab in the laucher.

If you don't declare a constructor the implicit default constructor ist
assigned to the class header line. If you never create an instance of
that class (constructor is not called) this will be reported as not covered.

Regarding the error 5013: Can you please provide some detailed steps how
to reproduce this? Also the stack trace from the Eclipse log would be
helpful.

Regards,
-marc
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages