Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-commons Commit: bdb9326acebde08e7856074a3b5b0e3d20a369e9 https://github.com/xwiki/xwiki-commons/commit/bdb9326acebde08e7856074a3b5b0e... Author: Vincent Massol <[email protected]> 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) * 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. 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