Hi list, I had a bit of time so I tried to upgrade from beta3 to 1.1. I followed the instructions on the upgrade page in order to restore the databases.
When I start the new version (1.1) after the database import, it fails with a NullPointerException. The relevant part of the stack trace is attached. Could it be that my original database was somehow corrupted? Or is there any specific steps (other than those indicated on the upgrade page) to follow? Note that the Plexus listener IS configured in web.xml (in did not change web.xml anyway). Regards, -- Julien
INFO | jvm 1 | 2007/11/28 12:55:17 | INFO: ********** FATAL ERROR STARTING UP PLEXUS-WEBWORK INTEGRATION ********** INFO | jvm 1 | 2007/11/28 12:55:17 | Looks like the Plexus listener was not configured for your web app! INFO | jvm 1 | 2007/11/28 12:55:17 | You need to add the following to web.xml: INFO | jvm 1 | 2007/11/28 12:55:17 | INFO | jvm 1 | 2007/11/28 12:55:17 | <listener> INFO | jvm 1 | 2007/11/28 12:55:17 | <listener-class>org.codehaus.plexus.xwork.PlexusLifecycleListener</listener-class> INFO | jvm 1 | 2007/11/28 12:55:17 | </listener> INFO | jvm 1 | 2007/11/28 12:55:17 | [ERROR] Error while deploying appserver continuum-plexus-application-1.1.jar. INFO | jvm 1 | 2007/11/28 12:55:17 | org.codehaus.plexus.appserver.ApplicationServerException: Error in the app server lifecycle post-app-container-init-service-call phase. INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:119) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase$1.onJarDiscovered(ApplicationDeploymentPhase.java:44) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:100) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:73) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase.execute(ApplicationDeploymentPhase.java:58) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultApplicationServer.java:218) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:155) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:85) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.PlexusApplicationHost.main(PlexusApplicationHost.java:289) INFO | jvm 1 | 2007/11/28 12:55:17 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2007/11/28 12:55:17 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO | jvm 1 | 2007/11/28 12:55:17 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2007/11/28 12:55:17 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351) INFO | jvm 1 | 2007/11/28 12:55:17 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2007/11/28 12:55:17 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO | jvm 1 | 2007/11/28 12:55:17 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2007/11/28 12:55:17 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2007/11/28 12:55:17 | at java.lang.Thread.run(Thread.java:619) INFO | jvm 1 | 2007/11/28 12:55:17 | Caused by: org.codehaus.plexus.appserver.application.deploy.lifecycle.AppDeploymentException: Error calling service in pre-app init phase. INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:32) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:107) INFO | jvm 1 | 2007/11/28 12:55:17 | ... 32 more INFO | jvm 1 | 2007/11/28 12:55:17 | Caused by: org.codehaus.plexus.appserver.service.PlexusServiceException: Error while starting the context /continuum INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:252) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:28) INFO | jvm 1 | 2007/11/28 12:55:17 | ... 33 more INFO | jvm 1 | 2007/11/28 12:55:17 | Caused by: org.codehaus.plexus.jetty.ServletContainerException: Error while starting the context /continuum INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:213) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:248) INFO | jvm 1 | 2007/11/28 12:55:17 | ... 34 more INFO | jvm 1 | 2007/11/28 12:55:17 | Caused by: java.lang.NullPointerException INFO | jvm 1 | 2007/11/28 12:55:17 | at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3667) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3646) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1202) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1261) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.jdo.PlexusJdoUtils.updateObject(PlexusJdoUtils.java:160) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoContinuumStore.java:1080) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoContinuumStore.java:1072) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.apache.maven.continuum.store.JdoContinuumStore.updateBuildDefinitionTemplate(JdoContinuumStore.java:935) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.apache.maven.continuum.builddefinition.DefaultBuildDefinitionService.addBuildDefinitionInTemplate(DefaultBuildDefinitionService.java:504) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.apache.maven.continuum.builddefinition.DefaultBuildDefinitionService.getDefaultAntBuildDefinitionTemplate(DefaultBuildDefinitionService.java:285) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.apache.maven.continuum.builddefinition.DefaultBuildDefinitionService.initializeDefaultContinuumBuildDefintions(DefaultBuildDefinitionService.java:115) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.apache.maven.continuum.builddefinition.DefaultBuildDefinitionService.initialize(DefaultBuildDefinitionService.java:104) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:33) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:68) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:886) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:834) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:811) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:222) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:260) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:76) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:495) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.mortbay.util.Container.start(Container.java:72) INFO | jvm 1 | 2007/11/28 12:55:17 | at org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:209) INFO | jvm 1 | 2007/11/28 12:55:17 | ... 35 more INFO | jvm 1 | 2007/11/28 12:55:17 | [INFO] The appserver server has been initialized. INFO | jvm 1 | 2007/11/28 12:55:17 | [INFO] The appserver server has started. INFO | jvm 1 | 2007/11/28 12:56:02 | Nov 28, 2007 12:56:02 PM org.mortbay.util.Container start INFO | jvm 1 | 2007/11/28 12:56:02 | INFO: Started HttpContext[/,/]
