I updated the version of Bamboo Spec from 6.9.1 to 7.1.1 in my pom.xml since our Bamboo server was updated to 7.1.1
After that we started getting the following exception thrown in the server when we try to create a Bamboo plan using the API:
java.lang.NoSuchMethodError: "java.lang.RuntimeException: java.lang.NoSuchMethodError: org.yaml.snakeyaml.LoaderOptions.setMaxAliasesForCollections(I)V\r\n\tat com.atlassian.bamboo.specs.util.IsolatedYamlizator.execute(IsolatedYamlizator.java:24)\r\n\tat com.atlassian.bamboo.specs.util.BambooSpecSerializer.dump(BambooSpecSerializer.java:19)\r\n\tat com.atlassian.bamboo.specs.util.BambooServer.publish(BambooServer.java:73)
Kindly help. Looks like this is a issue with the latest Bamboo Spec version.
i have a very similar error when deploying Bamboo specs using "mvn -P publish-specs":
Execution default-cli of goal com.atlassian.bamboo:bamboo-specs-runner:7.2.2:run failed:
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError: org.yaml.snakeyaml.DumperOptions.setDefaultFlowStyle(Lorg/yaml/snakeyaml/DumperOptions$FlowStyle;)V -> [Help 1]
I have no SnakeYAML dependencies in my pom.xml. It seems to be a problem with the latest Bamboo spec version.
Bamboo specs version is: 7.2.2
Dependency tree shows: org.yaml:snakeyaml:jar:1.27:compile
I have to correct my previous post: I am using "atlas-mvn -P pusblish-specs" instead of "mvn -P pusblish-specs".
I found out that the problem occurs only with Atlassian plugin SDK 8.2.6. If I use mvn instead of atlas-mvn or downgrade the SDK to 8.2.2 the deployment works fine.
G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events