junit.framework.AssertionFailedError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Newbie Question - /WEB-INF/web.xml not found
    via strutstestcase by nobody
    ,
  • actionPerform() NullPointerException
    via strutstestcase by schatzb
    ,
  • Received an exception while loading web.xml
    via strutstestcase by rvemula
    ,
  • "The/WEB-INF/web.xml was not found"
    via strutstestcase by nobody
    ,
  • Unable to load web.xml - NullPointerException
    via strutstestcase by nobody
    ,
  • NullPointerException from MockStrutsTestCase
    via strutstestcase by nobody
    ,
  • strutstestcase - NPE in web.xml
    via by wont poonolly,
    • junit.framework.AssertionFailedError: Invalid pathname: WebDFS/WebContent/WEB-INF/web.xml at servletunit.struts.MockStrutsTestCase.setServletConfigFile(MockStrutsTestCase.java:579) at edu.uga.busfin.web.EmployeeActionTest.addEmployee(EmployeeActionTest.java:49) at edu.uga.busfin.web.EmployeeActionTest.testAddAndEdit(EmployeeActionTest.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
    No Bugmate found.