java.lang.UnsupportedOperationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • If you try and use the new StashRepository type in Bamboo 5.5.x the release management will fail completely with the following exception: {noformat} DSA-TF-JOB1-2 : Exception occurred while executing custom pre-build action 'org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction@2eb516c'. Building will abort... java.lang.UnsupportedOperationException: Scm of type: com.atlassian.bamboo.plugins.stash.StashRepository is not supported at org.jfrog.bamboo.release.scm.AbstractScmCoordinator.createScmCoordinator(AbstractScmCoordinator.java:72) at org.jfrog.bamboo.release.provider.AbstractReleaseProvider.<init>(AbstractReleaseProvider.java:46) at org.jfrog.bamboo.release.provider.MavenReleaseProvider.<init>(MavenReleaseProvider.java:31) at org.jfrog.bamboo.release.provider.AbstractReleaseProvider.createReleaseProvider(AbstractReleaseProvider.java:60) at org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction.call(ArtifactoryPreBuildAction.java:63) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:129) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:100) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:186) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:724) {noformat}
    via by Daniel Hopper,
  • If you try and use the new StashRepository type in Bamboo 5.5.x the release management will fail completely with the following exception: {noformat} DSA-TF-JOB1-2 : Exception occurred while executing custom pre-build action 'org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction@2eb516c'. Building will abort... java.lang.UnsupportedOperationException: Scm of type: com.atlassian.bamboo.plugins.stash.StashRepository is not supported at org.jfrog.bamboo.release.scm.AbstractScmCoordinator.createScmCoordinator(AbstractScmCoordinator.java:72) at org.jfrog.bamboo.release.provider.AbstractReleaseProvider.<init>(AbstractReleaseProvider.java:46) at org.jfrog.bamboo.release.provider.MavenReleaseProvider.<init>(MavenReleaseProvider.java:31) at org.jfrog.bamboo.release.provider.AbstractReleaseProvider.createReleaseProvider(AbstractReleaseProvider.java:60) at org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction.call(ArtifactoryPreBuildAction.java:63) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:129) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:100) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:186) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:724) {noformat}
    via by Daniel Hopper,
    • java.lang.UnsupportedOperationException: Scm of type: com.atlassian.bamboo.plugins.stash.StashRepository is not supported at org.jfrog.bamboo.release.scm.AbstractScmCoordinator.createScmCoordinator(AbstractScmCoordinator.java:72) at org.jfrog.bamboo.release.provider.AbstractReleaseProvider.<init>(AbstractReleaseProvider.java:46) at org.jfrog.bamboo.release.provider.MavenReleaseProvider.<init>(MavenReleaseProvider.java:31) at org.jfrog.bamboo.release.provider.AbstractReleaseProvider.createReleaseProvider(AbstractReleaseProvider.java:60) at org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction.call(ArtifactoryPreBuildAction.java:63) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:129) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:100) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:186) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:724)
    No Bugmate found.