com.atlassian.jira.exception.DataAccessException

org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Status][sequence,557][name,Building][iconurl,/images/icons/bamboo.png][description,Source code has been committed, and JIRA is waiting for the code to be built before moving to the next status.][id,400] (SQL Exception while executing the following:INSERT INTO public.issuestatus (ID, SEQUENCE, pname, DESCRIPTION, ICONURL, STATUSCATEGORY) VALUES (?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_issuestatus")) @4000000055cc3e8d2e884cd4 at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:398) @4000000055cc3e8d2e8850bc at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.createValue(WrappingOfBizDelegator.java:219) @4000000055cc3e8d2e8850bc at com.atlassian.jira.entity.EntityUtils.createValue(EntityUtils.java:39) @4000000055cc3e8d2e8854a4 at com.atlassian.studio.jira.upgrade.UpgradeTo_v45.createNewStatus(UpgradeTo_v45.java:69) @4000000055cc3e8d2e8854a4 at com.atlassian.studio.jira.upgrade.UpgradeTo_v45.doUpgrade(UpgradeTo_v45.java:47) @4000000055cc3e8d2e885c74 ... 3 filtered @4000000055cc3e8d2e885c74 at java.lang.reflect.Method.invoke(Method.java:497) @4000000055cc3e8d2e885c74 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) @4000000055cc3e8d2e88605c at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) @4000000055cc3e8d2e88605c at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) @4000000055cc3e8d2e8873e4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) @4000000055cc3e8d2e887bb4 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) @4000000055cc3e8d2e887f9c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) @4000000055cc3e8d2e888384 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) @4000000055cc3e8d2e88876c at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) @4000000055cc3e8d2e888b54 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) @4000000055cc3e8d2e888b54 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) @4000000055cc3e8d2e888f3c at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) @4000000055cc3e8d2e889324 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) @4000000055cc3e8d2e889af4 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Peter Obara [Atlassian],
  • via Unknown by Peter Obara [Atlassian],
  • Stack trace

    • com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Status][sequence,557][name,Building][iconurl,/images/icons/bamboo.png][description,Source code has been committed, and JIRA is waiting for the code to be built before moving to the next status.][id,400] (SQL Exception while executing the following:INSERT INTO public.issuestatus (ID, SEQUENCE, pname, DESCRIPTION, ICONURL, STATUSCATEGORY) VALUES (?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_issuestatus")) @4000000055cc3e8d2e884cd4 at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:398) @4000000055cc3e8d2e8850bc at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.createValue(WrappingOfBizDelegator.java:219) @4000000055cc3e8d2e8850bc at com.atlassian.jira.entity.EntityUtils.createValue(EntityUtils.java:39) @4000000055cc3e8d2e8854a4 at com.atlassian.studio.jira.upgrade.UpgradeTo_v45.createNewStatus(UpgradeTo_v45.java:69) @4000000055cc3e8d2e8854a4 at com.atlassian.studio.jira.upgrade.UpgradeTo_v45.doUpgrade(UpgradeTo_v45.java:47) @4000000055cc3e8d2e885c74 ... 3 filtered @4000000055cc3e8d2e885c74 at java.lang.reflect.Method.invoke(Method.java:497) @4000000055cc3e8d2e885c74 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) @4000000055cc3e8d2e88605c at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) @4000000055cc3e8d2e88605c at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) @4000000055cc3e8d2e8873e4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) @4000000055cc3e8d2e887bb4 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) @4000000055cc3e8d2e887f9c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) @4000000055cc3e8d2e888384 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) @4000000055cc3e8d2e88876c at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) @4000000055cc3e8d2e888b54 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) @4000000055cc3e8d2e888b54 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) @4000000055cc3e8d2e888f3c at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) @4000000055cc3e8d2e889324 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) @4000000055cc3e8d2e889af4 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.