junit.framework.AssertionFailedError: was expecting some error messages, but received none.

strutstestcase | *anonymous | 1 decade ago
  1. 0

    .actionPerform() and ServletException

    strutstestcase | 1 decade ago | *anonymous
    junit.framework.AssertionFailedError: was expecting some error messages, but received none.
  2. 0

    Expected error messages

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: was expecting some error messages, but received none.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Context Issue

    strutstestcase | 1 decade ago | holmanc
    junit.framework.AssertionFailedError: was expecting '/testhome.pagedef' but received '/test/do/layoutSwitch'

    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. junit.framework.AssertionFailedError

      was expecting some error messages, but received none.

      at servletunit.struts.Common.verifyActionMessages()
    2. servletunit.struts
      MockStrutsTestCase.verifyActionErrors
      1. servletunit.struts.Common.verifyActionMessages(Common.java:80)
      2. servletunit.struts.MockStrutsTestCase.verifyActionErrors(MockStrutsTestCase.java:543)
      2 frames
    3. bulletinBoard
      TestAddTopicAction.testSuccessfulAddTopic
      1. bulletinBoard.TestAddTopicAction.testSuccessfulAddTopic(TestAddTopicAction.java:149)
      1 frame
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    5. bulletinBoard
      TestAddTopicAction.main
      1. bulletinBoard.TestAddTopicAction.main(TestAddTopicAction.java:103)
      1 frame