diff options
-rw-r--r-- | config-model/src/main/java/com/yahoo/config/model/producer/TreeConfigProducer.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/config/model/producer/TreeConfigProducer.java b/config-model/src/main/java/com/yahoo/config/model/producer/TreeConfigProducer.java index 30f9cd202ff..78c0ea0ddef 100644 --- a/config-model/src/main/java/com/yahoo/config/model/producer/TreeConfigProducer.java +++ b/config-model/src/main/java/com/yahoo/config/model/producer/TreeConfigProducer.java @@ -7,6 +7,7 @@ import com.yahoo.vespa.model.Service; import com.yahoo.vespa.model.SimpleConfigProducer; import com.yahoo.vespa.model.utils.FreezableMap; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; @@ -74,7 +75,8 @@ public abstract class TreeConfigProducer<CHILD extends AnyConfigProducer> errorMsgClassName() + " '" + getSubId() + "'. (This is commonly caused by service/node index " + "collisions in the config.)." + "\nExisting instance: " + childrenBySubId.get(child.getSubId()) + - "\nAttempted to add: " + child); + "\nAttempted to add: " + child + + "\nStack trace: " + Arrays.toString(Thread.currentThread().getStackTrace())); } childrenBySubId.put(child.getSubId(), child); |