You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Mike R. Haller (JIRA)" <ji...@codehaus.org> on 2009/05/02 14:35:45 UTC

[jira] Commented: (MRM-1132) NPE when deploying due to indexing

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

Mike R. Haller commented on MRM-1132:
-------------------------------------

Same problem here. Releases and builds occasionally fail due to the Nexus Indexer NPE in copyDocument().
Having this problem every two weeks is imho regularly enough to fix it in a release :-]


> NPE when deploying due to indexing
> ----------------------------------
>
>                 Key: MRM-1132
>                 URL: http://jira.codehaus.org/browse/MRM-1132
>             Project: Archiva
>          Issue Type: Improvement
>          Components: indexing
>    Affects Versions: 1.2
>            Reporter: Brett Porter
>             Fix For: 1.x
>
>
> {code}
> 393885 [btpool0-6] ERROR org.mortbay.log - /archiva/repository/snapshots/test/test-deploy-snapshot/1.0-SNAPSHOT/test-deploy-snapshot-1.0-SNAPSHOT.jar
> java.lang.NullPointerException
>         at org.sonatype.nexus.index.context.DefaultIndexingContext.copyDocument(DefaultIndexingContext.java:582)
>         at org.sonatype.nexus.index.packer.DefaultIndexPacker.writeIndexChunks(DefaultIndexPacker.java:168)
>         at org.sonatype.nexus.index.packer.DefaultIndexPacker.packIndex(DefaultIndexPacker.java:94)
>         at org.apache.archiva.consumers.lucene.NexusIndexerConsumer.completeScan(NexusIndexerConsumer.java:209)
>         at org.apache.archiva.repository.scanner.functors.TriggerScanCompletedClosure.execute(TriggerScanCompletedClosure.java:48)
> {code}
> No nulls are passed in. Deleting the repository's .index and .indexer directories corrected the problem - something appeared to get corrupted.

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