[ 
https://issues.apache.org/jira/browse/MRM-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Strasser updated MRM-2057:
-------------------------------
    Description: 
After an update from 2.2.8 to 2.2.10 (not selectable in {_}Affected 
Version/s{_}{_}). The repository is not browsable anymore.

Following error occours:

{{ryTask [repositoryId=snapshots, resourceFile=null, scanAll=false, 
updateRelatedArtifacts=false]}}
{{2023-09-25 23:15:04,359 [pool-5-thread-1] ERROR 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager [] - 
failed to read bundle: 3cc813f6-9e35-44d9-98a4-57dee9a6bd28: 
java.io.EOFException}}
{{2023-09-25 23:15:04,359 [pool-5-thread-1] ERROR 
org.apache.jackrabbit.core.ItemManager [] - failed to retrieve item state of 
item 3cc813f6-9e35-44d9-98a4-57dee9a6bd28}}
{{org.apache.jackrabbit.core.state.ItemStateException: failed to read bundle: 
3cc813f6-9e35-44d9-98a4-57dee9a6bd28: java.io.EOFException}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:249)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:769)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:752)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:490)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1873)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1793)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:669) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:647) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.LazyItemIterator.prefetchNext(LazyItemIterator.java:120)
 [jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.LazyItemIterator.next(LazyItemIterator.java:257) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:465)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.getMetadataFacets(JcrMetadataRepository.java:449)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager.getLastStatistics(DefaultRepositoryStatisticsManager.java:76)
 [repository-statistics-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:139)
 [archiva-scheduler-repository-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:54)
 [archiva-scheduler-repository-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:117)
 [spring-taskqueue-2.1.jar:?]}}
{{    at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[?:1.8.0_352]}}
{{    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[?:1.8.0_352]}}
{{    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_352]}}
{{    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_352]}}
{{    at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]}}
{{Caused by: java.io.EOFException}}
{{    at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290) 
~[?:1.8.0_352]}}
{{    at 
org.apache.jackrabbit.core.persistence.util.BundleReader.<init>(BundleReader.java:132)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:152)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:242)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    ... 28 more}}
{{2023-09-25 23:15:04,360 [pool-5-thread-1] ERROR 
org.apache.jackrabbit.core.LazyItemIterator [] - failed to fetch item 
3cc813f6-9e35-44d9-98a4-57dee9a6bd28, skipping...}}
{{javax.jcr.RepositoryException: failed to retrieve item state of item 
3cc813f6-9e35-44d9-98a4-57dee9a6bd28}}
{{    at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:388) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:669) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:647) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.LazyItemIterator.prefetchNext(LazyItemIterator.java:120)
 [jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.LazyItemIterator.next(LazyItemIterator.java:257) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:465)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.getMetadataFacets(JcrMetadataRepository.java:449)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager.getLastStatistics(DefaultRepositoryStatisticsManager.java:76)
 [repository-statistics-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:139)
 [archiva-scheduler-repository-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:54)
 [archiva-scheduler-repository-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:117)
 [spring-taskqueue-2.1.jar:?]}}
{{    at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[?:1.8.0_352]}}
{{    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[?:1.8.0_352]}}
{{    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_352]}}
{{    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_352]}}
{{    at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]}}
{{Caused by: org.apache.jackrabbit.core.state.ItemStateException: failed to 
read bundle: 3cc813f6-9e35-44d9-98a4-57dee9a6bd28: java.io.EOFException}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:249)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:769)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:752)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:490)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1873)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1793)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    ... 17 more}}
{{Caused by: java.io.EOFException}}
{{    at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290) 
~[?:1.8.0_352]}}
{{    at 
org.apache.jackrabbit.core.persistence.util.BundleReader.<init>(BundleReader.java:132)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:152)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:242)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:769)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:752)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:490)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1873)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1793)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    ... 17 more}}
{{2023-09-25 23:15:04,430 [pool-5-thread-1] INFO  
org.apache.archiva.consumers.lucene.NexusIndexerConsumer [] - Creating indexing 
context for repo : snapshots}}
{{2023-09-25 23:15:04,430 [pool-5-thread-1] INFO  
org.apache.archiva.repository.scanner.RepositoryScannerInstance [] - Walk 
Started: [snapshots] /home/archiva/app/data/repositories/snapshots}}
{{2023-09-25 23:15:04,610 [pool-5-thread-1] INFO  
org.apache.archiva.repository.scanner.RepositoryScannerInstance [] - Walk 
Finished: [snapshots] /home/archiva/app/data/repositories/snapshots}}
{{2023-09-25 23:15:04,611 [pool-5-thread-1] INFO  
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor 
[] - Finished first scan: }}
{{.\ Scan of snapshots \.__________________________________________}}
{{  Repository Dir    : /home/archiva/app/data/repositories/snapshots}}
{{  Repository Name   : snapshots}}
{{  Repository Layout : default}}
{{  Known Consumers   : (7 configured)}}
{{                      duplicate-artifacts}}
{{                      create-missing-checksums}}
{{                      auto-remove}}
{{                      auto-rename}}
{{                      metadata-updater}}
{{                      index-content}}
{{                      create-archiva-metadata}}
{{  Invalid Consumers : <none>}}
{{  Duration          : 180 Milliseconds}}
{{  When Gathered     : 9/25/23 11:15 PM}}
{{  Total File Count  : 1995}}
{{  Avg Time Per File : }}
{{______________________________________________________________}}
{{2023-09-25 23:15:04,611 [pool-5-thread-1] INFO  
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor 
[] - Gathering repository statistics}}
{{2023-09-25 23:15:04,637 [pool-5-thread-1] INFO  
org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager 
[] - Gathering statistics executed in 26 ms}}
{{2023-09-25 23:15:04,654 [pool-5-thread-1] INFO  
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor 
[] - Finished repository task: RepositoryTask [repositoryId=snapshots, 
resourceFile=null, scanAll=false, updateRelatedArtifacts=false]}}

 

Downgrading to 2.2.8 resolves the problem.

  was:
After an update from 2.2.8 to 2.2.10 (not selectable in {_}Affected 
Version/s{_}{_}). The repository is not browsable anymore.

Following error occours:

{{ryTask [repositoryId=snapshots, resourceFile=null, scanAll=false, 
updateRelatedArtifacts=false]}}
{{2023-09-25 23:15:04,359 [pool-5-thread-1] ERROR 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager [] - 
failed to read bundle: 3cc813f6-9e35-44d9-98a4-57dee9a6bd28: 
java.io.EOFException}}
{{2023-09-25 23:15:04,359 [pool-5-thread-1] ERROR 
org.apache.jackrabbit.core.ItemManager [] - failed to retrieve item state of 
item 3cc813f6-9e35-44d9-98a4-57dee9a6bd28}}
{{org.apache.jackrabbit.core.state.ItemStateException: failed to read bundle: 
3cc813f6-9e35-44d9-98a4-57dee9a6bd28: java.io.EOFException}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:249)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:769)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:752)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:490)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1873)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1793)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:669) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:647) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.LazyItemIterator.prefetchNext(LazyItemIterator.java:120)
 [jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.LazyItemIterator.next(LazyItemIterator.java:257) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:465)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.getMetadataFacets(JcrMetadataRepository.java:449)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager.getLastStatistics(DefaultRepositoryStatisticsManager.java:76)
 [repository-statistics-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:139)
 [archiva-scheduler-repository-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:54)
 [archiva-scheduler-repository-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:117)
 [spring-taskqueue-2.1.jar:?]}}
{{    at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[?:1.8.0_352]}}
{{    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[?:1.8.0_352]}}
{{    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_352]}}
{{    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_352]}}
{{    at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]}}
{{Caused by: java.io.EOFException}}
{{    at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290) 
~[?:1.8.0_352]}}
{{    at 
org.apache.jackrabbit.core.persistence.util.BundleReader.<init>(BundleReader.java:132)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:152)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:242)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    ... 28 more}}
{{2023-09-25 23:15:04,360 [pool-5-thread-1] ERROR 
org.apache.jackrabbit.core.LazyItemIterator [] - failed to fetch item 
3cc813f6-9e35-44d9-98a4-57dee9a6bd28, skipping...}}
{{javax.jcr.RepositoryException: failed to retrieve item state of item 
3cc813f6-9e35-44d9-98a4-57dee9a6bd28}}
{{    at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:388) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:669) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:647) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.LazyItemIterator.prefetchNext(LazyItemIterator.java:120)
 [jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.LazyItemIterator.next(LazyItemIterator.java:257) 
[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:465)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.getMetadataFacets(JcrMetadataRepository.java:449)
 [metadata-store-jcr-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager.getLastStatistics(DefaultRepositoryStatisticsManager.java:76)
 [repository-statistics-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:139)
 [archiva-scheduler-repository-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:54)
 [archiva-scheduler-repository-2.2.10.jar:?]}}
{{    at 
org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:117)
 [spring-taskqueue-2.1.jar:?]}}
{{    at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[?:1.8.0_352]}}
{{    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[?:1.8.0_352]}}
{{    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_352]}}
{{    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_352]}}
{{    at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]}}
{{Caused by: org.apache.jackrabbit.core.state.ItemStateException: failed to 
read bundle: 3cc813f6-9e35-44d9-98a4-57dee9a6bd28: java.io.EOFException}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:249)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:769)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:752)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:490)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1873)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1793)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    ... 17 more}}
{{Caused by: java.io.EOFException}}
{{    at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290) 
~[?:1.8.0_352]}}
{{    at 
org.apache.jackrabbit.core.persistence.util.BundleReader.<init>(BundleReader.java:132)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:152)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:242)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:769)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:752)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:490)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1873)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1793)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
 ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382) 
~[jackrabbit-core-2.9.1.jar:2.9.1]}}
{{    ... 17 more}}
{{2023-09-25 23:15:04,430 [pool-5-thread-1] INFO  
org.apache.archiva.consumers.lucene.NexusIndexerConsumer [] - Creating indexing 
context for repo : snapshots}}
{{2023-09-25 23:15:04,430 [pool-5-thread-1] INFO  
org.apache.archiva.repository.scanner.RepositoryScannerInstance [] - Walk 
Started: [snapshots] /home/archiva/app/data/repositories/snapshots}}
{{2023-09-25 23:15:04,610 [pool-5-thread-1] INFO  
org.apache.archiva.repository.scanner.RepositoryScannerInstance [] - Walk 
Finished: [snapshots] /home/archiva/app/data/repositories/snapshots}}
{{2023-09-25 23:15:04,611 [pool-5-thread-1] INFO  
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor 
[] - Finished first scan: }}
{{.\ Scan of snapshots \.__________________________________________}}
{{  Repository Dir    : /home/archiva/app/data/repositories/snapshots}}
{{  Repository Name   : snapshots}}
{{  Repository Layout : default}}
{{  Known Consumers   : (7 configured)}}
{{                      duplicate-artifacts}}
{{                      create-missing-checksums}}
{{                      auto-remove}}
{{                      auto-rename}}
{{                      metadata-updater}}
{{                      index-content}}
{{                      create-archiva-metadata}}
{{  Invalid Consumers : <none>}}
{{  Duration          : 180 Milliseconds}}
{{  When Gathered     : 9/25/23 11:15 PM}}
{{  Total File Count  : 1995}}
{{  Avg Time Per File : }}
{{______________________________________________________________}}
{{2023-09-25 23:15:04,611 [pool-5-thread-1] INFO  
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor 
[] - Gathering repository statistics}}
{{2023-09-25 23:15:04,637 [pool-5-thread-1] INFO  
org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager 
[] - Gathering statistics executed in 26 ms}}
{{2023-09-25 23:15:04,654 [pool-5-thread-1] INFO  
org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor 
[] - Finished repository task: RepositoryTask [repositoryId=snapshots, 
resourceFile=null, scanAll=false, updateRelatedArtifacts=false]}}

```

Downgrading to 2.2.8 resolves the problem.


> BundleFsPersistenceManager - failed to read bundle
> --------------------------------------------------
>
>                 Key: MRM-2057
>                 URL: https://issues.apache.org/jira/browse/MRM-2057
>             Project: Archiva
>          Issue Type: Bug
>          Components: indexing
>    Affects Versions: 2.2.9
>         Environment: Ubuntu Server 22.04
> Java JDK 8u352
> Archiva 2.2.10 / 2.2.8
>            Reporter: Joel Strasser
>            Priority: Major
>
> After an update from 2.2.8 to 2.2.10 (not selectable in {_}Affected 
> Version/s{_}{_}). The repository is not browsable anymore.
> Following error occours:
> {{ryTask [repositoryId=snapshots, resourceFile=null, scanAll=false, 
> updateRelatedArtifacts=false]}}
> {{2023-09-25 23:15:04,359 [pool-5-thread-1] ERROR 
> org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager [] - 
> failed to read bundle: 3cc813f6-9e35-44d9-98a4-57dee9a6bd28: 
> java.io.EOFException}}
> {{2023-09-25 23:15:04,359 [pool-5-thread-1] ERROR 
> org.apache.jackrabbit.core.ItemManager [] - failed to retrieve item state of 
> item 3cc813f6-9e35-44d9-98a4-57dee9a6bd28}}
> {{org.apache.jackrabbit.core.state.ItemStateException: failed to read bundle: 
> 3cc813f6-9e35-44d9-98a4-57dee9a6bd28: java.io.EOFException}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:249)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:769)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:752)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:490)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1873)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1793)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382) 
> [jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:669) 
> [jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:647) 
> [jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.LazyItemIterator.prefetchNext(LazyItemIterator.java:120)
>  [jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.LazyItemIterator.next(LazyItemIterator.java:257) 
> [jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:465)
>  [metadata-store-jcr-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
>  [metadata-store-jcr-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
>  [metadata-store-jcr-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.getMetadataFacets(JcrMetadataRepository.java:449)
>  [metadata-store-jcr-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager.getLastStatistics(DefaultRepositoryStatisticsManager.java:76)
>  [repository-statistics-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:139)
>  [archiva-scheduler-repository-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:54)
>  [archiva-scheduler-repository-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:117)
>  [spring-taskqueue-2.1.jar:?]}}
> {{    at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> [?:1.8.0_352]}}
> {{    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [?:1.8.0_352]}}
> {{    at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_352]}}
> {{    at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_352]}}
> {{    at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]}}
> {{Caused by: java.io.EOFException}}
> {{    at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290) 
> ~[?:1.8.0_352]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.util.BundleReader.<init>(BundleReader.java:132)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:152)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:242)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    ... 28 more}}
> {{2023-09-25 23:15:04,360 [pool-5-thread-1] ERROR 
> org.apache.jackrabbit.core.LazyItemIterator [] - failed to fetch item 
> 3cc813f6-9e35-44d9-98a4-57dee9a6bd28, skipping...}}
> {{javax.jcr.RepositoryException: failed to retrieve item state of item 
> 3cc813f6-9e35-44d9-98a4-57dee9a6bd28}}
> {{    at 
> org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:388) 
> ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:669) 
> ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:647) 
> ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.LazyItemIterator.prefetchNext(LazyItemIterator.java:120)
>  [jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.LazyItemIterator.next(LazyItemIterator.java:257) 
> [jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:465)
>  [metadata-store-jcr-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
>  [metadata-store-jcr-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.recurse(JcrMetadataRepository.java:470)
>  [metadata-store-jcr-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.getMetadataFacets(JcrMetadataRepository.java:449)
>  [metadata-store-jcr-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager.getLastStatistics(DefaultRepositoryStatisticsManager.java:76)
>  [repository-statistics-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:139)
>  [archiva-scheduler-repository-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:54)
>  [archiva-scheduler-repository-2.2.10.jar:?]}}
> {{    at 
> org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:117)
>  [spring-taskqueue-2.1.jar:?]}}
> {{    at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> [?:1.8.0_352]}}
> {{    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [?:1.8.0_352]}}
> {{    at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_352]}}
> {{    at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_352]}}
> {{    at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]}}
> {{Caused by: org.apache.jackrabbit.core.state.ItemStateException: failed to 
> read bundle: 3cc813f6-9e35-44d9-98a4-57dee9a6bd28: java.io.EOFException}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:249)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:769)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:752)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:490)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1873)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1793)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382) 
> ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    ... 17 more}}
> {{Caused by: java.io.EOFException}}
> {{    at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290) 
> ~[?:1.8.0_352]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.util.BundleReader.<init>(BundleReader.java:132)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:152)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager.loadBundle(BundleFsPersistenceManager.java:242)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:769)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:752)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:490)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1873)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1793)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:110)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:175)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
>  ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    at 
> org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382) 
> ~[jackrabbit-core-2.9.1.jar:2.9.1]}}
> {{    ... 17 more}}
> {{2023-09-25 23:15:04,430 [pool-5-thread-1] INFO  
> org.apache.archiva.consumers.lucene.NexusIndexerConsumer [] - Creating 
> indexing context for repo : snapshots}}
> {{2023-09-25 23:15:04,430 [pool-5-thread-1] INFO  
> org.apache.archiva.repository.scanner.RepositoryScannerInstance [] - Walk 
> Started: [snapshots] /home/archiva/app/data/repositories/snapshots}}
> {{2023-09-25 23:15:04,610 [pool-5-thread-1] INFO  
> org.apache.archiva.repository.scanner.RepositoryScannerInstance [] - Walk 
> Finished: [snapshots] /home/archiva/app/data/repositories/snapshots}}
> {{2023-09-25 23:15:04,611 [pool-5-thread-1] INFO  
> org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor 
> [] - Finished first scan: }}
> {{.\ Scan of snapshots \.__________________________________________}}
> {{  Repository Dir    : /home/archiva/app/data/repositories/snapshots}}
> {{  Repository Name   : snapshots}}
> {{  Repository Layout : default}}
> {{  Known Consumers   : (7 configured)}}
> {{                      duplicate-artifacts}}
> {{                      create-missing-checksums}}
> {{                      auto-remove}}
> {{                      auto-rename}}
> {{                      metadata-updater}}
> {{                      index-content}}
> {{                      create-archiva-metadata}}
> {{  Invalid Consumers : <none>}}
> {{  Duration          : 180 Milliseconds}}
> {{  When Gathered     : 9/25/23 11:15 PM}}
> {{  Total File Count  : 1995}}
> {{  Avg Time Per File : }}
> {{______________________________________________________________}}
> {{2023-09-25 23:15:04,611 [pool-5-thread-1] INFO  
> org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor 
> [] - Gathering repository statistics}}
> {{2023-09-25 23:15:04,637 [pool-5-thread-1] INFO  
> org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager
>  [] - Gathering statistics executed in 26 ms}}
> {{2023-09-25 23:15:04,654 [pool-5-thread-1] INFO  
> org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor 
> [] - Finished repository task: RepositoryTask [repositoryId=snapshots, 
> resourceFile=null, scanAll=false, updateRelatedArtifacts=false]}}
>  
> Downgrading to 2.2.8 resolves the problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to