Bamboo fails to export when no plans are configured

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 1.2.3
    • Affects Version/s: 1.2.1
    • Component/s: Import / Export
    • None

      logs,
      Caused by: java.lang.NullPointerException
      at com.atlassian.bamboo.migration.XmlMigrator.exportXml(XmlMigrator.java:286)
      at com.atlassian.bamboo.migration.XmlMigrator$$FastClassByCGLIB$$b6578fc7.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

      Need to put in a check before;

                      for (int i = 0; i < buildDirectories.length; i++)
      

      to see whether buildDirectories is null

              Assignee:
              bmccoy
              Reporter:
              AjayA
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: