Details
-
Bug
-
Resolution: Invalid
-
Major
-
None
-
10.3
-
None
-
Unknown
-
N/A
-
N/A
-
Description
When executing a job B in a currently running job A and calling B.join() in A, the following exception is thrown :
Exception in thread "pool-2-thread-2" java.lang.NullPointerException at org.xwiki.job.AbstractJob.jobFinished(AbstractJob.java:262) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:211) at org.xwiki.job.AbstractJob.run(AbstractJob.java:189) 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)
After that, B.join() never returns, therefore not allowing the job A to end properly.