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

velocity-user | Hans Schmid | 1 decade ago
  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.
  3. 0

    What causes a velocity Template.merge() failure? How does one avoid it?

    Stack Overflow | 8 years ago | Lyudmil
    java.lang.Exception: Template.merge() failure. The document is null, most likely due to parsing error.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting error while testing BPEL composite

    Oracle Community | 3 years ago | User129
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Non-default namespace can not map to empty URI (as per Namespace 1.0 # 2) in XML 1.0 documents at [row,col {unknown-source}]: [3,32]
  6. 0

    IBM IO12694: IDML PARSER FAILS WITH TCM DLA IDML - United States

    ibm.com | 6 months ago
    java.lang.Exception: CTGDJZ751E Error parsing XML. An invalid input IdML XML is passed to the parser.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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