NPE for XML API calls with xpath queries

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            aakara
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: