Announcement Announcement Module
Collapse
No announcement yet.
Spring webflow 2.1.0.RELEASE Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring webflow 2.1.0.RELEASE

    I am trying to run a flow Test which runs fine 2.0.9 RELEASE. After changing the version to 2.1.0.RELEASE, the same flowTest fails in startFlow statement, the code snippet where the following Exception throws

    public void testMyTest() {
    CoverageFlowListener.setTestName("MyTest");
    CoverageFlowListener.initializePath();
    MockParameterMap parameterMap = new MockParameterMap();
    parameterMap.put("_eventId", "hi");
    MockExternalContext context = new MockExternalContext();
    startFlow(new LocalAttributeMap(), context);
    context.setRequestParameterMap(parameterMap);
    context.setEventId("ok");
    resumeFlow(context);
    }


    java.lang.IllegalStateException: Cannot handle (124) '|'
    at org.springframework.expression.spel.standard.Token izer.process(Tokenizer.java:193)
    at org.springframework.expression.spel.standard.Token izer.<init>(Tokenizer.java:47)
    at org.springframework.expression.spel.standard.Inter nalSpelExpressionParser.doParseExpression(Internal SpelExpressionParser.java:110)
    at org.springframework.expression.spel.standard.SpelE xpressionParser.doParseExpression(SpelExpressionPa rser.java:56)
    at org.springframework.expression.spel.standard.SpelE xpressionParser.doParseExpression(SpelExpressionPa rser.java:1)
    at org.springframework.expression.common.TemplateAwar eExpressionParser.parseExpression(TemplateAwareExp ressionParser.java:66)
    at org.springframework.binding.expression.spel.Spring ELExpressionParser.parseSpelExpression(SpringELExp ressionParser.java:85)
    at org.springframework.binding.expression.spel.Spring ELExpressionParser.parseExpression(SpringELExpress ionParser.java:80)
    at org.springframework.webflow.engine.builder.model.F lowModelFlowBuilder.parseThen(FlowModelFlowBuilder .java:696)
    at org.springframework.webflow.engine.builder.model.F lowModelFlowBuilder.parseIf(FlowModelFlowBuilder.j ava:686)
    at org.springframework.webflow.engine.builder.model.F lowModelFlowBuilder.parseIfs(FlowModelFlowBuilder. java:677)
    at org.springframework.webflow.engine.builder.model.F lowModelFlowBuilder.parseAndAddDecisionState(FlowM odelFlowBuilder.java:565)
    at org.springframework.webflow.engine.builder.model.F lowModelFlowBuilder.buildStates(FlowModelFlowBuild er.java:208)
    at org.springframework.webflow.engine.builder.FlowAss embler.directAssembly(FlowAssembler.java:106)
    at org.springframework.webflow.engine.builder.FlowAss embler.assembleFlow(FlowAssembler.java:91)
    at org.springframework.webflow.test.execution.Abstrac tExternalizedFlowExecutionTests.buildFlow(Abstract ExternalizedFlowExecutionTests.java:174)
    at org.springframework.webflow.test.execution.Abstrac tExternalizedFlowExecutionTests.getFlowDefinition( AbstractExternalizedFlowExecutionTests.java:147)
    at org.springframework.webflow.test.execution.Abstrac tFlowExecutionTests.startFlow(AbstractFlowExecutio nTests.java:120)
Working...
X