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

Subversion Event Handler is not all that Null safe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 1.0.1
    • 1.0
    • None
    • None

    Description

      UpdateEventHandler throws a NullPointerException when SVN returns null action codes

      com.atlassian.bamboo.repository.RepositoryException: Apache - Directory Server Trunk
      	at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:298)
      	at com.atlassian.bamboo.build.strategy.PollingBuildStrategy.requiresBuild(PollingBuildStrategy.java:126)
      	at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:166)
      	at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114)
      	at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77)
      	at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
      	at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
      	at com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:30)
      	at org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:256)
      	at org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:239)
      	at org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternals(SVNUpdateClient.java:958)
      	at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:166)
      	at com.atlassian.bamboo.repository.svn.SvnRepository.update(SvnRepository.java:618)
      	at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:275)
      	... 6 more
      

      Attachments

        Activity

          People

            mark@atlassian.com MarkC
            mark@atlassian.com MarkC
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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