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

Pull request build fails with NullPointer exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • tfs-plugin
    • None

      We configured Service Hooks in Azure DevOps to invoke Jenkins job when a pull request is created. The service hook fails with the following response:

       

      Status Code: 400
      Reason Phrase: Bad Request
      HTTP Version: 1.1
      Headers:
      {
      Connection: keep-alive
      X-Content-Type-Options: nosniff
      X-Error-Message: Object is null (through reference chain: net.sf.json.JSONObject["team-event"]>net.sf.json.JSONObject["resource"]>net.sf.json.JSONObject["repository"]>net.sf.json.JSONObject["project"]>net.sf.json.JSONObject["defaultTeamImageUrl"]->net.sf.json.JSONNull["empty"])
      Date: Mon, 03 Dec 2018 15:37:36 GMT
      Server: nginx/1.8.1
      Content-Length: 10316
      Content-Type: text/plain; charset=utf-8
      }

            Unassigned Unassigned
            vlado_nemo Vladimir Nemergut
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: