Skip to Content.
Sympa Menu

grouper-users - Exception "State was never stored from db"

Subject: Grouper Users - Open Discussion List

List archive

Exception "State was never stored from db"


Chronological Thread 
  • From: Colin Hudler <>
  • To:
  • Subject: Exception "State was never stored from db"
  • Date: Mon, 08 Jun 2009 11:26:35 -0500

I have a small script that takes a single stem argument and uses the grouper API to obliterate all of it's children and the stem. I use it rarely, but it is very simple, and always worked. Today, I got a curious error message, and I wonder if it reveals a more serious problem. The stem I was obliterating had about 1000 sub-stems, and it removed those, but the error happened when it tried to remove the last stem. I ran it again and it was successful. I am not highly worried about this, just thought I'd toss it out there. It is grouper 1.4.1.

Complete Java stackTrace
java.lang.RuntimeException: State was never stored from db,
Problem in HibernateSession: HibernateSession: isNew: true, isReadonly: false, grouperTransactionType: READ_WRITE_NEW
at edu.internet2.middleware.grouper.Stem.dbVersionDifferentFields(Stem.java:2073)
at edu.internet2.middleware.grouper.Stem.onPreUpdate(Stem.java:2022)
at edu.internet2.middleware.grouper.hibernate.ByObject.update(ByObject.java:336)
at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3StemDAO$5.callback(Hib3StemDAO.java:674)
at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:385)
at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3StemDAO.revokePriv(Hib3StemDAO.java:667)
at edu.internet2.middleware.grouper.GrouperNamingAdapter.revokePriv(GrouperNamingAdapter.java:323)
at edu.internet2.middleware.grouper.privs.NamingWrapper.revokePrivilege(NamingWrapper.java:173)
at edu.internet2.middleware.grouper.privs.GrouperAllNamingResolver.revokePrivilege(GrouperAllNamingResolver.java:126)
at edu.internet2.middleware.grouper.privs.GrouperSystemNamingResolver.revokePrivilege(GrouperSystemNamingResolver.java:124)
at edu.internet2.middleware.grouper.privs.CachingNamingResolver.revokePrivilege(CachingNamingResolver.java:170)
at edu.internet2.middleware.grouper.privs.WheelNamingResolver.revokePrivilege(WheelNamingResolver.java:182)
at edu.internet2.middleware.grouper.privs.ValidatingNamingResolver.revokePrivilege(ValidatingNamingResolver.java:126)
at edu.internet2.middleware.grouper.Stem.revokePriv(Stem.java:930)
at edu.internet2.middleware.grouper.Stem$1.callback(Stem.java:1680)
at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:626)
at edu.internet2.middleware.grouper.Stem._revokeAllNamingPrivs(Stem.java:1673)
at edu.internet2.middleware.grouper.Stem.delete(Stem.java:334)
at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
<snip>



Archive powered by MHonArc 2.6.16.

Top of Page