java.lang.NullPointerException: This exception has no message.

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

java.lang.NullPointerException:
at fr.opensagres.xdocreport.template.velocity.internal.XDocReportEscapeReference.setRuntimeServices(XDocReportEscapeReference.java:56)
at org.apache.velocity.runtime.RuntimeInstance.initializeSpecificEventHandler(RuntimeInstance.java:712)
at org.apache.velocity.runtime.RuntimeInstance.initializeEventHandlers(RuntimeInstance.java:626)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:243)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:534)
at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:144)
at fr.opensagres.xdocreport.template.velocity.internal.VelocityTemplateEngine.initializeVelocityEngine(VelocityTemplateEngine.java:130)
at fr.opensagres.xdocreport.template.velocity.internal.VelocityTemplateEngine.getVelocityEngine(VelocityTemplateEngine.java:117)
at fr.opensagres.xdocreport.template.velocity.internal.VelocityTemplateEngine.processWithCache(VelocityTemplateEngine.java:95)
at fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:111)
at fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:83)
at fr.opensagres.xdocreport.document.AbstractXDocReport.processTemplateEngine(AbstractXDocReport.java:772)
at fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:518)
at fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:484)
at com.schneider.seve.utils.WordGenerator.GenerateDocxReport.main(GenerateDocxReport.java:120)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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