java.lang.Exception: Template.merge() failure. The document is null, most likely due to parsing error.

velocity-user | Hans Schmid | 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

    Empty reply from server from time to time (Stacktrace attatched)

    velocity-user | 1 decade ago | Hans Schmid
    java.lang.Exception: Template.merge() failure. The document is null, most likely due to parsing error.
  2. 0

    Empty reply from server from time to time (Stacktrace attatched)

    velocity-user | 1 decade ago | Hans Schmid
    java.lang.Exception: Template.merge() failure. The document is null, most likely due to parsing error.

    Root Cause Analysis

    1. java.lang.Exception

      Template.merge() failure. The document is null, most likely due to parsing error.

      at org.apache.velocity.Template.merge()
    2. Apache Velocity
      VelocityServlet.doPost
      1. org.apache.velocity.Template.merge(Template.java:317)
      2. org.apache.velocity.servlet.VelocityServlet.mergeTemplate(VelocityServlet.java:448)
      3. org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:387)
      4. org.apache.velocity.servlet.VelocityServlet.doPost(VelocityServlet.java:342)
      4 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java)
      2 frames
    4. org.apache.tomcat
      RequestDispatcherImpl.forward
      1. org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
      2. org.apache.tomcat.core.Handler.invoke(Handler.java:322)
      3. org.apache.tomcat.core.Handler.service(Handler.java:235)
      4. org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
      5. org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:272)
      6. org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:174)
      6 frames
    5. struts
      ActionServlet.process
      1. org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
      2. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
      2 frames
    6. de.einsurance.gui
      ExtendedActionServlet.process
      1. de.einsurance.gui.framework.ExtendedActionServlet.process(ExtendedActionServlet.java:64)
      1 frame
    7. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
      1 frame
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java)
      2 frames
    9. org.apache.tomcat
      RequestDispatcherImpl.forward
      1. org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
      2. org.apache.tomcat.core.Handler.invoke(Handler.java:322)
      3. org.apache.tomcat.core.Handler.service(Handler.java:235)
      4. org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
      5. org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:272)
      6. org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:174)
      6 frames
    10. struts
      ActionServlet.process
      1. org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
      2. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
      2 frames
    11. de.einsurance.gui
      ExtendedActionServlet.process
      1. de.einsurance.gui.framework.ExtendedActionServlet.process(ExtendedActionServlet.java:64)
      1 frame
    12. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java)
      2 frames
    14. org.apache.tomcat
      Ajp13Interceptor.processConnection
      1. org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
      2. org.apache.tomcat.core.Handler.invoke(Handler.java:322)
      3. org.apache.tomcat.core.Handler.service(Handler.java:235)
      4. org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
      5. org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
      6. org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
      7. org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341)
      7 frames
    15. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
      1 frame
    16. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
      1 frame
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame