You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Julien HENRY (JIRA)" <ji...@codehaus.org> on 2009/03/05 17:59:12 UTC

[jira] Commented: (MRM-1106) NPE when starting Archiva

    [ http://jira.codehaus.org/browse/MRM-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168024#action_168024 ] 

Julien HENRY commented on MRM-1106:
-----------------------------------

After a while, there are 2 new tables created: ARCHIVA_ARTIFACT and SEQUENCE_TABLE

But I still have the previous exception in my web browser.

> NPE when starting Archiva
> -------------------------
>
>                 Key: MRM-1106
>                 URL: http://jira.codehaus.org/browse/MRM-1106
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.2-M1
>         Environment: Linux
> Tomcat
> MySQL
> LDAP
>            Reporter: Julien HENRY
>
> I'm trying to install Archiva 1.2-M1 as an exploded webapp under tomcat.
> I have already installed continuum and I would like the both share the same user DB in MySQL. Another thing that should be noted is I'm using LDAP authentication.
> When I first tried to access Archiva, I got the following exception:
> {code}
> java.lang.NullPointerException
> 	org.apache.maven.archiva.security.DefaultUserRepositories.getObservableRepositoryIds(DefaultUserRepositories.java:76)
> 	org.apache.maven.archiva.web.action.SearchAction.getObservableRepos(SearchAction.java:323)
> 	org.apache.maven.archiva.web.action.SearchAction.prepare(SearchAction.java:155)
> 	com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:118)
> 	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> 	org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> 	com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> 	com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> 	org.codehaus.plexus.redback.struts2.interceptor.AutoLoginInterceptor.intercept(AutoLoginInterceptor.java:165)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> 	org.codehaus.plexus.redback.struts2.interceptor.ForceAdminUserInterceptor.intercept(ForceAdminUserInterceptor.java:75)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> 	com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> 	com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> 	org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)
> 	org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)
> 	org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
> 	com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> 	com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> 	org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
> {code}
> Looking at the MySQL DB, there is only one table created: ARCHIVA_REPOSITORY_STATS
> In archiva.log I can only see the following error:
> {code}
> 2009-03-05 18:37:05,822 [main] ERROR org.apache.maven.archiva.scheduled.DefaultArchivaTaskScheduler  - Repository [internal] is currently being processed or is already queued.
> {code}

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