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

Pull request build fails with NullPointer exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: tfs-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      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
      }

        Attachments

          Issue Links

            Activity

            vlado_nemo Vladimir Nemergut created issue -
            vlado_nemo Vladimir Nemergut made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-40791 [ JENKINS-40791 ]
            ianw Ian Williams made changes -
            Assignee redsolo [ redsolo ]

              People

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

                Dates

                Created:
                Updated: