com.atlassian.confluence.upgrade.UpgradeException: Upgrade task com.atlassian.confluence.upgrade.upgradetask.OnDemandSpacePermissionsDefaultUpgradeTask@3365c97c failed during the UPGRADE phase due to: java.util.HashSet cannot be cast to java.util.List

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 Atlassian JIRA by Brett Ryan, 1 year ago
Upgrade task com.atlassian.confluence.upgrade.upgradetask.OnDemandSpacePermissionsDefaultUpgradeTask@3365c97c failed during the UPGRADE phase due to: java.util.HashSet cannot be cast to java.util.List
via Atlassian JIRA by Brett Ryan, 1 year ago
Upgrade task com.atlassian.confluence.upgrade.upgradetask.OnDemandSpacePermissionsDefaultUpgradeTask@3365c97c failed during the UPGRADE phase due to: java.util.HashSet cannot be cast to java.util.List
via atlassian.com by Unknown author, 1 year ago
Upgrade task com.atlassian.confluence.upgrade.upgradetask.UserMappingLowerUsernameSchemaUpgradeTask@1e665b5 failed during the UPGRADE phase due to: StatementCallback; bad SQL grammar [create unique index user_mapping_unq_lwr_username on user_mapping(lower_username) where lower_username is not null]; nested exception is java.sql.SQLException: Incorrect syntax near the keyword 'where'.
via atlassian.com by Unknown author, 1 year ago
Upgrade task com.atlassian.confluence.upgrade.upgradetask.UserMappingLowerUsernameSchemaUpgradeTask@148c5775 failed during the UPGRADE phase due to: Incorrect result size: expected 1, actual 0
via htw-berlin.de by Unknown author, 1 year ago
Upgrade task com.atlassian.confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdDataUpgradeTask@71457b failed during the UPGRADE phase due to: Hibernate operation: could not insert: [com.atlassian.crowd.model.group.InternalGroup#138895694
via Atlassian JIRA by Jing Hwa [Atlassian], 1 year ago
Upgrade task com.atlassian.confluence.upgrade.upgradetask.DropSpaceGroupTablesUpgradeTask@27091f57 failed during the SCHEMA_UPGRADE phase due to: null
java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.List
at com.atlassian.confluence.upgrade.upgradetask.OnDemandSpacePermissionsDefaultUpgradeTask.getOldDefaults(OnDemandSpacePermissionsDefaultUpgradeTask.java:93)
at com.atlassian.confluence.upgrade.upgradetask.OnDemandSpacePermissionsDefaultUpgradeTask.doUpgrade(OnDemandSpacePermissionsDefaultUpgradeTask.java:48)
at com.atlassian.confluence.upgrade.AbstractUpgradeManager$UpgradeStep$4.execute(AbstractUpgradeManager.java:531)
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.executeUpgradeStep(AbstractUpgradeManager.java:227)
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.runUpgradeTasks(AbstractUpgradeManager.java:187)
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:132)
at com.atlassian.confluence.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

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.