java.lang.IllegalArgumentException: Cannot overlay storage item of class org.sonatype.nexus.proxy.item.DefaultStorageLinkItem onto this item of class org.sonatype.nexus.proxy.item.DefaultStorageFileItem


Solutions on the web4

Solution icon of sonatype
via Sonatype JIRA by Todd Merrill, 1 year ago
Cannot overlay storage item of class org.sonatype.nexus.proxy.item.DefaultStorageLinkItem onto this item of class org.sonatype.nexus.proxy.item.DefaultStorageFileItem

Solution icon of sonatype
via Sonatype JIRA by Todd Merrill, 1 year ago
Cannot overlay storage item of class org.sonatype.nexus.proxy.item.DefaultStorageLinkItem onto this item of class org.sonatype.nexus.proxy.item.DefaultStorageFileItem

Solution icon of sonatype
via Sonatype JIRA by Alexandre Navarro, 1 year ago
Cannot overlay storage item of class org.sonatype.nexus.proxy.item.DefaultStorageFileItem onto this item of class org.sonatype.nexus.proxy.item.DefaultStorageCollectionItem

Solution icon of sonatype
via Sonatype JIRA by Alexandre Navarro, 1 year ago
Cannot overlay storage item of class org.sonatype.nexus.proxy.item.DefaultStorageFileItem onto this item of class org.sonatype.nexus.proxy.item.DefaultStorageCollectionItem

Stack trace

java.lang.IllegalArgumentException: Cannot overlay storage item of class org.sonatype.nexus.proxy.item.DefaultStorageLinkItem onto this item of class org.sonatype.nexus.proxy.item.DefaultStorageFileItem
	at org.sonatype.nexus.proxy.item.AbstractStorageItem.overlay(AbstractStorageItem.java:439)
	at org.sonatype.nexus.proxy.attributes.DefaultAttributesHandler.fetchAttributes(DefaultAttributesHandler.java:142)
	at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:335)
	at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.listItems(DefaultFSLocalRepositoryStorage.java:634)
	at org.sonatype.nexus.proxy.repository.AbstractRepository.doListItems(AbstractRepository.java:1193)
	at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1005)
	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:223)
	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244)
	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244)
	at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:110)
	at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:405)
	at org.sonatype.nexus.DefaultNexus.expireAllCaches(DefaultNexus.java:382)
	at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:50)
	at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192)
	at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:172)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
	at java.lang.Thread.run(Thread.java:595)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.