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

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 Martin Meinhold, 1 year ago
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
via Atlassian JIRA by Immanuel Siagian [Atlassian], 1 year ago
could not insert: [com.atlassian.confluence.core.BodyContent#6488280]; nested exception is net.sf.hibernate.HibernateException: could not insert: [com.atlassian.confluence.core.BodyContent#6488280]
via Atlassian JIRA by Thuan Nguyen Ngoc Hieu [Atlassian], 1 year ago
could not delete: [com.atlassian.confluence.core.BodyContent#221512846]; nested exception is net.sf.hibernate.HibernateException: could not delete: [com.atlassian.confluence.core.BodyContent#221512846]
via Atlassian JIRA by Libor Tvrdik, 1 year ago
Named query not known: confluence.content_findRecentlyAddedBySpace; nested exception is net.sf.hibernate.MappingException: Named query not known: confluence.content_findRecentlyAddedBySpace
via Atlassian JIRA by Libor Tvrdik, 1 year ago
Named query not known: confluence.content_findRecentlyAddedBySpace; nested exception is net.sf.hibernate.MappingException: Named query not known: confluence.content_findRecentlyAddedBySpace
via Atlassian JIRA by John Watson, 2 months ago
identifier of an instance of com.atlassian.confluence.pages.Draft altered from 18448406 to 18448405; nested exception is net.sf.hibernate.HibernateException: identifier of an instance of com.atlassian.confluence.pages.Draft altered from 18448406 to 18448405
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)
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:171)
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 com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:30)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.