Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

WELD-000321: No conversation found to restore for id 1 #4396

Open
caim2015 opened this issue Apr 8, 2019 · 1 comment
Open

WELD-000321: No conversation found to restore for id 1 #4396

caim2015 opened this issue Apr 8, 2019 · 1 comment

Comments

@caim2015
Copy link

caim2015 commented Apr 8, 2019

I am hitting the following error when the http session is timeout and ViewExpiredException happen and dispatch to the errorpage in GF4 or GF5.
jsfConversationNone.zip

org.jboss.weld.context.NonexistentConversationException: WELD-000321: No conversation found to restore for id 1
at org.jboss.weld.context.AbstractConversationContext.initialize(AbstractConversationContext.java:259)
at org.jboss.weld.context.http.LazyHttpConversationContextImpl.initialize(LazyHttpConversationContextImpl.java:90)
at org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversationContext.java:234)
at org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:118)
at org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:85)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:876)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:739)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:577)
at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:546)
at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:428)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:505)
at org.apache.catalina.core.StandardHostValve.dispatchToErrorPage(StandardHostValve.java:699)
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:306)

I can't resolve the problem even if set the "conversationPropagation=none" as the following:

<error-page>
    <exception-type>javax.faces.application.ViewExpiredException</exception-type>
    <location>/errorpage.xhtml?conversationPropagation=none</location>
</error-page>

Does anyone know the solution?

Steps to reproduce:
1.unzip and deploy the attached app
2.http://localhost:28080/jsfConversationNone/index.xhtml
3.click at the button "go to the page1 and conversation start"
4.waiting for the timeout(1 minutes)
5.click at the button "Go to Page2"

@erickdeoliveiraleal
Copy link

mojarra issue tracker moved to: https://github.com/eclipse-ee4j/mojarra

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants