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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Santhosh Kumar, 1 year ago
missing behavior definition for the preceding method call: DynamoHttpServletRequest.getParameter("salutation") Usage is: expect(a.foo()).andXXX()
via Stack Overflow by OutOfBound
, 2 years ago
missing behavior definition for the preceding method call getMetaClass()
via Stack Overflow by Unknown author, 2 years ago
missing behavior definition for the preceding method call: HttpServletRequest.getAttribute("CustomerManagementResources") Usage is: expect(a.foo()).andXXX()
via Google Groups by Dustin Friel, 2 years ago
missing behavior definition for the preceeding method call isDebugEnabled()
via Stack Overflow by valik
, 3 months ago
missing behavior definition for the preceding method call: BookService.findAll() Usage is: expect(a.foo()).andXXX()
via Stack Overflow by Jitesh Upadhyay
, 2 years ago
missing behavior definition for the preceding method call: CalledDAO.methodB({LastRequest=a.b.c.LastRequest@413d5ed8}) Usage is: expect(a.foo()).andXXX()
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 atg.servlet.DynamoHttpServletRequest$$EnhancerByCGLIB$$8c76eb09.getParameter()
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)

Users with the same issue

3 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.