java.lang.UnsupportedOperationException: Scm of type: com.atlassian.bamboo.plugins.stash.StashRepository is not supported

JFrog JIRA | Daniel Hopper | 2 years ago
  1. 0

    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}

    JFrog JIRA | 2 years ago | Daniel Hopper
    java.lang.UnsupportedOperationException: Scm of type: com.atlassian.bamboo.plugins.stash.StashRepository is not supported
  2. 0

    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}

    JFrog JIRA | 2 years ago | Daniel Hopper
    java.lang.UnsupportedOperationException: Scm of type: com.atlassian.bamboo.plugins.stash.StashRepository is not supported
  3. 0

    Artifactory Plugin Release Management with Perforce

    Google Groups | 5 years ago | Dolphin
    java.lang.UnsupportedOperationException: Scm of type: hudson.plugins.perforce.PerforceSCM is not supported
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    errors following move from dotnet2 to java

    Google Groups | 1 year ago | Lee Anne Pedersen
    java.lang.UnsupportedOperationException: Type TIMESTAMP is not supported
  6. 0

    dbfit.MySqlTest: XXXTEXT/XXXBLOB datatypes not supported

    Google Groups | 1 year ago | Eoin O'Hehir
    java.lang.UnsupportedOperationException: Type BIT is not supported

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Scm of type: com.atlassian.bamboo.plugins.stash.StashRepository is not supported

      at org.jfrog.bamboo.release.scm.AbstractScmCoordinator.createScmCoordinator()
    2. org.jfrog.bamboo
      ArtifactoryPreBuildAction.call
      1. org.jfrog.bamboo.release.scm.AbstractScmCoordinator.createScmCoordinator(AbstractScmCoordinator.java:72)
      2. org.jfrog.bamboo.release.provider.AbstractReleaseProvider.<init>(AbstractReleaseProvider.java:46)
      3. org.jfrog.bamboo.release.provider.MavenReleaseProvider.<init>(MavenReleaseProvider.java:31)
      4. org.jfrog.bamboo.release.provider.AbstractReleaseProvider.createReleaseProvider(AbstractReleaseProvider.java:60)
      5. org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction.call(ArtifactoryPreBuildAction.java:63)
      5 frames
    3. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:129)
      2. com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:100)
      3. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:186)
      4. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102)
      5. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)
      6. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      7. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      8. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      9. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      9 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame