java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildChanges.getVcsRevisionKey()Ljava/lang/String;

JFrog JIRA | Stefan Steinert | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    It would be greate if the plugin would be updated, to be compatible with Bamboo 3.3. If you use the latest version (1.4.2) with Bamboo 3.3 build 2718 you receive the following error during an build: {code} java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildChanges.getVcsRevisionKey()Ljava/lang/String; at org.jfrog.bamboo.builder.ArtifactoryBuildInfoPropertyHelper.addBuilderInfoProperties(ArtifactoryBuildInfoPropertyHelper.java:105) at org.jfrog.bamboo.builder.ArtifactoryBuildInfoPropertyHelper.createFileAndGetPath(ArtifactoryBuildInfoPropertyHelper.java:65) at org.jfrog.bamboo.task.ArtifactoryMaven3Task.execute(ArtifactoryMaven3Task.java:91) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:180) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:88) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:88) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy485.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:198) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:662) {code}

    JFrog JIRA | 5 years ago | Stefan Steinert
    java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildChanges.getVcsRevisionKey()Ljava/lang/String;
  2. 0

    It would be greate if the plugin would be updated, to be compatible with Bamboo 3.3. If you use the latest version (1.4.2) with Bamboo 3.3 build 2718 you receive the following error during an build: {code} java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildChanges.getVcsRevisionKey()Ljava/lang/String; at org.jfrog.bamboo.builder.ArtifactoryBuildInfoPropertyHelper.addBuilderInfoProperties(ArtifactoryBuildInfoPropertyHelper.java:105) at org.jfrog.bamboo.builder.ArtifactoryBuildInfoPropertyHelper.createFileAndGetPath(ArtifactoryBuildInfoPropertyHelper.java:65) at org.jfrog.bamboo.task.ArtifactoryMaven3Task.execute(ArtifactoryMaven3Task.java:91) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:180) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:88) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:88) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy485.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:198) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:662) {code}

    JFrog JIRA | 5 years ago | Stefan Steinert
    java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildChanges.getVcsRevisionKey()Ljava/lang/String;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.atlassian.bamboo.v2.build.BuildChanges.getVcsRevisionKey()Ljava/lang/String;

      at org.jfrog.bamboo.builder.ArtifactoryBuildInfoPropertyHelper.addBuilderInfoProperties()
    2. org.jfrog.bamboo
      ArtifactoryMaven3Task.execute
      1. org.jfrog.bamboo.builder.ArtifactoryBuildInfoPropertyHelper.addBuilderInfoProperties(ArtifactoryBuildInfoPropertyHelper.java:105)
      2. org.jfrog.bamboo.builder.ArtifactoryBuildInfoPropertyHelper.createFileAndGetPath(ArtifactoryBuildInfoPropertyHelper.java:65)
      3. org.jfrog.bamboo.task.ArtifactoryMaven3Task.execute(ArtifactoryMaven3Task.java:91)
      3 frames
    3. com.atlassian.bamboo
      ExecuteBuildTask.call
      1. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:180)
      2. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:88)
      3. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:88)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    6. Hibernate
      HibernateInterceptor.invoke
      1. org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    8. Unknown
      $Proxy485.call
      1. $Proxy485.call(Unknown Source)
      1 frame
    9. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:198)
      2. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99)
      3. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107)
      4. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      4 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame