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 vote

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Trello

Alice Camilla on organizing your work/life/fandoms with Trello!

@Alice Camilla is a university student, currently writing her MA thesis in Archaeology. She's also a freelance blogger and content creator, writing about geeky stuff from productivity apps to JR...

41 views 1 6
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