java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition;

Atlassian JIRA | saravanan Subramanian | 4 years ago
  1. 0

    System Error Details Build Deployments - Dev Smoke - 2.0 STAR LEO BVMF QA Smoke - Build and Deploy 136 : Unknown error occurred on 'dv0102c' when building DEPLOY-STRL20BVMFQASMKDEPL-STARBUILDCI-136. Agent will attempt process the build result... (java.lang.NoSuchMethodError : com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition;) Occurred: 21 Nov 2012, 1:37:13 PM Agent: dv0102c java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition; at com.atlassian.bamboo.plugins.clearcase.vcsversion.VersionWriter.call(VersionWriter.java:51) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:115) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:88) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:202) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:662)

    Atlassian JIRA | 4 years ago | saravanan Subramanian
    java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition;
  2. 0

    System Error Details Build Deployments - Dev Smoke - 2.0 STAR LEO BVMF QA Smoke - Build and Deploy 136 : Unknown error occurred on 'dv0102c' when building DEPLOY-STRL20BVMFQASMKDEPL-STARBUILDCI-136. Agent will attempt process the build result... (java.lang.NoSuchMethodError : com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition;) Occurred: 21 Nov 2012, 1:37:13 PM Agent: dv0102c java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition; at com.atlassian.bamboo.plugins.clearcase.vcsversion.VersionWriter.call(VersionWriter.java:51) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:115) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:88) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:202) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:662)

    Atlassian JIRA | 4 years ago | saravanan Subramanian
    java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition;
  3. 0

    After upgrading to Bamboo 3.3.1 I started seeing the following exception in the logs: {code} 2011-10-12 19:14:00,839 INFO [4-BAM::Local Agent::Agent:pool-10-thread-1] [NCoverBuildProcessor] inside NCoverBuildProcessor.call() 2011-10-12 19:14:00,840 WARN [4-BAM::Local Agent::Agent:pool-10-thread-1] [ExecuteBuildTask] Failed to execute plugin with class com.atlassian.bamboo.plugin.dotnet.ncover.NCoverBuildProcessor : L3GHEAD-GITPOLL-JOB1-12114 java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition; at com.atlassian.bamboo.plugin.dotnet.ncover.NCoverBuildProcessor.call(NCoverBuildProcessor.java:242) at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source) 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 $Proxy397.call(Unknown Source) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:211) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:91) at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source) 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 $Proxy396.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:619) {code} There's also an error in build's log (highlighted in red): {code} Failed to execute plugin 'NCover Results Collector' with error: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition; {code} This happens in all the configured plans, though it doesn't cause the plans to fail.

    Atlassian JIRA | 5 years ago | Stanislaw Osinski
    java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After upgrading to Bamboo 3.3.1 I started seeing the following exception in the logs: {code} 2011-10-12 19:14:00,839 INFO [4-BAM::Local Agent::Agent:pool-10-thread-1] [NCoverBuildProcessor] inside NCoverBuildProcessor.call() 2011-10-12 19:14:00,840 WARN [4-BAM::Local Agent::Agent:pool-10-thread-1] [ExecuteBuildTask] Failed to execute plugin with class com.atlassian.bamboo.plugin.dotnet.ncover.NCoverBuildProcessor : L3GHEAD-GITPOLL-JOB1-12114 java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition; at com.atlassian.bamboo.plugin.dotnet.ncover.NCoverBuildProcessor.call(NCoverBuildProcessor.java:242) at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source) 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 $Proxy397.call(Unknown Source) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:211) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:91) at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source) 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 $Proxy396.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:619) {code} There's also an error in build's log (highlighted in red): {code} Failed to execute plugin 'NCover Results Collector' with error: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition; {code} This happens in all the configured plans, though it doesn't cause the plans to fail.

    Atlassian JIRA | 5 years ago | Stanislaw Osinski
    java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition;
  6. 0

    {quote} java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildPlanDefinition.getRepository()Lcom/atlassian/bamboo/v2/build/repository/RepositoryV2; at com.sysbliss.bamboo.plugins.prepostcmd.runner.AbstractCommandRunner.setCommonBuildData(AbstractCommandRunner.java:95) at com.sysbliss.bamboo.plugins.prepostcmd.runner.AbstractCommandRunner.run(AbstractCommandRunner.java:48) at com.sysbliss.bamboo.plugins.prepostcmd.action.PreBuildCommandAgentAction.call(PreBuildCommandAgentAction.java:49) at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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 $Proxy94.call(Unknown Source) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:59) at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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 $Proxy101.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:101) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:34) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) {quote}

    Atlassian JIRA | 7 years ago | Mark Chaimungkalanont
    java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildPlanDefinition.getRepository()Lcom/atlassian/bamboo/v2/build/repository/RepositoryV2;

    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.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition;

      at com.atlassian.bamboo.plugins.clearcase.vcsversion.VersionWriter.call()
    2. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.plugins.clearcase.vcsversion.VersionWriter.call(VersionWriter.java:51)
      2. com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:115)
      3. com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:88)
      4. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:202)
      5. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
      6. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109)
      7. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      7 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame