org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing [AnnotatedAction@41e68d87 targetAction = [EvaluateAction@49ff7d8c expression = setErrorMessages.getErrorMessagesMap(flowRequestContext), resultExpression = flowScope.errorMessageMap], attributes = map[[empty]]] in state 'set_error_in_scope' of flow 'shclogin-flow' -- action execution attributes were 'map[[empty]]'

Stack Overflow | henrycharles | 3 months ago
  1. 0

    java.lang.AssertionError:expected: 1, actual: 0 spring webflow junit

    Stack Overflow | 3 months ago | henrycharles
    org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing [AnnotatedAction@41e68d87 targetAction = [EvaluateAction@49ff7d8c expression = setErrorMessages.getErrorMessagesMap(flowRequestContext), resultExpression = flowScope.errorMessageMap], attributes = map[[empty]]] in state 'set_error_in_scope' of flow 'shclogin-flow' -- action execution attributes were 'map[[empty]]'
  2. 0

    Unexpected method call Exception in powermock

    Stack Overflow | 2 years ago | slowhandblues
    java.lang.AssertionError: Unexpected method call Proxy.doOperation({clientId=123456}, ""): Proxy.doOperation({}, null): expected: 1, actual: 0
  3. 0

    Powermock error mock object injected using spring when mocking static object

    Stack Overflow | 3 years ago | Archit Jain
    java.lang.AssertionError: Unexpected method call ServiceCaller.checkValidity("testDriver"): ServiceCaller.checkValidity("testDriver"): expected: 1, actual: 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jUnit Unexpected method call DAO Easymock

    Stack Overflow | 4 years ago | extra90
    java.lang.AssertionError: Unexpected method call UserDAO.checkUser(si.soa.rentacar.model.User@3655dba1): UserDao.addUser(<any>): expected: 1, actual: 0
  6. 0

    Unexpected method call Exception in powermock

    tagwith.com | 1 year ago
    java.lang.AssertionError: Unexpected method call Proxy.doOperation({clientId=123456}, ""): Proxy.doOperation({}, null): expected: 1, actual: 0

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      Unexpected method call SetErrorMessages.getErrorMessagesMap([RequestControlContextImpl@c94fd30 externalContext = org.springframework.webflow.test.MockExternalContext@36328d33, currentEvent = [null], requestScope = map[[empty]], attributes = map[[empty]], messageContext = [DefaultMessageContext@2c4d1ac sourceMessages = map[[null] -> list[[empty]]]], flowExecution = [FlowExecutionImpl@7f0d96f2 flow = 'shclogin-flow', flowSessions = list[[FlowSessionImpl@545b995e flow = 'shclogin-flow', state = 'set_error_in_scope', scope = map[[empty]]]]]]): SetErrorMessages.getErrorMessagesMap(flowRequestContext): expected: 1, actual: 0

      at org.easymock.internal.MockInvocationHandler.invoke()
    2. EasyMock
      ClassProxyFactory$MockMethodInterceptor.intercept
      1. org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:44)
      2. org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:85)
      3. org.easymock.internal.ClassProxyFactory$MockMethodInterceptor.intercept(ClassProxyFactory.java:94)
      3 frames
    3. com.shc.ecom
      SetErrorMessages$$EnhancerByCGLIB$$500571b9.getErrorMessagesMap
      1. com.shc.ecom.sso.cas.web.flow.SetErrorMessages$$EnhancerByCGLIB$$500571b9.getErrorMessagesMap(<generated>)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. Spring Expression Language (SpEL)
      SpelExpression.getValue
      1. org.springframework.expression.spel.support.ReflectiveMethodExecutor.execute(ReflectiveMethodExecutor.java:112)
      2. org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:129)
      3. org.springframework.expression.spel.ast.MethodReference.access$000(MethodReference.java:49)
      4. org.springframework.expression.spel.ast.MethodReference$MethodValueRef.getValue(MethodReference.java:342)
      5. org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:88)
      6. org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:131)
      7. org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:299)
      7 frames
    6. Spring Binding
      SpringELExpression.getValue
      1. org.springframework.binding.expression.spel.SpringELExpression.getValue(SpringELExpression.java:84)
      1 frame
    7. Spring Web Flow
      AbstractFlowExecutionTests.resumeFlow
      1. org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:75)
      2. org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)
      3. org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145)
      4. org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)
      5. org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101)
      6. org.springframework.webflow.engine.State.enter(State.java:194)
      7. org.springframework.webflow.engine.Transition.execute(Transition.java:228)
      8. org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51)
      9. org.springframework.webflow.engine.State.enter(State.java:194)
      10. org.springframework.webflow.engine.Transition.execute(Transition.java:228)
      11. org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:395)
      12. org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
      13. org.springframework.webflow.engine.support.TransitionExecutingFlowExecutionExceptionHandler.handle(TransitionExecutingFlowExecutionExceptionHandler.java:111)
      14. org.springframework.webflow.engine.FlowExecutionExceptionHandlerSet.handleException(FlowExecutionExceptionHandlerSet.java:109)
      15. org.springframework.webflow.engine.Flow.handleException(Flow.java:600)
      16. org.springframework.webflow.engine.impl.FlowExecutionImpl.tryFlowHandlers(FlowExecutionImpl.java:647)
      17. org.springframework.webflow.engine.impl.FlowExecutionImpl.handleException(FlowExecutionImpl.java:603)
      18. org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:263)
      19. org.springframework.webflow.test.execution.AbstractFlowExecutionTests.resumeFlow(AbstractFlowExecutionTests.java:136)
      19 frames
    8. com.shc.ecom
      TestloginlFlow.testAction
      1. com.shc.ecom.test.usr.TestloginlFlow.testAction(TestloginlFlow.java:193)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    10. JUnit
      TestCase.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      6 frames
    11. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      6 frames