EclEmma Error (No coverage data has been collected during this coverage session)

628 views
Skip to first unread message

Didier D

unread,
Oct 25, 2016, 11:23:35 AM10/25/16
to JaCoCo and EclEmma Users
Hi,

I'm using Eclipse Neon with EclEmma 2.3.3.201602231923

When I do a "Coverage As > JUnit" on one of my projects, I am getting two pop up error message.
1. "No coverage data has been collected during this coverage session
Please do not terminate the java process manually from eclipse".

2. "com.mountainminds.eclemma.internal.core.launching.agentserver" has encountered a problem.
Error while dumping coverage data(code 5013).

If I only run one half of my JUnit tests, it is OK. If I run only the other half, it is OK too.
After searching a while and adding more tests one by one, I finally got some tests failing because of permGen space being full.

Now, if I add the JVM option -XX:MaxPermSize=128m to my "Coverage As > JUnit" configuration, the problem disapears.

My conclusion is that EclEmma (or something else) doesn't handle correctly the out of memory error and fianlly fails with another error message.

Didier

Evgeny Mandrikov

unread,
Oct 26, 2016, 1:44:16 AM10/26/16
to JaCoCo and EclEmma Users, didier.d...@gmail.com
Hi Didier,

Thanks for reaching out. You probably right and handling of non-graceful JVM termination (such as "OutOfMemoryError: PermGen space") might be improved - I suppose that yours expectation is to be able to see an original error message.

We'll check the current behavior and create ticket if necessary.

Best regards,
Evgeny
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages