ConsumerException when scanning database
----------------------------------------

                 Key: MRM-721
                 URL: http://jira.codehaus.org/browse/MRM-721
             Project: Archiva
          Issue Type: Bug
    Affects Versions: 1.0.1, 1.0.2
            Reporter: james ahlborn


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)


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

        

Reply via email to