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

Solutions on the web40

  • via Atlassian JIRA by Brett Ryan, 11 months 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
  • Upgrade task com.atlassian.confluence.upgrade.upgradetask.UserMappingLowerUsernameSchemaUpgradeTask@148c5775 failed during the UPGRADE phase due to: Incorrect result size: expected 1, actual 0
  • Stack trace

    • 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 at com.atlassian.confluence.upgrade.AbstractUpgradeManager.executeUpgradeStep(AbstractUpgradeManager.java:251) 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 org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: 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) ... 27 more

    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.