Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-1143

Nexus indexer throws NPE on repository scan

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.1
    • Component/s: indexing
    • Labels:
      None

      Description

      2009-03-15 22:27:31,346 [pool-2-thread-1] ERROR org.apache.maven.archiva.repository.scanner.functors.ConsumerProcessFileClosure  - Consumer [index-content] had an error when processing file [/export/archiva/repodata/internal/org/codehaus/plexus/plexus-container-default/1.0-alpha-10/plexus-container-default-1.0-alpha-10.pom]: null
      java.lang.NullPointerException
      	at org.apache.archiva.consumers.lucene.NexusIndexerConsumer.processFile(NexusIndexerConsumer.java:182)
      	at org.apache.maven.archiva.repository.scanner.functors.ConsumerProcessFileClosure.execute(ConsumerProcessFileClosure.java:50)
      	at org.apache.commons.collections.functors.IfClosure.execute(IfClosure.java:117)
      	at org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
      	at org.apache.maven.archiva.repository.scanner.RepositoryScannerInstance.directoryWalkStep(RepositoryScannerInstance.java:137)
      	at org.codehaus.plexus.util.DirectoryWalker.fireStep(DirectoryWalker.java:174)
      	at org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:392)
      	at org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
      	at org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
      	at org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
      	at org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
      	at org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
      	at org.codehaus.plexus.util.DirectoryWalker.scan(DirectoryWalker.java:345)
      	at org.apache.maven.archiva.repository.scanner.DefaultRepositoryScanner.scan(DefaultRepositoryScanner.java:121)
      	at org.apache.maven.archiva.repository.scanner.DefaultRepositoryScanner.scan(DefaultRepositoryScanner.java:65)
      	at org.apache.maven.archiva.scheduled.executors.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:118)
      	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
      	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
      	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
      	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
      	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
      	at java.lang.Thread.run(Thread.java:619)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                oching Maria Odea B. Ching
                Reporter:
                jameswdumay James William Dumay
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: