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

GitHub pull request sync failed with message: "Multiple GitHubEvents exists with the same id"

      Somehow there are duplicated entries in the GITHUB_EVENT_ID table.

      @4000000053a09940285a391c 2014-06-17 12:38:30,676 TP-Processor7 INFO anonymous 758x100659x1 - 192.30.252.33,165.254.226.65 /rest/bitbucket/1.0/repository/25/sync [plugins.dvcs.rest.RootResource] Pull Request Postcommit hook started synchronization for repository [25].
      @4000000053a099420c95d31c 2014-06-17 12:38:32,207 TP-Processor7 ERROR anonymous 758x100659x1 - 192.30.252.33,165.254.226.65 /rest/bitbucket/1.0/repository/25/sync [dvcs.sync.impl.DefaultSynchronizer] Multiple GitHubEvents exists with the same id: 2132303445
      @4000000053a099420c95ded4 java.lang.RuntimeException: Multiple GitHubEvents exists with the same id: 2132303445
      @4000000053a099420c95e2bc       at com.atlassian.jira.plugins.dvcs.dao.impl.GitHubEventDAOImpl.getByGitHubId(GitHubEventDAOImpl.java:97)
      @4000000053a099420c95e6a4       at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:109)
      @4000000053a099420c963c94       at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:97)
      @4000000053a099420c96407c       at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)
      @4000000053a099420c964464       at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34)
      @4000000053a099420c964c34       at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source)
      @4000000053a099420c96501c       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      @4000000053a099420c965fbc       at java.lang.reflect.Method.invoke(Method.java:597)
      @4000000053a099420c9663a4       at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      @4000000053a099420c96678c       at $Proxy287.doInTransaction(Unknown Source)
      @4000000053a099420c96678c       at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source)
      @4000000053a099420c966f5c       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      @4000000053a099420c967344       at java.lang.reflect.Method.invoke(Method.java:597)
      @4000000053a099420c967344       at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
      @4000000053a099420c96772c       at $Proxy287.doInTransaction(Unknown Source)
      @4000000053a099420c967efc       at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21)
      @4000000053a099420c9682e4       at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)
      @4000000053a099420c9682e4       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      @4000000053a099420c9686cc       at java.lang.reflect.Method.invoke(Method.java:597)
      

      Workaround: do a full synchronization on the repository.

            [JSWSERVER-14273] GitHub pull request sync failed with message: "Multiple GitHubEvents exists with the same id"

            Conny Postma made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 128810 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2852017 ] New: JAC Bug Workflow v3 [ 2937008 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545944 ] New: JAC Bug Workflow v2 [ 2852017 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1553675 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545944 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: affects-cloud migrated_from_dcon New: affects-cloud affects-server migrated_from_dcon
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: migrated_from_dcon New: affects-cloud migrated_from_dcon
            Benjamin Morgan (Inactive) made changes -
            Component/s New: DVCS Accounts [ 43316 ]
            Labels New: migrated_from_dcon
            Owen made changes -
            Key Original: DCON-437 New: JSW-14273
            Affects Version/s New: DCON - old releases [ 62520 ]
            Affects Version/s Original: 2.1 [ 40497 ]
            Workflow Original: classic workflow for JIRA DVCS Connector [ 693704 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1553675 ]
            Project Original: DCON - deprecated use JSW [ 14710 ] New: JIRA Software (including JIRA Agile) [ 12200 ]
            Michael Andreacchio made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 91485 ] New: This issue links to "Page (Atlassian Documentation)" [ 91485 ]
            Michael Andreacchio made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 91485 ] New: This issue links to "Page (Atlassian Documentation)" [ 91485 ]

              bmorgan Benjamin Morgan (Inactive)
              zliu ZehuaA
              Affected customers:
              7 This affects my team
              Watchers:
              28 Start watching this issue

                Created:
                Updated:
                Resolved: