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

Atlassian JIRA | Stanislaw Osinski | 5 years ago
  1. 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;
  2. 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;
  3. 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;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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;
  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.plugin.dotnet.ncover.NCoverBuildProcessor.call()
    2. com.atlassian.bamboo
      NCoverBuildProcessor.call
      1. com.atlassian.bamboo.plugin.dotnet.ncover.NCoverBuildProcessor.call(NCoverBuildProcessor.java:242)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. 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
    5. Hibernate
      HibernateInterceptor.invoke
      1. org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      1 frame
    6. 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
    7. Unknown
      $Proxy397.call
      1. $Proxy397.call(Unknown Source)
      1 frame
    8. com.atlassian.bamboo
      ExecuteBuildTask.call
      1. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:211)
      2. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:91)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    10. 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
    11. Hibernate
      HibernateInterceptor.invoke
      1. org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      1 frame
    12. 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
    13. Unknown
      $Proxy396.call
      1. $Proxy396.call(Unknown Source)
      1 frame
    14. 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
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame