ade.UpgradeException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date

liferay.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: Ugrade 5.2.5 to 6.0.5 database upgrade errors - Forums

    liferay.com | 6 months ago
    ade.UpgradeException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date

    Root Cause Analysis

    1. ade.UpgradeException

      java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date

      at com.liferay.portal.events.StartupAction.run()
    2. Liferay Portal Impl
      MainServlet.init
      1. com.liferay.portal.events.StartupAction.run(StartupAction.java:53)
      2. com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1166)
      3. com.liferay.portal.servlet.MainServlet.init(MainServlet.java:199)
      3 frames
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
      1 frame
    4. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
      5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
      8. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
      9. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
      10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
      11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
      12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
      13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      15. org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
      16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      18. org.apache.catalina.core.StandardService.start(StandardService.java:519)
      19. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      20. org.apache.catalina.startup.Catalina.start(Catalina.java:581)
      20 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      2 frames