• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      XML API calls with xpath queries like
      /job/jobname/api/xml?xpath=/*/nextBuildNumber/text()

      fail with
      Caused by: java.lang.NullPointerException
      at hudson.model.Api.doXml(Api.java:79)

      Without xpath query, XML API calls work.
      The error only occurs with 1.273, on 1.272 XML API with xpath is fine.

          [JENKINS-2828] NPE for XML API calls with xpath queries

          aakara created issue -
          Alan Harder made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 132901 ] New: JNJira + In-Review [ 201761 ]

            Unassigned Unassigned
            aakara aakara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: