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 Raffaello Pelagalli, 1 year ago
This exception has no message.
via XWiki.org JIRA by Jerome Velociter, 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:63)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:514)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:476)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at undefined.Script1.run(Script1.groovy:2)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:561)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:536)
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 a tip to help other users and build your expert profile.

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