junit.framework.AssertionFailedError: Received an exception while loading web.xml - class java.lang.NullPointerException : null

strutstestcase | nobody | 1 decade ago
  1. 0

    NullPointerException from MockStrutsTestCase

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: Received an exception while loading web.xml - class java.lang.NullPointerException : null
  2. 0

    Received an exception while loading web.xml

    strutstestcase | 9 years ago | rvemula
    junit.framework.AssertionFailedError: Received an exception while loading web.xml - class java.lang.NullPointerException : null
  3. 0

    Unable to load web.xml - NullPointerException

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: Received an exception while loading web.xml - class java.lang.NullPointerException : null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    strutstestcase - NPE in web.xml

    Coderanch | 1 decade ago | wont poonolly
    junit.framework.AssertionFailedError: Received an exception while loading web.xml - class java.lang.NullPointerException : null
  6. 0

    actionPerform() NullPointerException

    strutstestcase | 7 years ago | schatzb
    junit.framework.AssertionFailedError: Invalid pathname: WEB-INF/web2.xml

    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

      Received an exception while loading web.xml - class java.lang.NullPointerException : null

      at servletunit.struts.MockStrutsTestCase.setServletConfigFile()
    2. servletunit.struts
      MockStrutsTestCase.setServletConfigFile
      1. servletunit.struts.MockStrutsTestCase.setServletConfigFile(MockStrutsTestCase.java:606)
      1 frame
    3. com.openreach.portal
      LoginActionTest.main
      1. com.openreach.portal.presentation.LoginActionTest.setUp(LoginActionTest.java:26)
      2. com.openreach.portal.presentation.LoginActionTest.main(LoginActionTest.java:47)
      2 frames
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3 frames
    5. Ant
      Project.executeTargets
      1. org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:200)
      2. org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
      3. org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
      4. org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
      5. org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
      6. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      7. org.apache.tools.ant.Task.perform(Task.java:364)
      8. org.apache.tools.ant.Target.execute(Target.java:341)
      9. org.apache.tools.ant.Target.performTasks(Target.java:369)
      10. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      11. org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      12. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      13. org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      13 frames
    6. org.eclipse.ant
      InternalAntRunner.main
      1. org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:416)
      2. org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:138)
      2 frames