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

Solutions on the web

via XWiki.org JIRA by Jerome Velociter, 1 year ago
This exception has no message.
via XWiki.org JIRA by Raffaello Pelagalli, 1 year ago
This exception has no message.
via XWiki.org JIRA by Fabio Mancinelli, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at org.xwiki.context.DefaultExecution.getContext(DefaultExecution.java:50)
at com.xpn.xwiki.render.DefaultVelocityManager.getVelocityContext(DefaultVelocityManager.java:79)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:62)
at com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:51)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:269)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at com.xpn.xwiki.doc.XWikiDocument.getDisplayTitle(XWikiDocument.java:566)
at com.xpn.xwiki.plugin.lucene.IndexData.(IndexData.java:69)
at com.xpn.xwiki.plugin.lucene.DocumentData.(DocumentData.java:35)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:473)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.notify(IndexUpdater.java:528)
at com.xpn.xwiki.notify.DocChangeRule.verify(DocChangeRule.java:61)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:210)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1295)
at com.xpn.xwiki.api.Document.saveDocument(Document.java:1611)
at com.xpn.xwiki.api.Document.save(Document.java:1568)
at com.xpn.xwiki.api.Document.save(Document.java:1557)
at gjdk.com.xpn.xwiki.api.Document_GroovyReflector.invoke(Unknown Source)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:111)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:363)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:146)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
at undefined.Script1.run(Script1.groovy:3)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:485)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:460)
at com.xpn.xwiki.plugin.scheduler.GroovyJob.execute(GroovyJob.java:83)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

Users with the same issue

You are the first who have seen this exception.

Write tip

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