continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guido Wilken" <Guido.Wil...@isec7.com>
Subject Could not instatiate converter : com.thoughtworks.xstream.converters.enums.EnumMapConverter : null
Date Thu, 10 Apr 2008 07:36:04 GMT
Hi there,

 

again it's me ;)

Out of the blue a project stopped working :( 

Since yesterday no changes were committed to cvs.

The hourly "clean install" runs fine.

The daily "tomcat:undeploy tomcat:deploy" didn't.

It worked like a charm so far and stopped working this morning.

 

If I run "mvn clean install tomcat:undeploy tomcat:deploy" in the
working directory everything works fine.

I get the following:

...

-------------------------------------------------------

 T E S T S

-------------------------------------------------------

Running de.devinto.zeiterfassung.tests.ProjectServiceImplTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088
sec

 

Results :

 

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

 

[INFO] [war:war]

[INFO] Packaging webapp

[INFO] Assembling webapp[ZeiterfassungWeb] in
[/opt/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory/8/ta
rget/Zeiterfassung]

[INFO] Processing war project

[INFO] Webapp assembled in[112 msecs]

[INFO] Building war:
/opt/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory/8/tar
get/Zeiterfassung.war

[INFO] [tomcat:deploy]

[INFO] Deploying war to http://192.168.70.23:8280/Zeiterfassung

[INFO] OK - Deployed application at context path /Zeiterfassung

[INFO]
------------------------------------------------------------------------

[INFO] BUILD SUCCESSFUL

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 16 seconds

[INFO] Finished at: Thu Apr 10 09:26:20 CEST 2008

[INFO] Final Memory: 28M/358M

[INFO]
------------------------------------------------------------------------

 

 

But when I start the build task in continuum (which runs "clean install
tomcat:undeploy tomcat:deploy" as well) I get:

 

..

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running de.devinto.zeiterfassung.tests.ProjectServiceImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018
sec
 
Results :
 
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Could not instatiate converter :
com.thoughtworks.xstream.converters.enums.EnumMapConverter : null
Could not access java.util.EnumMap.keyType field
[INFO]
------------------------------------------------------------------------
[INFO] Trace
com.thoughtworks.xstream.XStream$InitializationException: Could not
instatiate converter :
com.thoughtworks.xstream.converters.enums.EnumMapConverter : null
   at
com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.ja
va:668)
   at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:640)
   at com.thoughtworks.xstream.XStream.&lt;init&gt;(XStream.java:375)
   at com.thoughtworks.xstream.XStream.&lt;init&gt;(XStream.java:301)
   at
org.apache.maven.plugin.war.util.WebappStructureSerializer.&lt;init&gt;(
WebappStructureSerializer.java:25)
   at
org.apache.maven.plugin.war.AbstractWarMojo.&lt;init&gt;(AbstractWarMojo
.java:237)
   at org.apache.maven.plugin.war.WarMojo.&lt;init&gt;(WarMojo.java:44)
   at java.lang.Class.newInstance(libgcj.so.81)
   at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInsta
nce(JavaComponentFactory.java:44)
   at
org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(Defau
ltPlexusContainer.java:1464)
   at
org.codehaus.plexus.component.manager.AbstractComponentManager.createCom
ponentInstance(AbstractComponentManager.java:93)
   at
org.codehaus.plexus.component.manager.PerLookupComponentManager.getCompo
nent(PerLookupComponentManager.java:48)
   at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
.java:331)
   at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
.java:440)
   at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPl
uginManager.java:566)
   at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:425)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:480)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:459)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
   at java.lang.reflect.Method.invoke(libgcj.so.81)
   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 java.lang.reflect.Constructor.newInstance(libgcj.so.81)
   at
com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.ja
va:661)
   ...29 more
Caused by: java.lang.RuntimeException: Could not access
java.util.EnumMap.keyType field
   at com.thoughtworks.xstream.core.util.Fields.find(Fields.java:18)
   at
com.thoughtworks.xstream.converters.enums.EnumMapConverter.&lt;init&gt;(
EnumMapConverter.java:29)
   at java.lang.reflect.Constructor.newInstance(libgcj.so.81)
   ...30 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Thu Apr 10 09:27:17 GMT+02:00 2008
[INFO] Final Memory: 34M/59M
[INFO]
------------------------------------------------------------------------

 

 

I haven't found any useful information on the error message on the web
:/

Any ideas?

 

Thanks!

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message