简体   繁体   English

Spring Web流NoSuchConversationException

[英]Spring Web flow NoSuchConversationException

I was seeing this exception in the logs intermittently when executing the order flow. 我在执行订单流程时间歇性地在日志中看到此异常。 Not sure why the system is being thrown 不知道为什么会抛出系统

org.springframework.web.servlet.handler.SimpleMappingExceptionResolver - Resolving exception from handler [org.springframework.webflow.executor.mvc.FlowController@217e2228]: org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key '_c733263A4-6F01-E222-AA1D-05475DFE4197_k7F1228F0-709E-EC90-6ABC-DC489BEFD7B5' -- perhaps this executing flow has ended or expired? org.springframework.web.servlet.handler.SimpleMappingExceptionResolver-从处理程序[org.springframework.webflow.executor.mvc.FlowController@217e2228]中解决异常:org.springframework.webflow.execution.repository.NoSuchFlowExecutionException:找不到流执行键为'_c733263A4-6F01-E222-AA1D-05475DFE4197_k7F1228F0-709E-EC90-6ABC-DC489BEFD7B5'-也许此执行流已结束或已到期? This could happen if your users are relying on browser history (typically via the back button) that references ended flows.; 如果您的用户依赖于引用结束流的浏览器历史记录(通常是通过“后退”按钮),则可能会发生这种情况。 nested exception is org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id '733263A4-6F01-E222-AA1D-05475DFE4197' -- perhaps this conversation has ended? 嵌套的异常是org.springframework.webflow.conversation.NoSuchConversationException:找不到ID为'733263A4-6F01-E222-AA1D-05475DFE4197'的对话-对话可能已经结束了吗?

Does anyone have idea when the spring frame work throws this exception.. How to resolve this .. 有谁知道弹簧框架工作时会引发此异常。.如何解决此问题..

This could happen if the container session expires. 如果容器会话到期,则可能发生这种情况。 The following request would create a new session which would not contain the flow and conversation from the previous session. 以下请求将创建一个新会话,其中将不包含前一个会话的流程和会话。 So when the request processing looks for the flow or conversation it throws that exception. 因此,当请求处理查找流或对话时,它将引发该异常。

An easy fix might be to increase the session timeout on your servlet container... 一个简单的解决方法可能是增加servlet容器上的会话超时...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM