javax.faces.el.EvaluationException: FlowExecution is not bound to current thread context - has the flow ended or expired?

Spring JIRA | Jens Eickmeyer | 10 years ago
  1. 0

    A recent snapshot broke the ability to use SWF together with JSF and ajax4jsf. As soon as the ajax4jsf.jar is in the classpath the following exception is thrown: 2007-04-05 18:07:37,366 ERROR [org.apache.myfaces.lifecycle.PhaseListenerManager] - <Exception in PhaseListener RESTORE_VIEW(1) afterPhase> javax.faces.el.EvaluationException: FlowExecution is not bound to current thread context - has the flow ended or expired? at org.springframework.webflow.executor.jsf.FlowExecutionHolderUtils.getRequiredCurrentFlowExecution(FlowExecutionHolderUtils.java:74) at org.springframework.webflow.executor.jsf.DelegatingFlowVariableResolver.resolveVariable(DelegatingFlowVariableResolver.java:65) at org.ajax4jsf.framework.ajax.AjaxContext.getCurrentInstance(AjaxContext.java:150) at org.ajax4jsf.framework.renderer.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:76) at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92) at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:99) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661) at org.apache.jsp.index_jsp._jspService(index_jsp.java:49) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:613) This is a major problem since ajax4jsf worked with a previous snapshot version of SWF 1.0.2, at least when Facelets are used as the view technology.

    Spring JIRA | 10 years ago | Jens Eickmeyer
    javax.faces.el.EvaluationException: FlowExecution is not bound to current thread context - has the flow ended or expired?
  2. 0

    A recent snapshot broke the ability to use SWF together with JSF and ajax4jsf. As soon as the ajax4jsf.jar is in the classpath the following exception is thrown: 2007-04-05 18:07:37,366 ERROR [org.apache.myfaces.lifecycle.PhaseListenerManager] - <Exception in PhaseListener RESTORE_VIEW(1) afterPhase> javax.faces.el.EvaluationException: FlowExecution is not bound to current thread context - has the flow ended or expired? at org.springframework.webflow.executor.jsf.FlowExecutionHolderUtils.getRequiredCurrentFlowExecution(FlowExecutionHolderUtils.java:74) at org.springframework.webflow.executor.jsf.DelegatingFlowVariableResolver.resolveVariable(DelegatingFlowVariableResolver.java:65) at org.ajax4jsf.framework.ajax.AjaxContext.getCurrentInstance(AjaxContext.java:150) at org.ajax4jsf.framework.renderer.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:76) at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92) at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:99) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661) at org.apache.jsp.index_jsp._jspService(index_jsp.java:49) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:613) This is a major problem since ajax4jsf worked with a previous snapshot version of SWF 1.0.2, at least when Facelets are used as the view technology.

    Spring JIRA | 10 years ago | Jens Eickmeyer
    javax.faces.el.EvaluationException: FlowExecution is not bound to current thread context - has the flow ended or expired?
  3. 0

    db:: 3.55::Could not find javax.faces.context.FacesContextFactory for FaceletsRenderer 3d

    hivmr.com | 7 months ago
    javax.faces.FacesException: #{ProgramBean.btnAddObjective_action}: java.lang.NoClassDefFoundError: javax/faces/context/FacesContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Login error on clean deployment

    GitHub | 11 months ago | hanscomps
    javax.faces.FacesException: #{connectionBean.logIn}: The account "hans" has not been found
  6. 0

    [SAK-24825] Hibernate Lazy Load error - Sakai

    sakaiproject.org | 1 year ago
    javax.faces.el.EvaluationException: Error getting property 'attachList' from bean of type org.sakaiproject.tool.messageforums.ui.DiscussionTopicBean: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.sakaiproject.component.app.messageforums.dao.hibernate.TopicImpl.attachmentsSet, no session or session was closed

    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. javax.faces.el.EvaluationException

      FlowExecution is not bound to current thread context - has the flow ended or expired?

      at org.springframework.webflow.executor.jsf.FlowExecutionHolderUtils.getRequiredCurrentFlowExecution()
    2. Spring Web Flow
      DelegatingFlowVariableResolver.resolveVariable
      1. org.springframework.webflow.executor.jsf.FlowExecutionHolderUtils.getRequiredCurrentFlowExecution(FlowExecutionHolderUtils.java:74)
      2. org.springframework.webflow.executor.jsf.DelegatingFlowVariableResolver.resolveVariable(DelegatingFlowVariableResolver.java:65)
      2 frames
    3. org.ajax4jsf.framework
      AjaxPhaseListener.afterPhase
      1. org.ajax4jsf.framework.ajax.AjaxContext.getCurrentInstance(AjaxContext.java:150)
      2. org.ajax4jsf.framework.renderer.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:76)
      2 frames
    4. Impl
      LifecycleImpl.execute
      1. org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
      2. org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:99)
      3. org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
      3 frames
    5. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
      1 frame
    6. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      6 frames
    7. GWT dev
      PageContextImpl.forward
      1. org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
      2. org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
      2 frames
    8. org.apache.jsp
      index_jsp._jspService
      1. org.apache.jsp.index_jsp._jspService(index_jsp.java:49)
      1 frame
    9. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    11. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
      3 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      8 frames
    14. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    15. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      1 frame
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:613)
      1 frame