Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5732

Bazaar commits without changes are not handled

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In bazaar there is a way to commit without changes (bzr ci --unchanged).
      The parser doesn't set the message in the BazaarChangeSet and it generates a NullPointerException :

      Caused by: java.lang.NullPointerException
      at hudson.Util.escape(Util.java:707)
      at hudson.scm.ChangeLogSet$Entry.getMsgEscaped(ChangeLogSet.java:183)
      at hudson.scm.ChangeLogSet$Entry.getMsgAnnotated(ChangeLogSet.java:172)

        Attachments

          Activity

          Hide
          zigarn Alexandre Garnier added a comment -

          Patch to correct this

          Show
          zigarn Alexandre Garnier added a comment - Patch to correct this
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : sdirector
          Path:
          trunk/hudson/plugins/bazaar/src/main/java/hudson/plugins/bazaar/BazaarChangeLogParser.java
          http://jenkins-ci.org/commit/27934
          Log:
          [FIXED JENKINS-5732] Fixes NPE on commit without changes. Patch from zigarn.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : sdirector Path: trunk/hudson/plugins/bazaar/src/main/java/hudson/plugins/bazaar/BazaarChangeLogParser.java http://jenkins-ci.org/commit/27934 Log: [FIXED JENKINS-5732] Fixes NPE on commit without changes. Patch from zigarn.

            People

            • Assignee:
              sdirector Monty Taylor
              Reporter:
              zigarn Alexandre Garnier
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: