Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Cheryl Jerozal [Atlassian], 1 year ago
Could not save the build results BuildResults: UPM-TRUNK-1. Data could be in an inconsistent state.
via Atlassian JIRA by Cheryl Jerozal [Atlassian], 2 years ago
Could not save the build results BuildResults: UPM-TRUNK-1. Data could be in an inconsistent state.
java.lang.Exception: Could not save the build results BuildResults: UPM-TRUNK-1. Data could be in an inconsistent state. at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.call(SaveBuildTask.java:110) 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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy270.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.LocalBuildResultProcessor.processBuildResult(LocalBuildResultProcessor.java:144) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:115) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:619)Caused by: org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597) at org.springframework.orm.hibernate.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:607) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:518) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:662) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy26.savePlan(Unknown Source) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager$1.run(DefaultBuildDefinitionManager.java:105) at com.atlassian.bamboo.schedule.PlanSchedulerCallback.run(PlanSchedulerCallback.java:24) at com.atlassian.bamboo.schedule.DefaultPlanScheduler$3.run(DefaultPlanScheduler.java:64) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:322) at com.atlassian.bamboo.schedule.DefaultPlanScheduler.executeWithoutPlanSchdules(DefaultPlanScheduler.java:57) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.savePlanAndDefinition(DefaultBuildDefinitionManager.java:92) at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.updateVcsBuildDefinition(SaveBuildTask.java:140) at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.call(SaveBuildTask.java:76) ... 18 moreCaused by: net.sf.hibernate.HibernateException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2905) at net.sf.hibernate.impl.FlushVisitor.processCollection(FlushVisitor.java:32) at net.sf.hibernate.impl.AbstractVisitor.processValue(AbstractVisitor.java:69) at net.sf.hibernate.impl.AbstractVisitor.processValues(AbstractVisitor.java:36) at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2618) at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2484) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2279) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2258) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:510) ... 33 more