Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-26133

Project Import fails with error: "Existing issue found for key"

    XMLWordPrintable

Details

    Description

      When attempting to import a project into JIRA 4.4.1 the creation of issues fails with the following error:

      /secure/admin/ProjectImportSummary.jspa [atlassian.jira.project.DefaultProjectManager] Existing issue found for key KR-226. Incrementing key.
      

      and

          (SQL Exception while executing the following:UPDATE project SET pcounter=? WHERE ID=? (Lock wait timeout exceeded; try restarting transaction))
      	at org.ofbiz.core.entity.GenericDAO.singleUpdate(GenericDAO.java:230)
      	at org.ofbiz.core.entity.GenericDAO.singleStore(GenericDAO.java:277)
      	at org.ofbiz.core.entity.GenericDAO.storeAll(GenericDAO.java:295)
      	at org.ofbiz.core.entity.GenericHelperDAO.storeAll(GenericHelperDAO.java:218)
      	at org.ofbiz.core.entity.GenericDelegator.storeAll(GenericDelegator.java:1476)
      	at org.ofbiz.core.entity.GenericDelegator.storeAll(GenericDelegator.java:1424)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181)
      	at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareMethodInterceptor.intercept(MultiTenantComponentFactoryImpl.java:230)
      	at org.ofbiz.core.entity.GenericDelegator$$EnhancerByCGLIB$$2bca1d76.storeAll(<generated>)
      	at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.storeAll(DefaultOfBizDelegator.java:313)
      	... 26 more
      

      When importing a project, JIRA becomes unresponsive for an extended period of time before finally reporting that the import failed due to too many errors occurring.

      This issue is a result of JRA-25708 and JRA-25914

      Attachments

        Issue Links

          Activity

            People

              delkan David Elkan (Inactive)
              delkan David Elkan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: