java.lang.ExceptionInInitializerError: java.lang.NullPointerException

strutstestcase | darkpenguin | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    getActionServlet throws NullPointerException

    strutstestcase | 1 decade ago | darkpenguin
    java.lang.ExceptionInInitializerError: java.lang.NullPointerException
  2. 0

    Tomcat problem after the installation

    xplanner | 1 decade ago | *anonymous
    java.lang.ExceptionInInitializerError
  3. 0

    new to struts-probs initially

    Coderanch | 1 decade ago | Deepa Korecherla
    java.lang.ExceptionInInitializerError: java.lang .NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat Throws Exception when I test Struts

    Coderanch | 1 decade ago | Yi Zhou
    java.lang.ExceptionInInitializerError
  6. 0

    Installing struts 1.1 Beta2 problem

    Oracle Community | 1 decade ago | 843797
    java.lang.ExceptionInInitializerError

    Root Cause Analysis

    1. java.lang.ExceptionInInitializerError

      java.lang.NullPointerException

      at org.apache.struts.util.MessageResources.getMessageResources()
    2. struts
      ActionServlet.init
      1. org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:577)
      2. org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:134)
      3. org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
      4. org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
      5. org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329)
      6. org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
      6 frames
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:258)
      1 frame
    4. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:179)
      2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:228)
      2 frames