Announcement Announcement Module
Collapse
No announcement yet.
ConversationContainer cannot be cast to ConversationContainer Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ConversationContainer cannot be cast to ConversationContainer

    Hello all,

    This error is kinda bugging me because every time I hot deploy any of my webflow Action classes I get this exception when I try to nagivate on the web page. The only to get any of my flows to work again is to restart my application server. Can someone tell me what I am doing wrong or help me fix the problem?
    Code:
    java.lang.ClassCastException: org.springframework.webflow.conversation.impl.ConversationContainer cannot be cast to org.springframework.webflow.conversation.impl.ConversationContainer
    	at org.springframework.webflow.conversation.impl.SessionBindingConversationManager.getConversationContainer(SessionBindingConversationManager.java:141)
    	at org.springframework.webflow.conversation.impl.SessionBindingConversationManager.beginConversation(SessionBindingConversationManager.java:118)
    	at org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository.generateKey(AbstractConversationFlowExecutionRepository.java:95)
    	at org.springframework.webflow.executor.FlowExecutorImpl.launch(FlowExecutorImpl.java:190)
    	at org.springframework.webflow.executor.mvc.PortletFlowController.handleRenderRequestInternal(PortletFlowController.java:179)
    	at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:199)
    	at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:46)
    	at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:705)
    	at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:420)
    	at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:391)
    	at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:107)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
    	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
    	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
    	at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:359)
    	at com.liferay.portlet.CachePortlet.render(CachePortlet.java:206)
    	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1320)
    	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
    	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
    	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
    	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1540)
    	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:165)
    	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:102)
    	at com.liferay.portlet.layoutconfiguration.util.velocity.PortletColumnLogic.processContent(PortletColumnLogic.java:137)
    	at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processColumn(TemplateProcessor.java:65)
    	at sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
    	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
    	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
    	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
    	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
    	at org.apache.velocity.app.Velocity.evaluate(Velocity.java:322)
    	at org.apache.velocity.app.Velocity.evaluate(Velocity.java:195)
    	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:229)
    	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:189)
    	at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:775)
    	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
    	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
    	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
    	at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:292)
    	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:175)
    	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:157)
    	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:293)
    	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:528)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
    	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
    	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
    	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
    	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:134)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
    	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
    	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
    	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
    	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:216)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at com.liferay.portal.servlet.filters.sessionid.SessionIdFilter.doFilter(SessionIdFilter.java:85)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    	at java.lang.Thread.run(Thread.java:619)
    Thanks,
    Justen

  • #2
    I would think it is more an error of liferay, not fully undeploying the old objects/application, leading into classloading issues.

    Comment


    • #3
      Marten,

      Thank you for you reply. I will post on the LR forums and see if they have a fix.
      Justen

      Comment

      Working...
      X