com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page /templates/admin.vm Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm]

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

Solutions on the web

via XWiki.org JIRA by Jean-Vincent Drean, 1 year ago
Error number 4001 in 4: Error while parsing velocity page /templates/admin.vm Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm]
via XWiki.org JIRA by Todd Sherman, 1 year ago
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'display' in class com.xpn.xwiki.api.Document threw exception java.lang.NullPointerException @ <unknown template>[12,13]
via XWiki.org JIRA by Vincent Massol, 1 year ago
Error number 4001 in 4: Error while parsing velocity page /templates/contentview.vm Wrapped Exception: Failed to evaluate content with id [/templates/contentview.vm]
via XWiki.org JIRA by Todd Sherman, 1 year ago
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'getFileItems' in class com.xpn.xwiki.plugin.fileupload.FileUploadPluginApi threw exception java.lang.NullPointerException @ <unknown template>[2,42]
via XWiki.org JIRA by H.-Dirk Schmitt, 1 year ago
Error number 4001 in 4: Error while parsing velocity page /templates/historyinline.vm Wrapped Exception: Failed to evaluate content with id [/templates/historyinline.vm]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page /templates/admin.vm Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm]
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:112)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1596)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:125)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at java.lang.Thread.run(Unknown Source)

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.

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