Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
11.6.1
-
High
-
Unknown
-
N/A
-
Description
Follow this steps to reproduce:
- Upgrade CKEditor Integration extension to version 1.37 on the main wiki of an XWiki 11.6.1 instance
- Go the the Extension History administration section, select the CKEditor Integration entry from the history and export it
- Create a subwiki and go to its Extension History administration section
- Upload the history file previously exported from the main wiki
- Select the CKEditor Integration entry and click Replay
- Leave the default options, click Continue then Start
You get a message that looks like this:
There is no replay job with id [1565779102368-892].
and the server logs contain this stacktrace:
2019-08-14 13:38:22,369 [org.xwiki.extension.job.history.internal.ReplayJob@35acf489([extension, history, 1565779102368-892])] ERROR o.x.e.j.h.i.ReplayJob - Exception thrown during job execution java.lang.NullPointerException: null at org.xwiki.job.internal.DefaultJobContext.pushCurrentJob(DefaultJobContext.java:87) at org.xwiki.job.AbstractJob.jobStarting(AbstractJob.java:250) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:234) at org.xwiki.job.AbstractJob.run(AbstractJob.java:226) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 2019-08-14 13:38:22,369 [org.xwiki.extension.job.history.internal.ReplayJob@35acf489([extension, history, 1565779102368-892])] INFO o.x.e.j.h.i.ReplayJob - Finished job of type [replay] with identifier [[extension, history, 1565779102368-892]] 2019-08-14 13:38:22,370 [org.xwiki.extension.job.history.internal.ReplayJob@35acf489([extension, history, 1565779102368-892])] ERROR o.i.ObservationContextListener - Can't find any begin event corresponding to [INFO:Finished job of type [replay] with identifier [[extension, history, 1565779102368-892]]] 2019-08-14 13:38:22,370 [org.xwiki.extension.job.history.internal.ReplayJob@35acf489([extension, history, 1565779102368-892])] ERROR o.i.ObservationContextListener - Can't find any begin event corresponding to [org.xwiki.job.event.JobFinishedEvent@3515b979] Exception in thread "Unused job pool thread" java.lang.NullPointerException at org.xwiki.job.internal.DefaultJobContext.popCurrentJob(DefaultJobContext.java:93) at org.xwiki.job.AbstractJob.jobFinished(AbstractJob.java:314) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:241) at org.xwiki.job.AbstractJob.run(AbstractJob.java:226) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
Attachments
Issue Links
- is related to
-
XCOMMONS-1688 Jobs executed by the ReplayJob share the same ExecutionContext
- Closed