net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 7045164, of class: com.atlassian.confluence.pages.Page

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 Roberto Dominguez, 1 year ago
a different object with the same identifier value was already associated with the session: 7045164, of class: com.atlassian.confluence.pages.Page
via Atlassian JIRA by Roberto Dominguez, 1 year ago
a different object with the same identifier value was already associated with the session: 7045164, of class: com.atlassian.confluence.pages.Page
via Atlassian JIRA by Wayne Wong [Atlassian], 1 year ago
a different object with the same identifier value was already associated with the session: 884739, of class: com.atlassian.confluence.pages.Page
via Atlassian JIRA by Riaz Khanmohamed, 1 year ago
a different object with the same identifier value was already associated with the session: 229378, of class: com.atlassian.bamboo.build.DefaultBuild
net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 7045164, of class: com.atlassian.confluence.pages.Page
at net.sf.hibernate.impl.SessionImpl.checkUniqueness(SessionImpl.java:1687)
at net.sf.hibernate.impl.SessionImpl.doUpdateMutable(SessionImpl.java:1453)
at net.sf.hibernate.impl.SessionImpl.doUpdate(SessionImpl.java:1480)
at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1403)
at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114)
at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436)
at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503)
at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:901)
at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:868)
at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:790)
at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:749)
at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1398)
at org.springframework.orm.hibernate.HibernateTemplate$16.doInHibernate(HibernateTemplate.java:532)
at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:312)
at com.atlassian.hibernate.HibernateObjectDao.saveRaw(HibernateObjectDao.java:148)
at com.atlassian.hibernate.HibernateObjectDao.save(HibernateObjectDao.java:118)
at com.atlassian.confluence.pages.DefaultCommentManager.addCommentToPage(DefaultCommentManager.java:44)
at sun.reflect.GeneratedMethodAccessor1273.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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