junit.framework.AssertionFailedError: Missing configuration resource for path /WEB-INF/struts-config.xml

strutstestcase | *anonymous | 1 decade ago
  1. 0

    Missing Resource

    strutstestcase | 1 decade ago | *anonymous
    junit.framework.AssertionFailedError: Missing configuration resource for path /WEB-INF/struts-config.xml
  2. 0

    StrutsTestCase for JUnit / Discussion / Open Discussion:Parsing error processing resource path /strut

    sourceforge.net | 11 months ago
    junit.framework.AssertionFailedError: Parsing error processing resource path jar:file:/C:/Temp/RoutingEngine/ui/build/RoutingEngine.war!/WEB-INF/struts-config.xml
  3. 0

    Parsing error processing resource path /strut

    strutstestcase | 8 years ago | laredotornado
    junit.framework.AssertionFailedError: Parsing error processing resource path jar:file:/C:/Temp/RoutingEngine/ui/build/RoutingEngine.war\!/WEB-INF/struts-config.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    web.xml file not found with MockStrutsTestCas

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: The /WEB-INF/web.xml was not found.
  6. 0

    MockStrutsTestCase

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null

    1 unregistered visitors
    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

      Missing configuration resource for path /WEB-INF/struts-config.xml

      at servletunit.struts.MockStrutsTestCase.getActionServlet()
    2. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:142)
      2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:176)
      2 frames
    3. test.org.phxjug
      TestMockShowJobsAction.testShowJobsAction
      1. test.org.phxjug.application.joblist.TestMockShowJobsAction.testShowJobsAction(TestMockShowJobsAction.java:32)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:166)
      2. junit.framework.TestCase.runBare(TestCase.java:140)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:131)
      7. junit.framework.TestSuite.runTest(TestSuite.java:173)
      8. junit.framework.TestSuite.run(TestSuite.java:168)
      8 frames
    6. com.togethersoft.testing
      TsHandler.handle
      1. com.togethersoft.testing.internal.testserver.plugin.junit.JUnitTestRunner.doRun(JUnitTestRunner.java:127)
      2. com.togethersoft.testing.internal.testserver.plugin.junit.JUnitTestRunner.doRun(JUnitTestRunner.java:90)
      3. com.togethersoft.testing.internal.testserver.plugin.junit.JUnitHttpTestRunner.run(JUnitHttpTestRunner.java:31)
      4. com.togethersoft.testing.internal.testserver.RunTestStepCommand.execute(RunTestStepCommand.java:61)
      5. com.togethersoft.testing.internal.testserver.CommandController.execute(CommandController.java:39)
      6. com.togethersoft.testing.internal.testserver.TestServerServlet.executeCommand(TestServerServlet.java:51)
      7. com.togethersoft.testing.internal.testserver.TestServerServlet.GetMethod(TestServerServlet.java:87)
      8. com.togethersoft.testing.internal.testserver.jetty.TsHandler.handleRequest(TsHandler.java:53)
      9. com.togethersoft.testing.internal.testserver.jetty.TsHandler.handle(TsHandler.java:35)
      9 frames
    7. org.mortbay.http
      SocketListener.handleConnection
      1. org.mortbay.http.HandlerContext.handle(HandlerContext.java:1047)
      2. org.mortbay.http.HandlerContext.handle(HandlerContext.java:1002)
      3. org.mortbay.http.HttpServer.service(HttpServer.java:774)
      4. org.mortbay.http.HttpConnection.service(HttpConnection.java:745)
      5. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:918)
      6. org.mortbay.http.HttpConnection.handle(HttpConnection.java:760)
      7. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:148)
      7 frames
    8. Jetty Util
      ThreadPool$JobRunner.run
      1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
      2. org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:775)
      2 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:484)
      1 frame