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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via velocity-user by Hans Schmid, 1 year ago
Template.merge() failure. The document is null, most likely due to parsing error.
via velocity-user by Hans Schmid, 1 year ago
Template.merge() failure. The document is null, most likely due to parsing error.
via Stack Overflow by Lyudmil
, 2 years ago
Template.merge() failure. The document is null, most likely due to parsing error.
java.lang.Exception: Template.merge() failure. The document is null, most likely due to parsing error.
at org.apache.velocity.Template.merge(Template.java:317)
at org.apache.velocity.servlet.VelocityServlet.mergeTemplate(VelocityServlet.java:448)
at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:387)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:272)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:174)
at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
at de.einsurance.gui.framework.ExtendedActionServlet.process(ExtendedActionServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:272)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:174)
at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
at de.einsurance.gui.framework.ExtendedActionServlet.process(ExtendedActionServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341)
at java.lang.Thread.run(Thread.java:536)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.