[ 
http://jira.codehaus.org/browse/MRM-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90622
 ] 

Arnaud Heritier commented on MRM-288:
-------------------------------------

To fix it we also have to create an archiva.xml file with the content :  
<configuration/>.

> Error on startup: NPE, configuration can not be null
> ----------------------------------------------------
>
>                 Key: MRM-288
>                 URL: http://jira.codehaus.org/browse/MRM-288
>             Project: Archiva
>          Issue Type: Bug
>         Environment: r510897
>            Reporter: Lester Ecarma
>         Assigned To: Brett Porter
>             Fix For: 1.0
>
>
> 2007-02-23 18:11:34.480::WARN:  Failed startup of context [EMAIL 
> PROTECTED]/,/home/lecarma/workspace/mergere/OSS/apache/archiva/trunk/archiva-webapp/src/main/webapp}
> java.lang.NullPointerException: configuration can not be null
>         at 
> org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry.<init>(CommonsConfigurationRegistry.java:89)
>         at 
> org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry.getSection(CommonsConfigurationRegistry.java:422)
>         at 
> org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.addChangeListener(DefaultArchivaConfiguration.java:86)
>         at 
> org.apache.maven.archiva.scheduler.DefaultRepositoryTaskScheduler.start(DefaultRepositoryTaskScheduler.java:91)
>         at 
> org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
>         at 
> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:130)
>         at 
> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:143)
>         at 
> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:133)
>         at 
> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:87)
>         at 
> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:101)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:313)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291)
>         at 
> org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:54)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:928)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:876)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:853)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:222)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:236)
>         at 
> org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:76)
>         at 
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:511)
>         at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
>         at 
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1191)
>         at 
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:481)
>         at 
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:434)
>         at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
> org.mortbay.jetty.plugin.Jetty6PluginWebApplication.start(Jetty6PluginWebApplication.java:147)
>         at 
> org.mortbay.jetty.plugin.AbstractJettyRunMojo$1.changesDetected(AbstractJettyRunMojo.java:372)
>         at org.mortbay.jetty.plugin.util.Scanner.run(Scanner.java:159)
> This causes a 404

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

        

Reply via email to