Perforce provider stops working after Bamboo restart

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 0.6
    • Affects Version/s: 0.5.2
    • Component/s: Repository (Other)
    • None
    • Environment:

      Windows XP server, VB6 custom builder, Perforce source contol server and client v2006.1.

      When I create a build using Perforce for source control, it works fine immediately afterward. I can even build multiple times. But once I restart Bamboo, I get startup errors referring to Perforce, as well as messages in the error log:

      Strack Trace

      java.lang.NullPointerException
      at com.atlassian.bamboo.repository.perforce.PerforceRepository.getSourceCodeDirectory(PerforceRepository.java:108)
      at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:140)
      at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:100)
      at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:68)
      at java.lang.Thread.run(Unknown Source)

      If I then create a new build it will build, but then once Bamboo is restarted, both projects will fail from the get-go.

      I've attached a clean logfile that includes starting the server for the first time, creating a build, building it twice, stopping the build, then trying to build the same build again with no changes to any configuration.

      Thanks!

              Assignee:
              Ben Kuo
              Reporter:
              MattyJ
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified