Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JSWCLOUD-14308

Unable to link selected repository - NullPointerException linking GitHub repositories

XMLWordPrintable

      NOTE: This bug report is for JIRA Software Cloud. Using JIRA Software Server? See the corresponding bug report.

      On the DVCS Accounts page, linking a unlinked repo results in the following error:

      The corresponding GitHub repo is public.

      There is an NPE in the server log:

      2014-04-10 19:31:58.294877500 2014-04-10 19:31:58,291 TP-Processor6 ERROR sysadmin 1171x14227x1 1n1lb8u 59.167.133.100,131.103.26.179 /rest/bitbucket/1.0/repo/210/autolink [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null
      2014-04-10 19:31:58.294880500 java.lang.NullPointerException
      2014-04-10 19:31:58.294880500 	at com.atlassian.jira.plugins.dvcs.spi.github.GithubCommunicator.ensureHookPresent(GithubCommunicator.java:355)
      2014-04-10 19:31:58.294882500 	at com.atlassian.jira.plugins.dvcs.service.remote.CachingCommunicator.ensureHookPresent(CachingCommunicator.java:226)
      2014-04-10 19:31:58.294904500 	at com.atlassian.jira.plugins.dvcs.service.RepositoryServiceImpl.addOrRemovePostcommitHook(RepositoryServiceImpl.java:530)
      2014-04-10 19:31:58.294905500 	at com.atlassian.jira.plugins.dvcs.service.RepositoryServiceImpl.enableRepository(RepositoryServiceImpl.java:480)
      2014-04-10 19:31:58.294907500 	at com.atlassian.jira.plugins.dvcs.rest.RootResource.enableRepositoryAutolink(RootResource.java:393)
      

        1. dvcs-link-error.png
          26 kB
          ZehuaA
        2. github-webhook-error.png
          11 kB
          ZehuaA

              zliu ZehuaA
              zliu ZehuaA
              Votes:
              7 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved: