java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null

Atlassian JIRA | Ajay Sridhar [Atlassian] | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I created a maven1 builder, but after I restarted Bamboo (inside IDEA) I got the following error - {code} 2008-04-02 15:55:27,591 FATAL [main] [UpgradeLauncher] Failed to initialise Bamboo container java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null at com.atlassian.bamboo.builder.MavenBuilder.getPath(MavenBuilder.java) at com.atlassian.bamboo.builder.AbstractBuilder.validate(AbstractBuilder.java:691) at com.atlassian.bamboo.container.BambooContainer.reportBuilderConfigurationProblems(BambooContainer.java:345) at com.atlassian.bamboo.container.BambooContainer.reportBuildConfigurationProblems(BambooContainer.java:337) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:229) 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-02 15:55:27.129::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@1d1b16{/,/Users/asridhar/Bamboo/code/trunk_new/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.IllegalStateException: @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null at com.atlassian.bamboo.builder.MavenBuilder.getPath(MavenBuilder.java) at com.atlassian.bamboo.builder.AbstractBuilder.validate(AbstractBuilder.java:691) at com.atlassian.bamboo.container.BambooContainer.reportBuilderConfigurationProblems(BambooContainer.java:345) at com.atlassian.bamboo.container.BambooContainer.reportBuildConfigurationProblems(BambooContainer.java:337) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:229) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) ... 11 more {code}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null
  2. 0

    I created a maven1 builder, but after I restarted Bamboo (inside IDEA) I got the following error - {code} 2008-04-02 15:55:27,591 FATAL [main] [UpgradeLauncher] Failed to initialise Bamboo container java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null at com.atlassian.bamboo.builder.MavenBuilder.getPath(MavenBuilder.java) at com.atlassian.bamboo.builder.AbstractBuilder.validate(AbstractBuilder.java:691) at com.atlassian.bamboo.container.BambooContainer.reportBuilderConfigurationProblems(BambooContainer.java:345) at com.atlassian.bamboo.container.BambooContainer.reportBuildConfigurationProblems(BambooContainer.java:337) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:229) 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-02 15:55:27.129::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@1d1b16{/,/Users/asridhar/Bamboo/code/trunk_new/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.IllegalStateException: @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null at com.atlassian.bamboo.builder.MavenBuilder.getPath(MavenBuilder.java) at com.atlassian.bamboo.builder.AbstractBuilder.validate(AbstractBuilder.java:691) at com.atlassian.bamboo.container.BambooContainer.reportBuilderConfigurationProblems(BambooContainer.java:345) at com.atlassian.bamboo.container.BambooContainer.reportBuildConfigurationProblems(BambooContainer.java:337) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:229) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) ... 11 more {code}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null

    Root Cause Analysis

    1. java.lang.IllegalStateException

      @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null

      at com.atlassian.bamboo.builder.MavenBuilder.getPath()
    2. com.atlassian.bamboo
      UpgradeLauncher.contextInitialized
      1. com.atlassian.bamboo.builder.MavenBuilder.getPath(MavenBuilder.java)
      2. com.atlassian.bamboo.builder.AbstractBuilder.validate(AbstractBuilder.java:691)
      3. com.atlassian.bamboo.container.BambooContainer.reportBuilderConfigurationProblems(BambooContainer.java:345)
      4. com.atlassian.bamboo.container.BambooContainer.reportBuildConfigurationProblems(BambooContainer.java:337)
      5. com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:229)
      6. com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123)
      7. com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37)
      7 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