junit.framework.AssertionFailedError

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

Solutions on the web1115

  • via Coderanch by wont poonolly, 7 months ago
    Received an exception while loading web.xml - class java.lang.NullPointerException : null
  • via strutstestcase by rvemula
    , 1 year ago
    Received an exception while loading web.xml - class java.lang.NullPointerException : null
  • via strutstestcase by nobody
    , 1 year ago
    Received an exception while loading web.xml - class java.lang.NullPointerException : null
  • Stack trace

    • junit.framework.AssertionFailedError: Received an exception while loading web.xml - class java.lang.NullPointerException : null at servletunit.struts.MockStrutsTestCase.setServletConfigFile(MockStrutsTestCase.java:502) at test.saic.ide.acronym.TestAcronymAction.setUp(TestAcronymAction.java:10) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:228) at junit.framework.TestSuite.run(TestSuite.java:223) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.