junit.framework.AssertionFailedError: was expecting no error messages, but received: "errors.required" "errors.required"

AppFuse JIRA | Tomas Barrios | 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'
  5. 0

    verifyForward fails when using SSLEXT

    strutstestcase | 1 decade ago | meagle
    junit.framework.AssertionFailedError: was expecting '/ViewReport.jsp' but received 'http://null:8080null'

    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 no error messages, but received: "errors.required" "errors.required"

      at servletunit.struts.Common.verifyNoActionMessages()
    2. servletunit.struts
      MockStrutsTestCase.verifyNoActionErrors
      1. servletunit.struts.Common.verifyNoActionMessages(Common.java:69)
      2. servletunit.struts.MockStrutsTestCase.verifyNoActionErrors(MockStrutsTestCase.java:813)
      2 frames
    3. mobilemedia.webapp.action
      TownActionTest.testAdd
      1. mobilemedia.webapp.action.TownActionTest.testAdd(TownActionTest.java:23)
      1 frame