Branch: refs/heads/XCOMMONS-3752 Home: https://github.com/xwiki/xwiki-commons Commit: caa2214310c01eb697dc32a3aa32ef4ea4c4b9a2 https://github.com/xwiki/xwiki-commons/commit/caa2214310c01eb697dc32a3aa32ef... 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 * 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