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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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
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
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
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
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.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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.