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
      

            [CWD-1931] The plugin persistent state store is throwing internal hibernate excpetions during startup

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1511084 ] New: JAC Bug Workflow v3 [ 3364074 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1393128 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1511084 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 273495 ] New: Simplified Crowd Development Workflow v2 [ 1393128 ]
            Roy Hartono [Atlassian] made changes -
            Description Original: 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.
            New: 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:
            {noformat}
            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
            {noformat}

            Roy Hartono [Atlassian] added a comment - if upgrade is not an option, see work around: http://confluence.atlassian.com/display/CROWDKB/Crowd+Stops+Working+after+a+Restart
            jawong.adm made changes -
            Workflow Original: JIRA Bug Workflow v2 [ 211695 ] New: Crowd Development Workflow v2 [ 273495 ]
            Tim Moore [Atlassian] made changes -
            Labels New: jirastudio

            Hi Justin,

            We'll have a release of 2.0.5 out with this fix early next week.

            Thanks for your patience.

            Cheers,
            Dave.

            David O'Flynn [Atlassian] added a comment - Hi Justin, We'll have a release of 2.0.5 out with this fix early next week. Thanks for your patience. Cheers, Dave.

            Any chance a patch can be released now? I'm facing the same issue after installing. I wipe out and delete Crowd (WAR install) but I still get this error.

            Justin hammond added a comment - Any chance a patch can be released now? I'm facing the same issue after installing. I wipe out and delete Crowd (WAR install) but I still get this error.
            Justin Koke made changes -
            Link New: This issue is duplicated by CWD-1929 [ CWD-1929 ]

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

                Created:
                Updated:
                Resolved: