Uploaded image for project: 'JIRA Software Server (including JIRA Agile)'
  1. JIRA Software Server (including JIRA Agile)
  2. JSWSERVER-14099

NullPointerException when synchronizing GitHub pull requests when author no longer exists

    Details

      Description

      UPDATE: This issue occurs when synchronizing a pull request who's author has been deleted.

      When synchronizing GitHub, the DVCS Accounts show "Sync Failed: Error during sync. See server logs":

      In the server log, there is:

      2014-04-10 17:08:01.231029500 java.lang.NullPointerException
      2014-04-10 17:08:01.231029500 	at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.map(GitHubPullRequestSynchronizeMessageConsumer.java:308)
      2014-04-10 17:08:01.231031500 	at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.updateLocalPullRequest(GitHubPullRequestSynchronizeMessageConsumer.java:131)
      2014-04-10 17:08:01.231042500 	at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:105)
      2014-04-10 17:08:01.231043500 	at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:40)
      2014-04-10 17:08:01.231597500 	at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.run(MessageExecutor.java:289)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  3 years, 6 weeks, 3 days ago