You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@archiva.apache.org by Jan Delannoy <ja...@gmail.com> on 2007/05/08 09:07:49 UTC
exception in 0.9-alpha-2
Hi all,
I'm not sure if you're still going to release a 0.9 version, but when
I tried to run it after a fresh checkout and build, I get the
exception below. It looks like it's trying to create a default
localRepository, probably because it's the first time that the
application is running? I quickly looked through the code there and
it looks like it's trying to read the localRepository parameter from
some configuration, but the NullPointerException seems to indicate
that this parameter is not found. I have no experience with Plexus,
so I have no clue where it's looking for this parameter... Should it
be in the archiva.xml? Or does it come from the database? Or am I
just way off here?
Jan
INFO | jvm 1 | 2007/05/08 07:42:46 | [ERROR] Error while
deploying appserver
archiva-plexus-application-0.9-alpha-2-SNAPSHOT.jar.
INFO | jvm 1 | 2007/05/08 07:42:46 |
org.codehaus.plexus.appserver.ApplicationServerException: Error in the
app server lifecycle post-app-container-init-service-call phase.
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:119)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase$1.onJarDiscovered(ApplicationDeploymentPhase.java:44)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:100)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:73)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase.execute(ApplicationDeploymentPhase.java:58)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultApplicationServer.java:218)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:155)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:85)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.PlexusApplicationHost.main(PlexusApplicationHost.java:289)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
java.lang.reflect.Method.invoke(Method.java:585)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
java.lang.reflect.Method.invoke(Method.java:585)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
java.lang.Thread.run(Thread.java:595)
INFO | jvm 1 | 2007/05/08 07:42:46 | Caused by:
org.codehaus.plexus.appserver.application.deploy.lifecycle.AppDeploymentException:
Error calling service in pre-app init phase.
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:32)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:107)
INFO | jvm 1 | 2007/05/08 07:42:46 | ... 32 more
INFO | jvm 1 | 2007/05/08 07:42:46 | Caused by:
org.codehaus.plexus.appserver.service.PlexusServiceException: Error
while starting the context /archiva
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:252)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:28)
INFO | jvm 1 | 2007/05/08 07:42:46 | ... 33 more
INFO | jvm 1 | 2007/05/08 07:42:46 | Caused by:
org.codehaus.plexus.jetty.ServletContainerException: Error while
starting the context /archiva
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:213)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:248)
INFO | jvm 1 | 2007/05/08 07:42:46 | ... 34 more
INFO | jvm 1 | 2007/05/08 07:42:46 | Caused by:
java.lang.NullPointerException
INFO | jvm 1 | 2007/05/08 07:42:46 | at
java.io.File.<init>(File.java:194)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.apache.maven.archiva.configuration.DefaultConfiguredRepositoryFactory.createRepository(DefaultConfiguredRepositoryFactory.java:124)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.apache.maven.archiva.configuration.DefaultConfiguredRepositoryFactory.createRepository(DefaultConfiguredRepositoryFactory.java:56)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.apache.maven.archiva.configuration.DefaultConfiguredRepositoryFactory.createRepositories(DefaultConfiguredRepositoryFactory.java:97)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.apache.maven.archiva.repositories.DefaultActiveManagedRepositories.configureSelf(DefaultActiveManagedRepositories.java:229)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.apache.maven.archiva.repositories.DefaultActiveManagedRepositories.initialize(DefaultActiveManagedRepositories.java:205)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:33)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:68)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:886)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:834)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:811)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:222)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:260)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:76)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:495)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.mortbay.util.Container.start(Container.java:72)
INFO | jvm 1 | 2007/05/08 07:42:46 | at
org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:209)
INFO | jvm 1 | 2007/05/08 07:42:46 | ... 35 more