Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-14099

NullPointerException when synchronizing GitHub pull requests when author no longer exists

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • DCON - old releases
    • DVCS Accounts

      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)
      

              zliu ZehuaA
              zliu ZehuaA
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: