Weld AbstractConversationContext calls conversation.end() without checking if its transient
Issue
The following error occurs.
JBWEB000211: Session event listener threw exception: org.jboss.weld.exceptions.IllegalStateException: WELD-000215 Attempt to call end() on a transient conversation
at org.jboss.weld.context.conversation.ConversationImpl.end(ConversationImpl.java:114) [weld-core-1.1.17.SP2-redhat-1.jar:1.1.17.SP2-redhat-1]
at org.jboss.weld.context.AbstractConversationContext.destroy(AbstractConversationContext.java:299) [weld-core-1.1.17.SP2-redhat-1.jar:1.1.17.SP2-redhat-1]
at org.jboss.weld.context.http.HttpConversationContextImpl.destroy(HttpConversationContextImpl.java:12) [weld-core-1.1.17.SP2-redhat-1.jar:1.1.17.SP2-redhat-1]
at org.jboss.weld.context.http.HttpSessionContextImpl.destroy(HttpSessionContextImpl.java:42) [weld-core-1.1.17.SP2-redhat-1.jar:1.1.17.SP2-redhat-1]
at org.jboss.weld.servlet.WeldListener.sessionDestroyed(WeldListener.java:93) [weld-core-1.1.17.SP2-redhat-1.jar:1.1.17.SP2-redhat-1]
Environment
- JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.