You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "james ahlborn (JIRA)" <ji...@codehaus.org> on 2008/02/28 19:06:28 UTC
[jira] Created: (MRM-721) ConsumerException when scanning database
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
[jira] Updated: (MRM-721) ConsumerException when scanning database
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MRM-721:
-----------------------------
Fix Version/s: 1.0.x
> 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
> Fix For: 1.0.x
>
>
> 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
[jira] Commented: (MRM-721) ConsumerException when scanning
database
Posted by "james ahlborn (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125958 ]
james ahlborn commented on MRM-721:
-----------------------------------
Well, i wiped out my database and started a fresh scan. I have not seen this exception again, so maybe it was just some whacky state that accumulated from previous issues which have since been resolved.
> 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
[jira] Issue Comment Edited: (MRM-721) ConsumerException when
scanning database
Posted by "james ahlborn (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125958 ]
jahlborn edited comment on MRM-721 at 3/3/08 1:53 PM:
-----------------------------------------------------------
So, I wiped my database and rebuilt from scratch. This error is still appearing periodically.
was (Author: jahlborn):
Well, i wiped out my database and started a fresh scan. I have not seen this exception again, so maybe it was just some whacky state that accumulated from previous issues which have since been resolved.
> 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