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

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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

214 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you