[ http://jira.codehaus.org/browse/MCLOVER-31?page=comments#action_62694 ]
Mike Perham commented on MCLOVER-31: ------------------------------------ I'm using SVN HEAD. > ArrayStoreException on clover report generation > ----------------------------------------------- > > Key: MCLOVER-31 > URL: http://jira.codehaus.org/browse/MCLOVER-31 > Project: Maven 2.x Clover Plugin > Type: Bug > Versions: 2.1 > Reporter: Mike Perham > Fix For: 2.1 > > > I called mvn clover:instrument clover:aggregate to run the build and create > the merged database. Now when I execute mvn clover:clover, I get this: > Caused by: org.apache.maven.reporting.MavenReportException: Failed to call > [com.cenqua.clover.reporters.html.HtmlReporter.mainImpl] > at > org.apache.maven.plugin.clover.CloverReportMojo.createReport(CloverReportMojo.java:231) > at > org.apache.maven.plugin.clover.CloverReportMojo.createMasterHtmlReport(CloverReportMojo.java:261) > at > org.apache.maven.plugin.clover.CloverReportMojo.executeReport(CloverReportMojo.java:165) > at > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101) > at > org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:66) > ... 18 more > Caused by: java.lang.ArrayStoreException > at java.lang.System.arraycopy(Native Method) > at java.util.ArrayList.toArray(ArrayList.java:305) > at > org.apache.maven.plugin.clover.CloverReportMojo.createReport(CloverReportMojo.java:226) > Here's the configuration: > [DEBUG] Configuring mojo > 'org.apache.maven.plugins:maven-clover-plugin:2.1-SNAPSHOT:clover' --> > [DEBUG] (f) cloverDatabase = > D:\perforce\depot\modules\dublin\support\target/clover/clover.db > [DEBUG] (f) cloverMergeDatabase = > D:\perforce\depot\modules\dublin\support\target/clover/cloverMerge.db > [DEBUG] (f) flushInterval = 500 > [DEBUG] (f) generateHtml = true > [DEBUG] (f) generatePdf = false > [DEBUG] (f) generateXml = false > [DEBUG] (f) outputDirectory = > D:\perforce\depot\modules\dublin\support\target\site\clover > [DEBUG] (f) project = [EMAIL PROTECTED] > [DEBUG] (f) reactorProjects = [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL > PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > [DEBUG] (f) waitForFlush = true > [DEBUG] -- end configuration -- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira