Hello
QB: 8.0.20
We have the following perforce repository definition:
- Client Name = "Use specified client name"
${groovy:
def date = new Date();
def formattedDate = date.format("yyMMddHHmmss");
return "Client_" + formattedDate;
}
- Client Specification = "Create client based on specified stream" = "//tgt-streams/main"
There's no error in this client specification. We use the same at many places in QB and it never raised any issue.
When launching the build using this repository, the workspace is created as expected BUT the build does not start and the server returns this error:"Error executing check condition job. Caused by: The validated object is null"
Callstack:
2020-03-02 14:59:30,819 [pool-1-thread-136895] ERROR com.pmease.quickbuild.DefaultBuildEngine - Error processing build request. java.lang.RuntimeException: Error executing check condition job. at com.pmease.quickbuild.CheckConditionTask.reduce(CheckConditionTask.java:39) at com.pmease.quickbuild.CheckConditionTask.reduce(CheckConditionTask.java:16) at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:155) at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:395) at com.pmease.quickbuild.DefaultBuildEngine.access$000(DefaultBuildEngine.java:143) at com.pmease.quickbuild.DefaultBuildEngine$2.run(DefaultBuildEngine.java:1233) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalArgumentException: The validated object is null at org.apache.commons.lang.Validate.notNull(Validate.java:222) at com.pmease.quickbuild.plugin.scm.perforce.Mapping.parseView(Mapping.java:73)
Workaround: it works if we switch the "Client Specification" to "Input client specification" with the view: "//tgt-streams/main/... //client/..."
But it makes no sense because //tgt-streams/main is a stream so the result will be a perforce client not fully funcitonal.
Do you have any idea of what's going on?
Thank you!
Mathieu
- solved #4
- replies 4
- views 3273
- stars 0
-