diff --git a/core/src/main/java/hudson/model/AbstractBuild.java b/core/src/main/java/hudson/model/AbstractBuild.java index b553723bf373039689fa1077866a30e3cae9a827..a6697760a8a5d8b7fdba7d9f30a2a5ceea075c94 100644 --- a/core/src/main/java/hudson/model/AbstractBuild.java +++ b/core/src/main/java/hudson/model/AbstractBuild.java @@ -217,7 +217,7 @@ public abstract class AbstractBuild

,R extends Abs // having two neighbors pointing to each other is important to make RunMap.removeValue work P _parent = getParent(); if (_parent == null) { - throw new IllegalStateException("no parent for " + this); + throw new IllegalStateException("no parent for " + number + " in " + workspace); } R pb = _parent._getRuns().search(number-1, Direction.DESC); if (pb!=null) {