Bamboo specs: Trigger -> Argument name can not be null

Torsten Stach September 19, 2017

I have export an build plan with bamboo version 6.1.1.

A run of the exported code throws an exception.

I can't find a property 'name' on the trigger page.

Exception in thread "main" com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException: Argument name can not be null.

at com.atlassian.bamboo.specs.api.validators.common.ImporterUtils.checkNotNull(ImporterUtils.java:100)

at com.atlassian.bamboo.specs.api.validators.common.ImporterUtils.checkNotNull(ImporterUtils.java:92)

at com.atlassian.bamboo.specs.api.validators.common.ImporterUtils.checkNotBlank(ImporterUtils.java:140)

at com.atlassian.bamboo.specs.api.validators.common.ImporterUtils.checkNotBlank(ImporterUtils.java:132)

at com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties.validate(TriggerProperties.java:72)

at com.atlassian.bamboo.specs.api.model.trigger.RepositoryBasedTriggerProperties.validate(RepositoryBasedTriggerProperties.java:48)

at com.atlassian.bamboo.specs.api.model.trigger.AnyTriggerProperties.validate(AnyTriggerProperties.java:53)

at com.atlassian.bamboo.specs.api.model.trigger.AnyTriggerProperties.<init>(AnyTriggerProperties.java:37)

at com.atlassian.bamboo.specs.api.builders.trigger.AnyTrigger.build(AnyTrigger.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.atlassian.bamboo.specs.api.util.EntityPropertiesBuilders.build(EntityPropertiesBuilders.java:21)

at com.atlassian.bamboo.specs.api.builders.plan.Plan.triggers(Plan.java:264)

at PlanSpec.main(PlanSpec.java:146)

1 answer

2 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2017

Hello,

It's known issue in code generator. Will be solved in Bamboo 6.2 release: https://jira.atlassian.com/browse/BAM-18685

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events