[xwiki/xwiki-commons] 3143a5: XCOMMONS-3752: Job status REST endpoint can fail w...
Branch: refs/heads/stable-17.10.x Home: https://github.com/xwiki/xwiki-commons Commit: 3143a534f4dca7ec957fb6530cbb8b6e63235a24 https://github.com/xwiki/xwiki-commons/commit/3143a534f4dca7ec957fb6530cbb8b... Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: 2026-09-04 (Fri, 04 Sep 2026) Changed paths: M xwiki-commons-core/xwiki-commons-job/xwiki-commons-job-api/src/main/java/org/xwiki/job/internal/DefaultJobProgress.java M xwiki-commons-core/xwiki-commons-job/xwiki-commons-job-default/src/test/java/org/xwiki/job/internal/DefaultJobProgressTest.java Log Message: ----------- XCOMMONS-3752: Job status REST endpoint can fail with a NullPointerException while the job is running (#1947) (#1948) * Read the current step's parent only once in DefaultJobProgress#getCurrentLevelOffset() so that the job thread cannot move the current step to the root, whose parent is null, between the null check and the dereference. * Add a regression test reproducing that interleaving deterministically. (cherry picked from commit bdb9326acebde08e7856074a3b5b0e3d20a369e9) Co-authored-by: Vincent Massol <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
participants (1)
-
XWiki Notifications