java.lang.IllegalStateException

missing behavior definition for the preceding method call: DynamoHttpServletRequest.getParameter("salutation") Usage is: expect(a.foo()).andXXX()

Solutions on the web20301

  • via Google Groups by Santhosh Kumar, 6 months ago
    missing behavior definition for the preceding method call: DynamoHttpServletRequest.getParameter("salutation") Usage is: expect(a.foo()).andXXX()
  • via Google Groups by mane_uk, 1 year ago
    missing behavior definition for the preceding method call: Market.getBusinessDate() Usage is: expect(a.foo()).andXXX()
  • via Stack Overflow by Unknown author, 1 year ago
    missing behavior definition for the preceding method call: directUserStore.write(models.RegularUserModels.DirectUser@1fe2433b) Usage is: expect(a.foo()).andXXX()
  • Stack trace

    • java.lang.IllegalStateException: missing behavior definition for the preceding method call: DynamoHttpServletRequest.getParameter("salutation") Usage is: expect(a.foo()).andXXX() at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:42) at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:85) at org.easymock.internal.ClassProxyFactory$MockMethodInterceptor.intercept(ClassProxyFactory.java:94) at atg.servlet.DynamoHttpServletRequest$$EnhancerByCGLIB$$8c76eb09.getParameter(<generated>) at de.dpag.efiliale.servicecenter.SCRegisterHandler.createCustomer(SCRegisterHandler.java:533) at de.dpag.efiliale.servicecenter.SCRegisterHandler.handleCreateCustomer(SCRegisterHandler.java:768) at de.dpag.efiliale.servicecenter.SCRegisterHandlerTest.testHandleCreateCustomer(SCRegisterHandlerTest.java:163) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) at junit.extensions.TestSetup$1.protect(TestSetup.java:23) at junit.extensions.TestSetup.run(TestSetup.java:27)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    3 times, 3 months ago
    Unknown user
    Once, 1 year ago
    6 more bugmates