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

ConsumerException when scanning database

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.1, 1.0.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I'm running the 1.0.2 branch, version 632005. I got a bunch of similar consumerexceptions when i tried to scan the database. however, i only got them the first time (after upgrading from a previous version of the code on the 1.0.2 branch), now scans seem to be proceeding without problem. an example exception is included below.

      org.apache.maven.archiva.consumers.ConsumerException: Unable to find Database Object [org.apache.maven:maven-profile:2.0.7] of type org.apache.maven.archiva.model.ArchivaProjectModel using no fetch-group
      at org.apache.maven.archiva.consumers.database.DatabaseCleanupRemoveProjectConsumer.processArchivaArtifact(DatabaseCleanupRemoveProjectConsumer.java:119)
      at org.apache.maven.archiva.database.updater.ProcessArchivaArtifactClosure.execute(ProcessArchivaArtifactClosure.java:52)
      at org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
      at org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateProcessed(JdoDatabaseUpdater.java:172)
      at org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateAllProcessed(JdoDatabaseUpdater.java:113)
      at org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskExecutor.executeTask(ArchivaDatabaseUpdateTaskExecutor.java:78)
      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$Worker.runTask(ThreadPoolExecutor.java:665)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      at java.lang.Thread.run(Thread.java:595)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brettporter Brett Porter
                Reporter:
                jahlborn james
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: