Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1970

package goal does not work , com.thoughtworks.xstream.converters.enums.EnumMapConverter issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.3.5
    • Fix Version/s: 1.3.6
    • Component/s: wicket-quickstart
    • Labels:
      None
    • Environment:
      maven 2.0.9, java 1.5, fedora linux

      Description

      compile goal works fine, as long as I skip the tests...
      package fails dismally, suspect it is the xstream version suggested by the quickstart archetype. Here is the stacktrace:

      [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.java:668)
      at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:640)
      at com.thoughtworks.xstream.XStream.<init>(XStream.java:375)
      at com.thoughtworks.xstream.XStream.<init>(XStream.java:301)
      at org.apache.maven.plugin.war.util.WebappStructureSerializer.<init>(WebappStructureSerializer.java:25)
      at org.apache.maven.plugin.war.AbstractWarMojo.<init>(AbstractWarMojo.java:237)
      at org.apache.maven.plugin.war.WarMojo.<init>(WarMojo.java:44)
      at java.lang.Class.newInstance(libgcj.so.9)
      at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
      at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464)
      at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93)
      at org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(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(DefaultPluginManager.java:609)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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 java.lang.reflect.Method.invoke(libgcj.so.9)
      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.9)
      at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java: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.<init>(EnumMapConverter.java:29)
      at java.lang.reflect.Constructor.newInstance(libgcj.so.9)
      ...30 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              javadeveloperinflatland Thomas Fitzpatrick
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified