Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-9965

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.3.2
    • 3.3.1
    • None
    • None
    • Ubuntu 10.04.3 LTS, Bamboo WAR distribution, Tomcat 6.0.29

    Description

      After upgrading to Bamboo 3.3.1 I started seeing the following exception in the logs:

      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)
      

      There's also an error in build's log (highlighted in red):

      Failed to execute plugin 'NCover Results Collector' with error: com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()Lcom/atlassian/bamboo/v2/build/BuildPlanDefinition;
      

      This happens in all the configured plans, though it doesn't cause the plans to fail.

      Attachments

        Activity

          People

            jdumay James Dumay
            f8f9f30a9748 Stanislaw Osinski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: