archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter" <brett.por...@gmail.com>
Subject Re: NullPointerException in ProcessArchivaArtifactClosure while scanning repository
Date Wed, 02 Apr 2008 22:22:50 GMT
The issue has been fixed in 1.0.2-SNAPSHOT. There are a few different
causes, usually revealed by the stack trace that follows. It's often
an unrecognised path format being scanned.

Cheers,
Brett

On 03/04/2008, jaxzin <Brian.R.Jackson@espn3.com> wrote:
>
>  I'm seeing this is my log, any ideas what the cause might be?  I'm using
>  Archiva 1.0.1.
>
>  38742624 [pool-2-thread-1] INFO
>  org.apache.maven.archiva.repository.scanner.RepositoryScanner:default  -
>  Walk Started: [releases] E:\archiva_data\repositories\releases
>  38745389 [Thread-5] ERROR
>  org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:database-update  -
>  Error executing task
>  edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
>  java.lang.NullPointerException
>         at
>  edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
>         at
>  edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
>         at
>  org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
>         at
>  org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
>  Caused by: java.lang.NullPointerException
>         at
>  org.apache.maven.archiva.database.updater.ProcessArchivaArtifactClosure.execute(ProcessArchivaArtifactClosure.java:56)
>         at
>  org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
>         at
>  org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateProcessed(JdoDatabaseUpdater.java:170)
>         at
>  org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateAllProcessed(JdoDatabaseUpdater.java:111)
>         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:619)
>
>
>  --
>  View this message in context: http://www.nabble.com/NullPointerException-in-ProcessArchivaArtifactClosure-while-scanning-repository-tp16449492p16449492.html
>  Sent from the archiva-users mailing list archive at Nabble.com.
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Mime
View raw message