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 Lars Lindwall, 1 year ago
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Failed to evaluate content with id []
via XWiki.org JIRA by Vincent Massol, 2 years ago
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'getDifferencesAsHTML' in class com.xpn.xwiki.plugin.diff.DiffPluginApi threw exception java.lang.ArrayIndexOutOfBoundsException @ <unknown template>[66,57]
via XWiki.org JIRA by Freeman Jackson, 1 year ago
Error number 4001 in 4: Error while parsing velocity page /templates/htmlheader.vm Wrapped Exception: Failed to evaluate content with id [/templates/htmlheader.vm]
via XWiki.org JIRA by Paul, 1 year ago
Error number 4001 in 4: Error while parsing velocity page /templates/menuview.vm Wrapped Exception: Failed to evaluate content with id [/templates/menuview.vm]
via XWiki.org JIRA by Todd Sherman, 2 years 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 Todd Sherman, 2 years 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>[3,42]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page 
Wrapped Exception: Failed to evaluate content with id []	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1922)	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1835)	at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)	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 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)	at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)	at com.sun.grizzly.ContextTask.run(ContextTask.java:69)	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)	at java.lang.Thread.run(Thread.java:662)