archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: NPE on every scheduled database-update
Date Sun, 23 Mar 2008 22:38:50 GMT
I've fixed it in 1.0.2.

(searching JIRA with "MRM FutureTask" found it - exceptions are  
usually the only thing I can reliably find in JIRA :)

On 23/03/2008, at 1:04 PM, Wendy Smoak wrote:

> In the event it hasn't already been reported, I see this every hour in
> the log...
>
> INFO   | jvm 2    | 2008/03/22 19:00:00 | 2008-03-22 19:00:00,017
> [pool-1-thread-1] INFO
> org.codehaus.plexus.taskqueue.execution.TaskExecutor:database-update
> - Executing task from queue with job name: database-job
> INFO   | jvm 2    | 2008/03/22 19:00:00 | 2008-03-22 19:00:00,017
> [pool-1-thread-1] INFO
> org.codehaus.plexus.taskqueue.execution.TaskExecutor:database-update
> - Task: Updating unprocessed artifacts
> INFO   | jvm 2    | 2008/03/22 19:00:00 | 2008-03-22 19:00:00,021
> [pool-2-thread-1] INFO
> org.codehaus.plexus.taskqueue.execution.TaskExecutor:repository- 
> scanning
> - Executing task from queue with job name: repository-job:internal
> INFO   | jvm 2    | 2008/03/22 19:00:00 | 2008-03-22 19:00:00,029
> [pool-2-thread-1] INFO
> org.apache.maven.archiva.repository.scanner.RepositoryScanner:default
> - Walk Started: [internal] /usr/local/share/repository/internal
> INFO   | jvm 2    | 2008/03/22 19:00:02 | 2008-03-22 19:00:02,212
> [pool-1-thread-1] INFO
> org.codehaus.plexus.taskqueue.execution.TaskExecutor:database-update
> - Task: Updating processed artifacts
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 2008-03-22 19:00:03,597
> [Thread-5] ERROR
> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:database- 
> update
> - Error executing task
> INFO   | jvm 2    | 2008/03/22 19:00:03 |
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
> java.lang.NullPointerException
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> edu 
> .emory 
> .mathcs 
> .backport.java.util.concurrent.FutureTask.getResult(FutureTask.java: 
> 299)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> edu 
> .emory 
> .mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java: 
> 118)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor 
> $ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor 
> $ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | Caused by:
> java.lang.NullPointerException
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> org 
> .apache 
> .maven 
> .archiva 
> .database 
> .updater 
> .ProcessArchivaArtifactClosure 
> .execute(ProcessArchivaArtifactClosure.java:56)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> org 
> .apache 
> .commons.collections.CollectionUtils.forAllDo(CollectionUtils.java: 
> 388)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> org 
> .apache 
> .maven 
> .archiva 
> .database 
> .updater.JdoDatabaseUpdater.updateProcessed(JdoDatabaseUpdater.java: 
> 170)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> org 
> .apache 
> .maven 
> .archiva 
> .database 
> .updater 
> .JdoDatabaseUpdater.updateAllProcessed(JdoDatabaseUpdater.java:111)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> org 
> .apache 
> .maven 
> .archiva 
> .scheduled 
> .executors 
> .ArchivaDatabaseUpdateTaskExecutor 
> .executeTask(ArchivaDatabaseUpdateTaskExecutor.java:78)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor 
> $ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> edu.emory.mathcs.backport.java.util.concurrent.Executors 
> $RunnableAdapter.call(Executors.java:442)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> edu 
> .emory 
> .mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java: 
> 176)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor 
> $Worker.runTask(ThreadPoolExecutor.java:665)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor 
> $Worker.run(ThreadPoolExecutor.java:690)
> INFO   | jvm 2    | 2008/03/22 19:00:03 | 	at
> java.lang.Thread.run(Thread.java:613)
> INFO   | jvm 2    | 2008/03/22 19:00:05 | 2008-03-22 19:00:05,594
> [pool-2-thread-1] INFO
> org.apache.maven.archiva.repository.scanner.RepositoryScanner:default
> - Walk Finished: [internal] /usr/local/share/repository/internal
> INFO   | jvm 2    | 2008/03/22 19:00:05 | 2008-03-22 19:00:05,595
> [pool-2-thread-1] INFO
> org.codehaus.plexus.taskqueue.execution.TaskExecutor:repository- 
> scanning
> - Finished repository task:
>
> -- 
> Wendy

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


Mime
View raw message