Please add it to JIRA. We're finding quite frequent (though
intermittent) NPE's in the indexing - it's going to need a decent
review I think.
- Brett
On 01/04/2009, at 1:20 AM, nicolas de loof wrote:
Hi,
Someone just repported this issue getting a SNAPSHOT that has been
deployed
with maven 2.1 on our repo :
Requesting the artifact POM using a proxy-connector :
java.lang.NullPointerException
org
.sonatype
.nexus
.index
.context
.DefaultIndexingContext.copyDocument(DefaultIndexingContext.java:582)
org
.sonatype
.nexus
.index
.packer.DefaultIndexPacker.writeIndexChunks(DefaultIndexPacker.java:
168)
org
.sonatype
.nexus
.index.packer.DefaultIndexPacker.packIndex(DefaultIndexPacker.java:94)
org
.apache
.archiva
.consumers
.lucene.NexusIndexerConsumer.completeScan(NexusIndexerConsumer.java:
211)
org
.apache
.archiva
.repository
.scanner
.functors
.TriggerScanCompletedClosure
.execute(TriggerScanCompletedClosure.java:48)
org
.apache
.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:
388)
org
.apache
.maven
.archiva
.repository
.scanner
.RepositoryContentConsumers
.executeConsumers(RepositoryContentConsumers.java:265)
org
.apache
.maven
.archiva
.proxy
.DefaultRepositoryProxyConnectors
.transferFile(DefaultRepositoryProxyConnectors.java:576)
org
.apache
.maven
.archiva
.proxy
.DefaultRepositoryProxyConnectors
.fetchFromProxies(DefaultRepositoryProxyConnectors.java:163)
org
.apache
.maven
.archiva
.webdav
.ArchivaDavResourceFactory
.fetchContentFromProxies(ArchivaDavResourceFactory.java:554)
org
.apache
.maven
.archiva
.webdav
.ArchivaDavResourceFactory
.processRepository(ArchivaDavResourceFactory.java:430)
org
.apache
.maven
.archiva
.webdav
.ArchivaDavResourceFactory
.createResource(ArchivaDavResourceFactory.java:236)
org
.apache
.maven
.archiva.webdav.RepositoryServlet.service(RepositoryServlet.java:116)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org
.apache
.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:
413)
com
.opensymphony
.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
org
.apache
.struts2
.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:
99)