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

Maite Clay commented on MOJO-1260:
----------------------------------

Any chance we can just get a "1.0.0-beta-2" version that just has the update to 
the xstream version?

I forced an update to 1.3.1 in my superpom, an it fixed the issue.  I prefer 
not to have to leave workarounds like that in place any longer than I have to, 
lest they get forgotten and cause a different problem in the future.


> Error generating site XML
> -------------------------
>
>                 Key: MOJO-1260
>                 URL: http://jira.codehaus.org/browse/MOJO-1260
>             Project: Mojo
>          Issue Type: Bug
>          Components: dashboard
>         Environment: Windows XP, Maven 2.0.8 and 2.0.9, IBM JVM v6 (the one 
> that comes with WebSphere 7.0)
>            Reporter: Ian Rowlands
>            Assignee: David Vicente
>
> When running the site:site target I get the following error:
> [INFO] Generating "Global DashBoard Report" report.
> [INFO] MultiReportMojo project = eLTX
> [INFO] MultiReportMojo nb modules = 14
> [INFO] MultiReportMojo base directory = D:\Working\Products\eltx
> [INFO] MultiReportMojo output directory = D:\Working\Products\eltx\target\site
> [INFO] MultiReportMojo report output directory = 
> D:\Working\Products\eltx\target
> \site
> [INFO] MultiReportMojo project language = none
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Could not instatiate converter : 
> com.thoughtworks.xstream.converters.enum
> s.EnumSetConverter : null
> Could not access java.util.EnumSet.elementType field
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.xstream.XStream$InitializationException: Could not 
> instatiate c
> onverter : com.thoughtworks.xstream.converters.enums.EnumSetConverter : null
>         at 
> com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream
> .java:651)
>         at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:620)
>         at com.thoughtworks.xstream.XStream.<init>(XStream.java:371)
>         at com.thoughtworks.xstream.XStream.<init>(XStream.java:316)
>         at 
> org.codehaus.mojo.dashboard.report.plugin.DashBoardUtils.saveXMLDashB
> oardReport(DashBoardUtils.java:995)
>         at 
> org.codehaus.mojo.dashboard.report.plugin.DashBoardReportMojo.execute
> Report(DashBoardReportMojo.java:282)
>         at 
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven
> Report.java:98)
>         at 
> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R
> eportDocumentRenderer.java:139)
>         at 
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(
> DefaultSiteRenderer.java:269)
>         at 
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Defaul
> tSiteRenderer.java:101)
>         at 
> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:133
> )
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:100)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:451)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:558)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> Goal(DefaultLifecycleExecutor.java:512)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:482)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:330)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:291)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:142)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:45)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:599)
>         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: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:45)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:39)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:515)
>         at 
> com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream
> .java:644)
>         ... 29 more
> Caused by: java.lang.RuntimeException: Could not access 
> java.util.EnumSet.elemen
> tType field
>         at com.thoughtworks.xstream.core.util.Fields.find(Fields.java:18)
>         at 
> com.thoughtworks.xstream.converters.enums.EnumSetConverter.<init>(Enu
> mSetConverter.java:31)
>         ... 34 more

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