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

Github PR builds produce NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • github-api-plugin
    • None

      I get the following error with version GitHub API 1.89 and 1.90 and PRs aren't build. Had to downgrade to 1.86 to get it working again.

      Unable to handle PR# 12984 for repo: xbmc/xbmc
      java.lang.NullPointerException
      	at org.kohsuke.github.GHPerson.populate(GHPerson.java:44)
      	at org.kohsuke.github.GHPerson.getName(GHPerson.java:184)
      	at org.jenkinsci.plugins.ghprb.GhprbPullRequest.updatePR(GhprbPullRequest.java:271)
      	at org.jenkinsci.plugins.ghprb.GhprbPullRequest.check(GhprbPullRequest.java:161)
      	at org.jenkinsci.plugins.ghprb.GhprbRepository.onPullRequestHook(GhprbRepository.java:382)
      	at org.jenkinsci.plugins.ghprb.GhprbTrigger.handlePR(GhprbTrigger.java:676)
      	at org.jenkinsci.plugins.ghprb.GhprbRootAction$2.run(GhprbRootAction.java:252)

            Unassigned Unassigned
            rechi Lukas Rechberger
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: