Skip to Content.
Sympa Menu

grouper-dev - exception when adding members to a group

Subject: Grouper Developers Forum

List archive

exception when adding members to a group


Chronological Thread 
  • From: "冯娟" <>
  • To:
  • Subject: exception when adding members to a group
  • Date: Wed, 4 Apr 2007 11:03:23 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=DYY5kSfPAwwucxJwlXvRzCy/iBFVrLblF0XKbD6kfFcsZKJY8bt1ferjc4MqKIEZ65Kl5bK7sRVeVX0E9c5ja3g1Qm51ueGAKJKCdzea3OWZv1kk+fDYPm6dbWSopaz54/qU/jaNLa/+DVrm+YDM8T6/tMNtqEbS2CeOwdSHd3A=

hello everyone
      I am adding members to a group. I found that when a add several members, it is ok. But when I add a mass of person, it always throw an exception:
     
Caused by: net.sf.hibernate.HibernateException: hibernate commit error: Row was
updated or deleted by another transaction (or unsaved-value mapping was incorrec
t) for edu.internet2.middleware.grouper.Attribute instance with identifier: 4028
728111b175270111b17be88c0007
        at edu.internet2.middleware.grouper.HibernateHelper.saveAndDelete(Hibern
ateHelper.java:216)
        ... 25 more
Caused by: net.sf.hibernate.StaleObjectStateException : Row was updated or delete
d by another transaction (or unsaved-value mapping was incorrect) for edu.intern
et2.middleware.grouper.Attribute instance with identifier: 4028728111b175270111b
17be88c0007
        at net.sf.hibernate.persister.AbstractEntityPersister.check(AbstractEnti
tyPersister.java:513)
        at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.jav
a:664)
        at net.sf.hibernate.persister.EntityPersister.update (EntityPersister.jav
a:621)
        at net.sf.hibernate.impl.ScheduledUpdate.execute(ScheduledUpdate.java:52
)
        at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)
        at net.sf.hibernate.impl.SessionImpl.executeAll (SessionImpl.java:2435)
        at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2393)
        at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)
        at net.sf.hibernate.transaction.JDBCTransaction.commit (JDBCTransaction.j
ava:61)
        at edu.internet2.middleware.grouper.HibernateHelper.saveAndDelete(Hibern
ateHelper.java:212)
        ... 25 more
 
does anyone know what's the problem and how to solve it? Thanks.



Archive powered by MHonArc 2.6.16.

Top of Page