English

Error: Metadata Explorer produces a Java stack error when deployed under ServletExec ISAPI 5.0

Error Message

There have been some reports of an issue when trying to view Metadata Explorer 9.2 through New Atlanta's ServletExec ISAPI 5.0. A java stack error is returned after a few seconds instead of the Metadata Explorer application.

Cause

The Java stack error resembles:

Error. The server encountered an unexpected condition which prevented it from fulfilling the request.

java.lang.NullPointerException
at com.newatlanta.servletexec.JspTagExtension.formatDeclareVars(JspTagExtension.java:1107)
at com.newatlanta.servletexec.JspTagExtension.formatClassicTag(JspTagExtension.java:847)
at com.newatlanta.servletexec.JspTagExtension.format(JspTagExtension.java:679)
at com.newatlanta.servletexec.JspServlet.writeMethod(JspServlet.java:3160)
at com.newatlanta.servletexec.JspServlet.formatFile(JspServlet.java:3525)
at com.newatlanta.servletexec.JspServlet.createFile(JspServlet.java:3468)
at com.newatlanta.servletexec.JspServlet.getNewServlet(JspServlet.java:1334)
at com.newatlanta.servletexec.JspServlet.getServlet(JspServlet.java:1156)
at com.newatlanta.servletexec.JspServlet.getServlet(JspServlet.java:1096)
at com.newatlanta.servletexec.JspServlet.service(JspServlet.java:1002)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:638)
at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:247)
at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:108)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:638)
at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:236)
at com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDispatcher.java:283)
at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:80)
at com.esri.adf.web.util.ADFSessionTimeoutFilter.doFilter(Unknown Source)
at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:50)
at com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2121)
at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1786)
at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:898)
at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1081)
at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:992)

Solution or Workaround

Update ServletExec to version 5.0.0.14, which is current as of September, 2007.
The update files can be found at:

New Atlanta's General ServletExec Hotfix Information

Download the appropriate patch based on your operating system and version of ServletExec.

  1. Stop ServletExec; stop IIS (Internet Information Services).
  2. On a typical install, navigate to C:\Program Files\New Atlanta\ServletExec ISAPI\lib. Find and rename ServletExec50.jar to ServletExec50.jar.orig and ServletExecAdmin.jar to ServletExecAdmin.jar.orig.
  3. Unzip the JAR files to the same directory as the ServletExec50.jar.orig and ServletExecAdmin.jar.orig files.
  4. Start IIS and try Metadata Explorer again.