Details
-
Bug
-
Resolution: Fixed
-
High
-
2.0.4
Description
Issue found via studio.
We are seeing crowd fail to start because of an issue with the PluginPeristentStateStore and how it uses hibernate.
Objects are being used across multiple sessions and this is resulting in a total failure of Crowd to start up.
Sample error:
7.jun.2010 12:14:55 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.atlassian.crowd.console.listener.UpgradeListener org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier value was already associated with the session: [com.atlassian.crowd.model.property.Property#com.atlassian.crowd.model.property.PropertyId@75c1b401]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.atlassian.crowd.model.property.Property#com.atlassian.crowd.model.property.PropertyId@75c1b401] at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:661) at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) ... Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.atlassian.crowd.model.property.Property#com.atlassian.crowd.model.property.PropertyId@75c1b401] at org.hibernate.engine.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:590) ... 62 more
Attachments
Issue Links
- is duplicated by
-
CWD-1929 org.hibernate.NonUniqueObjectException error during startup
- Closed