java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.List

Google Groups | Geert Geeven | 4 months ago
  1. 0

    hiccupsdiff wrapper arguments error

    Google Groups | 4 months ago | Geert Geeven
    java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.List
  2. 0

    My Experience With Hibernate: java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.List

    blogspot.com | 11 months ago
    java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.List
  3. 0

    error on clear

    GitHub | 9 months ago | PhanaticD
    java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.List
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Attempting to try 4.3-beta1 causes an {{UpgradeException}} to occur due to an invalid cast. Following is the stack-trace. {noformat} 2012-07-11 14:55:25,219 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.3-beta1 (build #3380) 2012-07-11 14:55:26,189 ERROR [main] [xwork.config.providers.InterceptorBuilder] constructInterceptorReference Unable to find interceptor class referenced by ref-name requestParameterHack 2012-07-11 14:55:26,194 ERROR [main] [xwork.config.providers.InterceptorBuilder] constructInterceptorReference Unable to find interceptor class referenced by ref-name requestParameterHack 2012-07-11 14:55:26,988 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started 2012-07-11 14:55:29,236 INFO [main] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager 2012-07-11 14:55:37,245 WARN [main] [org.springframework.beans.TypeConverterDelegate] findDefaultEditor PropertyEditor [sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory! 2012-07-11 14:55:41,200 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 14212 ms 2012-07-11 14:55:46,833 INFO [main] [confluence.upgrade.upgradetask.AddSpaceStatusColumnUpgradeTask] doUpgrade Populating space status column 2012-07-11 14:55:46,863 INFO [main] [confluence.upgrade.upgradetask.AddSpaceStatusColumnUpgradeTask] doUpgrade 91 rows updated 2012-07-11 14:55:46,960 INFO [main] [atlassian.confluence.upgrade.AbstractUpgradeManager] upgradeStarted Starting automatic upgrade of Confluence 2012-07-11 14:55:47,056 ERROR [main] [atlassian.confluence.upgrade.UpgradeLauncherServletContextListener] contextInitialized Upgrade failed, application will not start: 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 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 2012-07-11 14:55:47,062 ERROR [main] [atlassian.confluence.upgrade.UpgradeLauncherServletContextListener] contextInitialized 1 errors were encountered during upgrade: 2012-07-11 14:55:47,062 ERROR [main] [atlassian.confluence.upgrade.UpgradeLauncherServletContextListener] contextInitialized 1: java.util.HashSet cannot be cast to java.util.List 2012-07-11 14:55:47,063 WARN [main] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextInitialized Not starting full plugin system due to upgrade or licensing errors 2012-07-11 14:55:47,579 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve {noformat}

    Atlassian JIRA | 4 years ago | Brett Ryan
    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
  6. 0

    Generic declared Collection<SomeType> causes intermittent failures.

    GitHub | 2 years ago | oshoukry
    java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.List

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.HashSet cannot be cast to java.util.List

      at juicebox.tools.clt.juicer.HiCCUPSDiff.readJuicerArguments()
    2. juicebox.tools.clt
      JuicerCLT.readArguments
      1. juicebox.tools.clt.juicer.HiCCUPSDiff.readJuicerArguments(HiCCUPSDiff.java:103)
      2. juicebox.tools.clt.JuicerCLT.readArguments(JuicerCLT.java:65)
      2 frames
    3. juicebox.tools
      HiCTools.main
      1. juicebox.tools.HiCTools.main(HiCTools.java:76)
      1 frame