Announcement Announcement Module
Collapse
No announcement yet.
WebMVC Subflow Problem... Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • WebMVC Subflow Problem...

    Help!

    can anyone give me an idea as to why I might be getting this error:

    Code:
            <subflow-state id="configureHsi" subflow="configureHsi">
    		<input name="applicationControls" value="applicationControls" />
    		<transition on="finish" to="viewServices" />
    		<transition on="cancel" to="viewServices" />
    	</subflow-state>
    error:

    Code:
    org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'configureHsi' of flow 'main'
    	at org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:567)
    	at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:266)
    	at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:163)
    	at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:173)
    	at org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:174)
    	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
    	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
    	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
    	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
    	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    	at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.IllegalArgumentException: The expression string to parse is required
    	at org.springframework.util.Assert.notNull(Assert.java:112)
    	at org.springframework.binding.expression.el.ELExpressionParser.parseExpression(ELExpressionParser.java:88)
    	at org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.parseSubflowExpression(FlowModelFlowBuilder.java:713)
    	at org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.parseAndAddSubflowState(FlowModelFlowBuilder.java:575)
    	at org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.buildStates(FlowModelFlowBuilder.java:211)
    	at org.springframework.webflow.engine.builder.FlowAssembler.directAssembly(FlowAssembler.java:106)
    	at org.springframework.webflow.engine.builder.FlowAssembler.assembleFlow(FlowAssembler.java:91)
    	at org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(DefaultFlowHolder.java:109)
    	at org.springframework.webflow.engine.builder.DefaultFlowHolder.getFlowDefinition(DefaultFlowHolder.java:84)
    	at org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl.getFlowDefinition(FlowDefinitionRegistryImpl.java:61)
    	at org.springframework.webflow.engine.builder.model.SubflowExpression.getValue(SubflowExpression.java:35)
    	at org.springframework.webflow.engine.SubflowState.doEnter(SubflowState.java:97)
    	at org.springframework.webflow.engine.State.enter(State.java:194)
    	at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
    	at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:377)
    	at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:201)
    	at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
    	at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
    	at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:372)
    	at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:197)
    	at org.springframework.webflow.engine.ViewState.resume(ViewState.java:194)
    	at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
    	at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:262)
    	... 25 more
    Thanks.

    keith

  • #2
    Got the very same problem here. Inserting a "subflow-state" into my flow caused this exception. What's strange, if changed to "view-state", the state doesn't yield any errors.

    Code:
    	<subflow-state id="sub_TimeOfDayData">			
    	    <transition on="whatever" to="enterNoOfWorkersData"/>
    	</subflow-state>
    Any help would be appreciated.

    Comment


    • #3
      your missing the subflow="" attribute on your <subflow-state ...> tag. In my case, the subflow contained a subflow which was missing this attribute so it couldn't compile the view. Same exception was thrown.

      Keith

      Comment


      • #4
        You're perfectly right, Keith. Shame is that I've already managed to find my error but forgot that I'd posted about it. Seems that I post all too much problems around here. Thanks nevertheless!

        Comment

        Working...
        X