grouper-users - [grouper-users] grouper 2.0.0 exception
Subject: Grouper Users - Open Discussion List
List archive
- From: Rob Urquhart <>
- To:
- Subject: [grouper-users] grouper 2.0.0 exception
- Date: Thu, 18 Oct 2012 09:09:50 -0700
I've been running grouper 2.0.0 for about 8 months, and suddenly started
getting the error below. All the CHANGE_LOG_changeLogTempToChangeLog jobs are
failing with this error. Any idea how to fix this?
2012-10-18 08:56:50,134: [DefaultQuartzScheduler_Worker-3] ERROR
GrouperLoaderJob.execute(250) - - Error running up job
edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in
HibernateSession: HibernateSession: isNew: false, isReadonly: false,
grouperTransactionType: READ_WRITE_NEW,
Exception in saveOrUpdate:
edu.internet2.middleware.grouper.pit.PITMembership, ByObjectStatic, query: ',
cacheable: null, cacheRegion: null, entityName: null, tx type: null,
Problem in HibernateSession: HibernateSession: isNew: true, isReadonly:
false, grouperTransactionType: READ_WRITE_NEW
at
edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:424)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:510)
at
edu.internet2.middleware.grouper.hibernate.ByObjectStatic.saveOrUpdate(ByObjectStatic.java:339)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3PITMembershipDAO.saveOrUpdate(Hib3PITMembershipDAO.java:26)
at
edu.internet2.middleware.grouper.pit.PITMembership.save(PITMembership.java:332)
at
edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.processMembershipAdd(ChangeLogTempToEntity.java:599)
at
edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.access$1700(ChangeLogTempToEntity.java:43)
at
edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity$1.callback(ChangeLogTempToEntity.java:116)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:500)
at
edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.convertRecords(ChangeLogTempToEntity.java:75)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:826)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:344)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:247)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: org.hibernate.exception.ConstraintViolationException: Could not
execute JDBC batch update,
Exception in save: edu.internet2.middleware.grouper.pit.PITMembership,
edu.internet2.middleware.grouper.hibernate.ByObject@53843546
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at
edu.internet2.middleware.grouper.hibernate.ByObject.saveOrUpdate(ByObject.java:362)
at
edu.internet2.middleware.grouper.hibernate.ByObjectStatic$5.callback(ByObjectStatic.java:352)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:500)
... 13 more
Caused by: java.sql.BatchUpdateException: Cannot add or update a child row: a
foreign key constraint fails (`groups_registry`.`grouper_pit_memberships`,
CONSTRAINT `fk_pit_ms_owner_group_id` FOREIGN KEY (`owner_group_id`)
REFERENCES `grouper_pit_groups` (`id`))
at
com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1669)
at
com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1085)
at
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
... 21 more
--
Rob Urquhart
Institutional, Collaborative, and Academic Technologies (ICAT)
IT Services
Simon Fraser University
778-782-3650
- [grouper-users] grouper 2.0.0 exception, Rob Urquhart, 10/18/2012
- Re: [grouper-users] grouper 2.0.0 exception, Shilen Patel, 10/18/2012
- Re: [grouper-users] grouper 2.0.0 exception, Rob Urquhart, 10/18/2012
- Re: [grouper-users] grouper 2.0.0 exception, Shilen Patel, 10/18/2012
- Re: [grouper-users] grouper 2.0.0 exception, Rob Urquhart, 10/18/2012
- RE: [grouper-users] grouper 2.0.0 exception, Gagné Sébastien, 10/19/2012
- Re: [grouper-users] grouper 2.0.0 exception, Rob Urquhart, 10/18/2012
- Re: [grouper-users] grouper 2.0.0 exception, Shilen Patel, 10/18/2012
- Re: [grouper-users] grouper 2.0.0 exception, Rob Urquhart, 10/18/2012
- Re: [grouper-users] grouper 2.0.0 exception, Shilen Patel, 10/18/2012
Archive powered by MHonArc 2.6.16.