Clover-for-Groovy encountered an error while loading config

I get this error from (Ant) Clover 3.1.10 when it tries to instrument one of our projects with Groovy (1.7) code.

ERROR: Clover-for-Groovy encountered an error while loading config:

There is no more output.

We build from Gradle, using the Ant clover (if that matters).

I've tried adding debug options as suggested in https://answers.atlassian.com/questions/7304/any-pointers-on-what-might-be-wrong-using-clover-with-gradle-for-groovy

But there is no additional output generated after this.

Unlike the other case, the instrumentation database is created, and coverage is collected for some of the classes. But not all.

How can I help you find out what the problem is?

4 answers

1 accepted

1 vote
Accepted answer

This is due to Clover plugin assuming ant.jar is on the classpath.

It wasn't in my project, so it failed. A new issue has been created for this: https://jira.atlassian.com/browse/CLOV-1254

I work around the problem by adding ant.jar to the project classpath (even though Ant is not used in our project).

0 votes

Hi Jesper, feel free to raise a ticket at https://support.atlassian.com (project "Clover Support") and attach logs, build file used etc. I'll be happy to investigate it.

Thanks, I've created a small projct that displays the problem.

Unfortunately, you're Jira is beyond slow at the moment and doesn't allow me to create issues. I'll try again tomorrow.

Created as CLV-5939.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 2 hours ago in Statuspage

194 years of downtime: looking back on incident data from 2018

Statuspage customers logged more than 194 years of collective incidents in 2018. That’s a whopping 87% increase from the  104 years logged in 2017 , and we aren’t even through December yet....

12 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you