archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deng Ching <och...@apache.org>
Subject Re: Nullpointer with SNAPSHOT + maven 2.1 on archiva 1.2
Date Fri, 03 Apr 2009 02:05:35 GMT
Hi Nicolas,

When you upgraded to 1.2, did you by any chance deleted the old index of the
repo and/or cleared out the db? I have a theory that the old index might be
causing the indexer to break..

Thanks,
Deng

On Tue, Mar 31, 2009 at 10:20 PM, nicolas de loof <nicolas@apache.org>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)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message