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

JFrog JIRA | Stefan Steinert | 5 years ago
  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;
  3. 0

    retroweaver - anyone had a go at fixing it for current jdk1.5.0 release?

    Google Groups | 1 decade ago | Alex Hunsley
    java.lang.NoSuchMethodError: java.lang.String.replace(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    i think my configure.xml is correct <config xmlns="http://org.jenkinsci.plugins/WeblogicDeploymentPlugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://org.jenkinsci.plugins/WeblogicDeploymentPlugin plugin-configuration.xsd"> <weblogic-targets> <weblogic-target> <name>AdminServer</name> <host>ip</host> <port>8080</port> <login>weblogic</login> <password>weblogic</password> <authMode>BY_LOGIN</authMode> </weblogic-target> </weblogic-targets> </config> the job's configure like photo when i excute the job,it builded failed, the console message following: 15:15:41 [WeblogicDeploymentPlugin] - the following file recorded ICPlatform.war is eligible. 15:15:41 [WeblogicDeploymentPlugin] - Deploying the artifact on the following target : (name=AdminServer) (host=10.100.31.65) (port=8080) 15:15:41 java.lang.NoSuchMethodError: hudson.EnvVars.get(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.util.ParameterValueResolver.resolveEnvVar(ParameterValueResolver.java:33) 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.deployer.WebLogicDeployer.getWebLogicCommandLine(WebLogicDeployer.java:75) 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.undeploy(DeploymentTaskServiceImpl.java:281) 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:181) 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:236) 15:15:41 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 15:15:41 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) 15:15:41 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) 15:15:41 at hudson.model.Build$BuildExecution.post2(Build.java:183) 15:15:41 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) 15:15:41 at hudson.model.Run.execute(Run.java:1513) 15:15:41 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 15:15:41 at hudson.model.ResourceController.execute(ResourceController.java:88) 15:15:41 at hudson.model.Executor.run(Executor.java:236) 15:15:41 ERROR: [WeblogicDeploymentPlugin] - Failed to deploy.

    Jenkins JIRA | 3 years ago | janice zhang
    java.lang.NoSuchMethodError: hudson.EnvVars.get(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
  6. 0

    Security Exception While Running TestNG test in Eclipse

    Stack Overflow | 5 months ago | Harikrishnan R
    java.lang.NoSuchMethodError: org.testng.internal.Utils.defaultIfStringEmpty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    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.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