[ 
http://jira.codehaus.org/browse/MOJO-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=269027#action_269027
 ] 

Kent Soelvsten edited comment on MOJO-1672 at 5/30/11 7:53 AM:
---------------------------------------------------------------

A new snapshot is now available.

The serialization issue should be fixed now.

I was unable to reproduce the problem with generating the report. Are You using 
"mvn site" to generate the report? Can You attach the reporting part of Your 
pom here?

      was (Author: soelvpil):
    A new snapshot is now available.

The serialization issue should be fixed now.

I was unable to reproduce the problem with generating the report. Are You using 
"mvn site" to generate the report? Can You attach the reorting part of Your pom 
here?
  
> Error when using chronos plugin with goal chronos:report
> --------------------------------------------------------
>
>                 Key: MOJO-1672
>                 URL: http://jira.codehaus.org/browse/MOJO-1672
>             Project: Mojo
>          Issue Type: Bug
>          Components: chronos
>    Affects Versions: chronos-maven-plugin-1.0
>         Environment: maven 2.2.1
> jakarta-jmeter-2.4
>            Reporter: Frederic Chantrel
>            Assignee: Kent Soelvsten
>         Attachments: pom.xml, test1.jmx
>
>
> When I run chronos-maven-plugin the history report is generated but not the 
> report.
> When I try to invoke mvn chronos:report here is the error generated :
> [INFO] [chronos:report {execution: default-cli}]
> [INFO]   tests: 1
> [INFO]   jmeter samples: 11
> [INFO]  generating charts...
> [INFO] null
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] An error has occurred in performancetest report generation.
> Embedded error: Index: 0, Size: 0
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred 
> in
>  performancetest report generation.
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:719)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> Goal(DefaultLifecycleExecutor.java:569)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:539)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:387)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:348)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:180)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>         at 
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
> 0)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: An error has 
> occurred
>  in performancetest report generation.
>         at 
> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenR
> eport.java:79)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:490)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:694)
>         ... 17 more
> Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
>         at java.util.ArrayList.get(ArrayList.java:322)
>         at 
> org.codehaus.mojo.chronos.responsetime.ResponsetimeSamples.getFirstTi
> mestamp(ResponsetimeSamples.java:136)
>         at 
> org.codehaus.mojo.chronos.responsetime.ResponsetimeSamples.appendResp
> onsetimes(ResponsetimeSamples.java:157)
>         at 
> org.codehaus.mojo.chronos.chart.ResponseChartGenerator.createResponse
> Dataset(ResponseChartGenerator.java:68)
>         at 
> org.codehaus.mojo.chronos.chart.ResponseChartGenerator.createResponse
> Chart(ResponseChartGenerator.java:42)
>         at 
> org.codehaus.mojo.chronos.chart.DetailsResponsetimeChartSource.getCha
> rt(DetailsResponsetimeChartSource.java:39)
>         at 
> org.codehaus.mojo.chronos.chart.GraphGenerator.generateGraphs(GraphGe
> nerator.java:77)
>         at 
> org.codehaus.mojo.chronos.ReportMojo.executeReport(ReportMojo.java:26
> 2)
>         at 
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven
> Report.java:98)
>         at 
> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenR
> eport.java:73)
>         ... 19 more
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second

-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to