Details
-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
1.8.3, 1.9 M2
-
None
-
High
-
Unknown
-
Description
When a job is supposed to be executed, it fails with :
java.lang.NullPointerException at org.xwiki.context.DefaultExecution.getContext(DefaultExecution.java:62) at com.xpn.xwiki.doc.DefaultDocumentNameFactory.getContext(DefaultDocumentNameFactory.java:168) at com.xpn.xwiki.doc.DefaultDocumentNameFactory.getDefaultWikiName(DefaultDocumentNameFactory.java:141) at com.xpn.xwiki.doc.DefaultDocumentNameFactory.createDocumentName(DefaultDocumentNameFactory.java:97) at com.xpn.xwiki.doc.XWikiDocument.setFullName(XWikiDocument.java:3552) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1368) at com.xpn.xwiki.plugin.scheduler.GroovyJob.execute(GroovyJob.java:72) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Attachments
Issue Links
- duplicates
-
XASCH-29 It's not possible to call getRenderedContent() from the scheduler
- Closed