ERROR

java.lang.NullPointerException at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)

Last Published: April 25, 2020

Error Message

When viewing Web Mapping applications deployed on Tomcat version 5.5.20, the following error is displayed:

"java.lang.NullPointerException at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)"

Cause

This is a known issue with the 5.5.20 distribution of Apache Tomcat.

Solution or Workaround



  1. Add the following to the <Tomcat Folder>\webapps\<web app name>\WEB-INF\web.xml file:

    Code:
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class >
    </listener>


  2. Re-start the Tomcat service.

Article ID:000009212

Software:
  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic