Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] SAVEPOINT does not exist

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] SAVEPOINT does not exist

Chronological Thread 
  • From: Chris Hyzer <>
  • To: Julio Polo <>, "" <>
  • Subject: RE: [grouper-users] SAVEPOINT does not exist
  • Date: Fri, 12 Dec 2014 07:23:50 +0000
  • Accept-language: en-US

This is an exception thrown from the exception handler.  So unfortunately the underlying exception is not being caught.  I think if there is not a valid savepoint, and it cant rollback in an exception situation, it should just proceed with logging that and handle the underlying exception (Shilen agrees).  If you want to try this patch maybe it will help:


I can make you a zip so you don’t have to recompile, let me know.





From: [mailto:] On Behalf Of Julio Polo
Sent: Tuesday, December 09, 2014 3:47 PM
Subject: [grouper-users] SAVEPOINT does not exist


We seem to encounter this SAVEPOINT error when we hit Grouper hard.   Is this a Hibernate bug where the failure to create the SAVEPOINT should have been caught prior to the rollback attempt to use it?

We are running Grouper 2.1.005

The error occurred during a call to the Grouper web service to add several members at once to a group.  A couple of those members were not added due to this error.  Here's the full error stack for the first instance of this error (there were four such errors in a two-minute span):

2014-12-08 19:49:22,256: [http-] INFO - < _app_username - (ip addr) > - [(redacted),'_app_username','person'] add member: group='' list='members' subject='(redacted)'/'person'/'UH core LDAP' (58ms)
2014-12-08 19:49:22,326: [http-] INFO - < _app_username - (ip addr) > - [(redacted),'_app_username','person'] add member: group='' list='members' subject='(redacted'/'person'/'UH core LDAP' (39ms)
2014-12-08 19:49:22,472: [http-] INFO - < _app_username - (ip addr) > - [(redacted),'_app_username','person'] add member: group='' list='members' subject='(redacted)'/'group'/'g:gsa' (293ms)
2014-12-08 19:49:22,723: [http-] INFO - < _app_username - (ip addr) > - [(redacted),'_app_username','person'] add member: group='' list='members' subject='(redacted)'/'group'/'g:gsa' (214ms)
2014-12-08 19:49:22,821: [http-] ERROR WsAddMemberResult.assignResultCodeException(251) - < _app_username - (ip addr) > - WsSubjectLookup[
  subject=Subject id: (redacted), sourceId: UH core LDAP, name: (redacted),
  subjectFindResult=SUCCESS,subjectId=(redacted)], java.lang.RuntimeException: Problem rolling back savepoint
java.lang.RuntimeException: Problem rolling back savepoint
        at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(
        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(
        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO$1.callback(
        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(
        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO.transactionCallback(
        at edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.apache.catalina.valves.AccessLogValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.Http11Processor.process(
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SAVEPOINT 3d56b48f_14a2c6437d5_69c1 does not exist
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at com.mysql.jdbc.Util.handleNewInstance(
        at com.mysql.jdbc.Util.getInstance(
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(
        at com.mysql.jdbc.MysqlIO.sendCommand(
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
        at com.mysql.jdbc.ConnectionImpl.execSQL(
        at com.mysql.jdbc.StatementImpl.executeUpdate(
        at com.mysql.jdbc.StatementImpl.executeUpdate(
        at com.mysql.jdbc.ConnectionImpl.rollback(
        at com.mchange.v2.c3p0.impl.NewProxyConnection.rollback(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.hibernate.jdbc.BorrowedConnectionProxy.invoke(
        at com.sun.proxy.$Proxy8.rollback(Unknown Source)
        at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(
        ... 30 more

Is this a bug or shall we just throw more memory at the problem?

Julio Polo
University of Hawaii

Archive powered by MHonArc 2.6.16.

Top of Page