Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-1148

indexing problems on metadata retrieval

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • None
    • None
    • indexing, remote proxy
    • None

    Description

      I repeatedly get the following, though the next attempt it succeeds (And a subsequent file dies). Note that there is another process using the repository at the same time.

      04341 [btpool0-3] ERROR org.mortbay.log - /archiva/repository/releases/org/apache/maven/plugins/maven-pmd-plugin/maven-metadata.xml
      org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
              at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:196)
              at org.apache.lucene.index.IndexReader.document(IndexReader.java:636)
              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)
              at org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
              at org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers.executeConsumers(RepositoryContentConsumers.java:262)
              at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transferFile(DefaultRepositoryProxyConnectors.java:576)
              at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchMetatadaFromProxies(DefaultRepositoryProxyConnectors.java:287)
              at org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.fetchContentFromProxies(ArchivaDavResourceFactory.java:529)
              at org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.processRepository(ArchivaDavResourceFactory.java:418)
              at org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.processRepositoryGroup(ArchivaDavResourceFactory.java:358)
              at org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.createResource(ArchivaDavResourceFactory.java:202)
              at org.apache.maven.archiva.webdav.RepositoryServlet.service(RepositoryServlet.java:118)
      

      In addition, this shouldn't result in a 500 error

      Attachments

        Activity

          People

            brett Brett Porter
            brett Brett Porter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: