最近Bamboo Server上的升级从6.0.2升级到6.2。使用最新的6.2.2升级Bamboo Specification库。编译相同的代码工作正常。但执行时出现以下错误时失败。
2017-10-26 23:26:24,723 INFO [BambooPlanSpecRefactor] Publishing null
2017-10-26 23:26:24,733 INFO [BambooServer] Publishing plan ASSIST-CLASSROOM4
2017-10-26 23:26:28,261 INFO [BambooServer] An error occurred while publishing plan ASSIST-CLASSROOM4: Could not parse yaml input: Cannot create property=rootEntity for JavaBean=com.atlassian.bamboo.specs.util.BambooSpecProperties@5ec47362
in 'string', line 1, column 5:
--- !!com.atlassian.bamboo.specs.uti ...
^
Cannot create property=pluginConfigurations for JavaBean=com.atlassian.bamboo.specs.api.model.plan.PlanProperties@ca60880
in 'string', line 2, column 13:
rootEntity: !!com.atlassian.bamboo.specs.api ...
^
Unable to find property 'pluginConfigurations' on class: com.atlassian.bamboo.specs.api.model.plan.PlanProperties
in 'string', line 9, column 25:
pluginConfigurations: []
^
in 'string', line 2, column 13:
rootEntity: !!com.atlassian.bamboo.specs.api ...
^
2017-10-26 23:26:28,262 INFO [BambooServer] (for more information, enable more detailed logging with system property -Dbamboo.specs.log.level=DEBUG)
An error occurred while publishing plan ASSIST-CLASSROOM4: Could not parse yaml input: Cannot create property=rootEntity for JavaBean=com.atlassian.bamboo.specs.util.BambooSpecProperties@5ec47362
in 'string', line 1, column 5:
--- !!com.atlassian.bamboo.specs.uti ...
^
Cannot create property=pluginConfigurations for JavaBean=com.atlassian.bamboo.specs.api.model.plan.PlanProperties@ca60880
in 'string', line 2, column 13:
rootEntity: !!com.atlassian.bamboo.specs.api ...
^
Unable to find property 'pluginConfigurations' on class: com.atlassian.bamboo.specs.api.model.plan.PlanProperties
in 'string', line 9, column 25:
pluginConfigurations: []
^
in 'string', line 2, column 13:
rootEntity: !!com.atlassian.bamboo.specs.api ...
^
Disconnected from the target VM, address: '127.0.0.1:64951', transport: 'socket'
Process finished with exit code 0`