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"

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              bmorgan Benjamin Morgan
              zliu ZehuaA
              Votes:
              7 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: