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

Perforce provider stops working after Bamboo restart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 0.6
    • 0.5.2
    • Repository (Other)
    • None
    • Windows XP server, VB6 custom builder, Perforce source contol server and client v2006.1.

    Description

      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!

      Attachments

        Activity

          People

            ben.kuo Ben Kuo
            bcf7d899afec MattyJ
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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