net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 3, of class: com.opensymphony.user.provider.hibernate.entity.HibernateUser

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 Charles Miller, 1 year ago
a different object with the same identifier value was already associated with the session: 3, of class: com.opensymphony.user.provider.hibernate.entity.HibernateUser
via Atlassian JIRA by Charles Miller, 1 year ago
a different object with the same identifier value was already associated with the session: 3, of class: com.opensymphony.user.provider.hibernate.entity.HibernateUser
via GitHub by mabouza
, 4 months ago
a different object with the same identifier value was already associated with the session: com.dotmarketing.portlets.contentlet.model.ContentletVersionInfo@c358ff28, of class: com.dotmarketing.portlets.contentlet.model.ContentletVersionInfo
via GitHub by wezell
, 2 years ago
a different object with the same identifier value was already associated with the session: com.dotmarketing.beans.MultiTree@6a55da9b[parent1=fd0ff222-bca0-4636-9dc6-29a7f78c74a4,parent2=56bd55ea-b04b-480d-9e37-5d6f9217dcc3,child=767509b1-2392-4661-a16b-e0e31ce27719,relationType=<null>,treeOrder=0], of class: com.dotmarketing.beans.MultiTree
net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 3, of class: com.opensymphony.user.provider.hibernate.entity.HibernateUser
at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:823)
at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:761)
at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:720)
at org.springframework.orm.hibernate.HibernateTemplate$7.doInHibernate(HibernateTemplate.java:299)
at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:149)
at com.atlassian.confluence.user.persistence.dao.hibernate.ConfluenceUserDAO.saveUser(ConfluenceUserDAO.java:176)
at com.opensymphony.user.provider.hibernate.HibernateCredentialsProvider.create(HibernateCredentialsProvider.java:64)
at com.atlassian.confluence.user.providers.ConfluenceCredentialsProvider.create(ConfluenceCredentialsProvider.java:60)
at com.opensymphony.user.UserManager.createEntity(UserManager.java:370)
at com.opensymphony.user.UserManager.createUser(UserManager.java:242)

Users with the same issue

You are the first who have seen this exception.

Write tip

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