From 9295099ed59e98ff04f4bdc07194ac9ac5cc7a63 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Wed, 23 Apr 2014 13:34:56 -0400 Subject: [PATCH] Don't setPerRequestState with null --- .../java/org/apache/beehive/netui/pageflow/FlowController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beehive-netui-core/src/main/java/org/apache/beehive/netui/pageflow/FlowController.java b/beehive-netui-core/src/main/java/org/apache/beehive/netui/pageflow/FlowController.java index a96d4c9..99e3438 100644 --- a/beehive-netui-core/src/main/java/org/apache/beehive/netui/pageflow/FlowController.java +++ b/beehive-netui-core/src/main/java/org/apache/beehive/netui/pageflow/FlowController.java @@ -589,7 +589,8 @@ public abstract class FlowController extends PageFlowManagedObject } finally { - setPerRequestState( prevState ); + if(prevState != null) + setPerRequestState( prevState ); PageFlowControlContainer pfcc = PageFlowControlContainerFactory.getControlContainer(request,getServletContext()); pfcc.endContextOnPageFlow(this);