Now more errors:

Should I be reverting back to my backup? or can this be fixed?

2011-04-15 11:20:00,912 [pool-2-thread-1] WARN
org.apache.maven.archiva.repository.scanner.functors.TriggerBeginScanClo
sure  - Consumer [index-content] cannot begin: read past EOF
org.apache.maven.archiva.consumers.ConsumerException: read past EOF
        at
org.apache.archiva.consumers.lucene.NexusIndexerConsumer.beginScan(Nexus
IndexerConsumer.java:112)
        at
org.apache.archiva.consumers.lucene.NexusIndexerConsumer.beginScan(Nexus
IndexerConsumer.java:125)
        at
org.apache.maven.archiva.repository.scanner.functors.TriggerBeginScanClo
sure.execute(TriggerBeginScanClosure.java:72)
        at
org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.
java:388)
        at
org.apache.maven.archiva.repository.scanner.RepositoryScannerInstance.<i
nit>(RepositoryScannerInstance.java:101)
        at
org.apache.maven.archiva.repository.scanner.RepositoryScannerInstance.<i
nit>(RepositoryScannerInstance.java:114)
        at
org.apache.maven.archiva.repository.scanner.DefaultRepositoryScanner.sca
n(DefaultRepositoryScanner.java:117)
        at
org.apache.maven.archiva.repository.scanner.DefaultRepositoryScanner.sca
n(DefaultRepositoryScanner.java:67)
        at
org.apache.maven.archiva.scheduled.executors.ArchivaRepositoryScanningTa
skExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:141)
        at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable$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.runWor
ker(ThreadPoolExecutor.java:987)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:528)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: read past EOF
        at
org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.jav
a:151)
        at
org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.j
ava:38)
        at
org.apache.lucene.store.IndexInput.readVInt(IndexInput.java:78)
        at
org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.jav
a:73)
        at
org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:321)
        at
org.apache.lucene.index.SegmentReader.get(SegmentReader.java:306)
        at
org.apache.lucene.index.SegmentReader.get(SegmentReader.java:228)
        at
org.apache.lucene.index.MultiSegmentReader.<init>(MultiSegmentReader.jav
a:55)
        at
org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexRead
er.java:104)
        at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.j
ava:653)
        at
org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.j
ava:115)
        at
org.apache.lucene.index.IndexReader.open(IndexReader.java:316)
        at
org.apache.lucene.index.IndexReader.open(IndexReader.java:227)
        at
org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexReader(D
efaultIndexingContext.java:387)
        at
org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexSearcher
(DefaultIndexingContext.java:409)
        at
org.sonatype.nexus.index.context.DefaultIndexingContext.checkAndUpdateIn
dexDescriptor(DefaultIndexingContext.java:210)
        at
org.sonatype.nexus.index.context.DefaultIndexingContext.prepareIndex(Def
aultIndexingContext.java:174)
        at
org.sonatype.nexus.index.context.DefaultIndexingContext.<init>(DefaultIn
dexingContext.java:132)
        at
org.apache.maven.archiva.scheduled.tasks.TaskCreator.createContext(TaskC
reator.java:93)
        at
org.apache.archiva.consumers.lucene.NexusIndexerConsumer.beginScan(Nexus
IndexerConsumer.java:108)
        ... 14 more
2011-04-15 11:20:00,916 [pool-2-thread-1] INFO
org.apache.maven.archiva.repository.scanner.RepositoryScannerInstance  -
Walk Started: [internal]
/data/archive/archiva/data/repositories/internal
2011-04-15 11:20:07,924 [Thread-17] ERROR taskQueueExecutor#indexing  -
Error executing task
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
java.lang.NullPointerException
        at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(Futu
reTask.java:299)
        at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask
.java:118)
        at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
        at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable.run(ThreadedTaskQueueExecutor.java:127)
Caused by: java.lang.NullPointerException
        at
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
.finishIndexingTask(ArchivaIndexingTaskExecutor.java:174)
        at
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
.executeTask(ArchivaIndexingTaskExecutor.java:89)
        at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable$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.runWor
ker(ThreadPoolExecutor.java:987)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:528)
        at java.lang.Thread.run(Thread.java:619)

-----Original Message-----
From: Jonathan Opperman [mailto:jonathan.opper...@ecngroup.co.nz] 
Sent: Friday, 15 April 2011 10:13 a.m.
To: users@archiva.apache.org
Subject: RE: Help for users@archiva.apache.org

Hi All,

Not sure if this is the correct list to ask for help?

Upgraded from 1.2.2 to 1.3.4.....

Getting this in the archiva.log

2011-04-14 22:59:16,912 [pool-3-thread-1] ERROR
taskQueueExecutor#indexin= g  - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Trying
to= =20index an artifact but the context is already closed
=20       at
org.apache.maven.archiva.scheduled.executors.ArchivaIndexing=
TaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:115)
=20       at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExe=
cutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
=20       at
edu.emory.mathcs.backport.java.util.concurrent.Executors$Run=
nableAdapter.call(Executors.java:442)
=20       at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.ru=
n(FutureTask.java:176)
=20       at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExe=
cutor.runWorker(ThreadPoolExecutor.java:987)
=20       at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExe=
cutor$Worker.run(ThreadPoolExecutor.java:528)
=20       at java.lang.Thread.run(Thread.java:619)


How do I correct this?

ta

Regards,
Jonathan
########################################################################
#############
This e-mail message has been scanned for Viruses and Content and cleared

by MailMarshal
########################################################################
#############
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################

Reply via email to