Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1931

The plugin persistent state store is throwing internal hibernate excpetions during startup

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.0.5
    • 2.0.4
    • Plugins

      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
      

              Unassigned Unassigned
              justin@atlassian.com Justin Koke
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: