com.cenqua.clover.CloverException: java.lang.ArrayIndexOutOfBoundsException while creating reports

I am getting an exception while generating reports from the clover.db. Anyone has any idea what the problem could be? I am using Clover 2.4.2.

com.cenqua.clover.CloverException: java.lang.ArrayIndexOutOfBoundsException
at com.cenqua.clover.reporters.html.HtmlReporter.generateCurrentReport(HtmlReporter.java:79)
at com.cenqua.clover.reporters.html.HtmlReporter.generateReport(HtmlReporter.java:64)
at com.cenqua.clover.reporters.CloverReporter.generateReport(CloverReporter.java:30)
at com.cenqua.clover.tasks.CloverReportTask.generateReports(CloverReportTask.java:408)
at com.cenqua.clover.tasks.CloverReportTask.cloverExecute(CloverReportTask.java:369)
at com.cenqua.clover.tasks.AbstractCloverTask.execute(AbstractCloverTask.java:47)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
--- Nested Exception ---
java.lang.ArrayIndexOutOfBoundsException
at com.cenqua.clover.CoverageDataCollator.addToReceptorRange(CoverageDataCollator.java:180)
at com.cenqua.clover.CoverageDataCollator.access$000(CoverageDataCollator.java:18)
at com.cenqua.clover.CoverageDataCollator$1.visitFileInfo(CoverageDataCollator.java:102)
at com.cenqua.clover.registry.BasePackageInfo.visitFiles(BasePackageInfo.java:153)
at com.cenqua.clover.registry.BaseProjectInfo.visitFiles(BaseProjectInfo.java:184)
at com.cenqua.clover.CoverageDataCollator.collateRecordingFiles(CoverageDataCollator.java:97)
at com.cenqua.clover.CoverageDataCollator.loadCoverageData(CoverageDataCollator.java:43)
at com.cenqua.clover.CloverDatabase.loadCoverageData(CloverDatabase.java:103)
at com.cenqua.clover.reporters.CloverReportConfig.getCoverageDatabase(CloverReportConfig.java:335)
at com.cenqua.clover.reporters.Current.getCoverageDatabase(Current.java:137)
at com.cenqua.clover.reporters.html.HtmlReporter.createCurrentReport(HtmlReporter.java:98)
at com.cenqua.clover.reporters.html.HtmlReporter.generateCurrentReport(HtmlReporter.java:75)
at com.cenqua.clover.reporters.html.HtmlReporter.generateReport(HtmlReporter.java:64)
at com.cenqua.clover.reporters.CloverReporter.generateReport(CloverReporter.java:30)
at com.cenqua.clover.tasks.CloverReportTask.generateReports(CloverReportTask.java:408)
at com.cenqua.clover.tasks.CloverReportTask.cloverExecute(CloverReportTask.java:369)
at com.cenqua.clover.tasks.AbstractCloverTask.execute(AbstractCloverTask.java:47)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

1 answer

0 votes

Have you tried to use the latest 3.1.6 version of Clover?

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,421 views 21 17
View question

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