org.springframework.orm.hibernate.HibernateSystemException

not-null property references a null or transient value: com.atlassian.bamboo.build.artifact.DefaultArtifactLink.artifact; nested exception is net.sf.hibernate.PropertyValueExcepti on: not-null property references a null or transient value: com.atlassian.bamboo.build.artifact.DefaultArtifactLink.artifact

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 web16

  • via Unknown by Martin Meinhold,
  • via Unknown by Martin Meinhold,
  • via Unknown by Noah Campbell,
  • Stack trace

    • org.springframework.orm.hibernate.HibernateSystemException: not-null property references a null or transient value: com.atlassian.bamboo.build.artifact.DefaultArtifactLink.artifact; nested exception is net.sf.hibernate.PropertyValueExcepti on: not-null property references a null or transient value: com.atlassian.bamboo.build.artifact.DefaultArtifactLink.artifact at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597) at org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:353) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:375) at org.springframework.orm.hibernate.HibernateTemplate.deleteAll(HibernateTemplate.java:661) at com.atlassian.bamboo.build.artifact.ArtifactLinkHibernateDao.removeAll(ArtifactLinkHibernateDao.java:42) at sun.reflect.GeneratedMethodAccessor6623.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy96.removeAll(Unknown Source) at com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.removeArtifactLinks(DefaultArtifactLinkManager.java:216) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.removeArtifacts(BuildResultsSummaryManagerImpl.java:1089) at sun.reflect.GeneratedMethodAccessor6624.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:30) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy64.removeArtifacts(Unknown Source) at com.atlassian.bamboo.build.expiry.BuildExpiryBeanImpl.expirePlan(BuildExpiryBeanImpl.java:260) at com.atlassian.bamboo.build.expiry.BuildExpiryBeanImpl.expireAllBuilds(BuildExpiryBeanImpl.java:129) at com.atlassian.bamboo.build.expiry.BuildExpiryScheduler$BuildExpiryJob.execute(BuildExpiryScheduler.java:113) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) Caused by: net.sf.hibernate.PropertyValueException: not-null property references a null or transient value: com.atlassian.bamboo.build.artifact.DefaultArtifactLink.artifact at net.sf.hibernate.impl.SessionImpl.checkNullability(SessionImpl.java:1289) at net.sf.hibernate.impl.SessionImpl.doDelete(SessionImpl.java:1257) at net.sf.hibernate.impl.SessionImpl.delete(SessionImpl.java:1185) at org.springframework.orm.hibernate.HibernateTemplate$17.doInHibernate(HibernateTemplate.java:665) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) ... 35 more

    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

    Unknown visitor
    Unknown visitorOnce,