java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant'

Atlassian JIRA | Ajay Sridhar [Atlassian] | 9 years ago
  1. 0

    Can't remove builder plugins from Bamboo, if one or more plans are using the builder plugin, e.g: Nant Steps to replicate - # Configure a Nant plugin builder. # Create a plan that uses the Nant builder. # Remove the builder from classpath without, explicitly modifying the plan to not use the builder. # Bamboo will now not start at all and will fail to initialize with the exception below {noformat} java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-18 11:49:16,621 FATAL [main] [UpgradeLauncher] Failed to initialise Bamboo container java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-18 11:49:16.047::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@ac0ead{/,/Users/asridhar/Bamboo/code/atlassian-bamboo-2.0/bamboo-web-app/src/main/webapp} java.lang.RuntimeException: Failed to upgrade at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:138) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) Caused by: java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) ... 11 more {noformat}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant'
  2. 0

    Can't remove builder plugins from Bamboo, if one or more plans are using the builder plugin, e.g: Nant Steps to replicate - # Configure a Nant plugin builder. # Create a plan that uses the Nant builder. # Remove the builder from classpath without, explicitly modifying the plan to not use the builder. # Bamboo will now not start at all and will fail to initialize with the exception below {noformat} java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-18 11:49:16,621 FATAL [main] [UpgradeLauncher] Failed to initialise Bamboo container java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-18 11:49:16.047::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@ac0ead{/,/Users/asridhar/Bamboo/code/atlassian-bamboo-2.0/bamboo-web-app/src/main/webapp} java.lang.RuntimeException: Failed to upgrade at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:138) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) Caused by: java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) ... 11 more {noformat}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant'
  3. 0

    Can't remove builder plugins from Bamboo, if one or more plans are using the builder plugin, e.g: Nant Steps to replicate - # Configure a Nant plugin builder. # Create a plan that uses the Nant builder. # Remove the builder from classpath without, explicitly modifying the plan to not use the builder. # Bamboo will now not start at all and will fail to initialize with the exception below {noformat} java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-18 11:49:16,621 FATAL [main] [UpgradeLauncher] Failed to initialise Bamboo container java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-18 11:49:16.047::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@ac0ead{/,/Users/asridhar/Bamboo/code/atlassian-bamboo-2.0/bamboo-web-app/src/main/webapp} java.lang.RuntimeException: Failed to upgrade at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:138) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) Caused by: java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) ... 11 more {noformat}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.RuntimeException: Failed to upgrade
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    A missing Nant plugin causes the following error - {code} 2008-04-18 16:21:40,803 INFO [main] [UpgradeManagerImpl] Completed upgrade task 602 successfully. 2008-04-18 16:21:40,815 INFO [main] [UpgradeManagerImpl] --------------------------------------------------------------------------------- 2008-04-18 16:21:40,815 INFO [main] [UpgradeManagerImpl] Running upgrade task 603 : Add a vcsRevisionKey field for Build result Summaries. 2008-04-18 16:21:40,816 INFO [main] [UpgradeManagerImpl] --------------------------------------------------------------------------------- 2008-04-18 16:21:40,908 INFO [main] [UpgradeTask603VcsKeyForBuild] Updating build plan 'sdfa - Default' 2008-04-18 16:21:40,909 INFO [main] [DefaultBuildDefinitionManager] Getting Build Configuration for 'EFH45-DEF'. 2008-04-18 16:21:41,015 ERROR [main] [UpgradeManagerImpl] java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.upgrade.tasks.UpgradeTask603VcsKeyForBuild.doUpgrade(UpgradeTask603VcsKeyForBuild.java:58) 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: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 $Proxy36.doUpgrade(Unknown Source) at com.atlassian.bamboo.upgrade.UpgradeManagerImpl.runUpgradeTask(UpgradeManagerImpl.java:122) at com.atlassian.bamboo.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:88) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:104) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-18 16:21:41,017 INFO [main] [UpgradeManagerImpl] Completed upgrade task 603 with errors.{code}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant'
  6. 0

    Can't remove builder plugins from Bamboo, if one or more plans are using the builder plugin, e.g: Nant Steps to replicate - # Configure a Nant plugin builder. # Create a plan that uses the Nant builder. # Remove the builder from classpath without, explicitly modifying the plan to not use the builder. # Bamboo will now not start at all and will fail to initialize with the exception below {noformat} java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-18 11:49:16,621 FATAL [main] [UpgradeLauncher] Failed to initialise Bamboo container java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-18 11:49:16.047::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@ac0ead{/,/Users/asridhar/Bamboo/code/atlassian-bamboo-2.0/bamboo-web-app/src/main/webapp} java.lang.RuntimeException: Failed to upgrade at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:138) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) Caused by: java.lang.IllegalArgumentException: Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant' at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131) at com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411) at com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) ... 11 more {noformat}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.RuntimeException: Failed to upgrade

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

      Could not find builder with key 'com.atlassian.bamboo.plugin.builder.nant:nant'

      at com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder()
    2. com.atlassian.bamboo
      UpgradeLauncher.contextInitialized
      1. com.atlassian.bamboo.builder.DefaultBuilderManager.getBuilder(DefaultBuilderManager.java:131)
      2. com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter.toObject(BuildDefinitionConverter.java:172)
      3. com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinitionFromBuild(DefaultBuildDefinitionManager.java:73)
      4. com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:31)
      5. com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:411)
      6. com.atlassian.bamboo.container.BambooContainer.initialiseBuilds(BambooContainer.java:316)
      7. com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:228)
      8. com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123)
      9. com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37)
      9 frames
    3. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
      5 frames
    4. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    5. Jetty Server
      Server.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
      2. org.mortbay.jetty.Server.doStart(Server.java:217)
      2 frames
    6. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    7. com.atlassian.bamboo
      Server.main
      1. com.atlassian.bamboo.server.Server.main(Server.java:60)
      1 frame