Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch


Chronological Thread 
  • From: Scott Koranda <>
  • To: "Hyzer, Chris" <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch
  • Date: Wed, 14 Feb 2018 13:39:23 -0600
  • Ironport-phdr: 9a23:r0JnWBdychHF8SjoK7LqV5uJlGMj4u6mDksu8pMizoh2WeGdxcS+bR7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM3/mHZhNJtgqxYrhKuqABwzJPWb46bL/d+e7/RcMkASGZdRMtdSSpMCZ68YYsVCOoBOP5VoZThqFsJsRu+GRSnCuboyj9SnHD227A13P48GgzBxwwgHNUOsG7Oo9XzKagdS/u4zKbNzTrZbvNW3S3x55TPchAkuPyBW697f8TWyUkqDQzFj1OQpJTkPzOTyuQCrXKb7+x+WuKzlWIrsR9+rSWyxsoql4LHhZoVx0ja+Sh43Io4J9i1SEB4bNG/DJddsi6XO5dqTs8/RmxnpDo2x7wDtJO+YiQHxpUqywbCZ/GJcoWE+A/vWeeTLDtiin9oeaiziwis/UWizOD3S9O630xQriVfl9nBrnAN2ALX6siAUvZ9+12u2TeL1wzK6+FEJlw4mbPUKpI/zLM9l4AfsUvEHi/xl0X2iLGZel849eiv7uTrerTmppmCOI9okgzyLKUjltC9DOk9PAgDXHOU9fi52bDs4UH1XKhGg/gqnaXFsZ3XIMEWqrC3DgJUyooj7gywDzai0NQWh3kHK1dFdQqcj4jqPFHOOur3DfGijFu2izpryPXGMafgApXJNHTMjLDhfbNl505G1AUz1cxf545TCrwZL/LzQEjxtMHADhAnKQy42vvnCM5j2YMEQmKCGauZMKLJsV+U/eIjPfOAZI4TuDbhNfcl/fjugmElmVMDZ6Wmw4YYaG3rVshhdg+5cGjhmJNJOmcQvxF0BLjvg12TQzNJT3epVOQh/jw9DsSrAZqVFa63h7nU5yy8AoEeRWdcA1aAGD+8bIaDQf4KZCu6LcpokzhCXr+kHdxynSqyvRP3nuI0ZtHf/TcV4Mru

> This is fixed in patches grouper_v2_3_0_api_patch_92, and
> grouper_v2_3_0_ui_patch_41. Also released are some updates from Vivek and
> me about loader metadata.
>
> https://spaces.internet2.edu/display/Grouper/Grouper+Loader+-+Changes+for+deprovisioning
>
> You can see which groups a loader job manages (see link for screenshots),
> and see that a group is managed (or was managed) by the loader.
>
> Some other API changes were needed to make this work properly.
>
> https://bugs.internet2.edu/jira/browse/GRP-1624: Add loader metadata
> attributes to groups that are loaded via grouper loader
> https://bugs.internet2.edu/jira/browse/GRP-1681: allow attribute values to
> be updated without worrying about locking, hooks, auditing, etc
> https://bugs.internet2.edu/jira/browse/GRP-1687: allow search for groups by
> multiple attributes and values
> https://bugs.internet2.edu/jira/browse/GRP-1678: grouperLoader attribute
> metadata has incorrect groupId and unassigns attributes that shouldnt be
> causing stale state exceptions
>
> Let me know how it goes.

I have patched the API up to and including patch 94, but unfortunately
the errors persist when I start the loader.

I have attached the relevant entries in the log file.

I need for this deployment to progress so I am going to revert. Do you
know which patch introduced this error so that I can revert to just
before it?

Thanks,

Scott K

2018-02-14 14:30:01,471: [DefaultQuartzScheduler_Worker-7] ERROR
GrouperLoaderJob.runJob(485) - - Error on job:
SQL_GROUP_LIST__community:loader:admin:administrator_loader_job__140d0606e0d04fb38903725f0edf05fb
edu.internet2.middleware.grouper.exception.GrouperStaleObjectStateException:
Problem in HibernateSession: HibernateSession (71c54da6): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Hook
GrouperAttributeAssignValueRulesConfigHook.attributeAssignValuePostDelete id:
TNXQ87ZA,
Problem in HibernateSession: HibernateSession (45a8059b): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Problem in HibernateSession: HibernateSession (3b7c7102): new, notReadonly,
READ_WRITE_NEW, notActiveTransaction, session (1664ee3e)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:581)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:710)
at
edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:340)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefNameDAO.findByNameSecure(Hib3AttributeDefNameDAO.java:159)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefNameDAO.findByNameSecure(Hib3AttributeDefNameDAO.java:182)
at
edu.internet2.middleware.grouper.attr.finder.AttributeDefNameFinder.findByName(AttributeDefNameFinder.java:346)
at
edu.internet2.middleware.grouper.rules.RuleUtils.ruleAttributeDefName(RuleUtils.java:340)
at
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook$1.callback(GrouperAttributeAssignValueRulesConfigHook.java:118)
at
edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
at
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook.validateRule(GrouperAttributeAssignValueRulesConfigHook.java:108)
at
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook.attributeAssignValuePostDelete(GrouperAttributeAssignValueRulesConfigHook.java:67)
at sun.reflect.GeneratedMethodAccessor462.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4163)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.executeHook(GrouperHooksUtils.java:493)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:293)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:232)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:158)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValue.onPostDelete(AttributeAssignValue.java:1117)
at
edu.internet2.middleware.grouper.hibernate.ByObject.delete(ByObject.java:125)
at
edu.internet2.middleware.grouper.hibernate.ByObjectStatic$10.callback(ByObjectStatic.java:675)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
at
edu.internet2.middleware.grouper.hibernate.ByObjectStatic.delete(ByObjectStatic.java:662)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeAssignValueDAO.delete(Hib3AttributeAssignValueDAO.java:190)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValue$1.callback(AttributeAssignValue.java:501)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValue.saveOrUpdate(AttributeAssignValue.java:466)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.internal_assignValue(AttributeAssignValueDelegate.java:260)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.assignValue(AttributeAssignValueDelegate.java:217)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.assignValue(AttributeAssignValueDelegate.java:324)
at
edu.internet2.middleware.grouper.attr.value.AttributeValueDelegate.assignValue(AttributeValueDelegate.java:74)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType.updateLoaderMetadataForGroupsNoLongerInLoader(GrouperLoaderType.java:2078)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType.syncGroupList(GrouperLoaderType.java:1616)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:629)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:465)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:345)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.hibernate.StaleObjectStateException: Row was updated or
deleted by another transaction (or unsaved-value mapping was incorrect) :
[edu.internet2.middleware.grouper.attr.value.AttributeAssignValue#ae30384e609c4a3c960c60dc64f1d3e9]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2282)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3199)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3433)
at
org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:98)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:560)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:434)
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1224)
at
edu.internet2.middleware.grouper.hibernate.HibUtils.evict(HibUtils.java:399)
at
edu.internet2.middleware.grouper.hibernate.HibUtils.evict(HibUtils.java:355)
at
edu.internet2.middleware.grouper.hibernate.ByHql.uniqueResult(ByHql.java:299)
at
edu.internet2.middleware.grouper.hibernate.ByHqlStatic$1.callback(ByHqlStatic.java:349)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
... 37 more
2018-02-14 14:30:01,487: [DefaultQuartzScheduler_Worker-7] ERROR
GrouperLoaderJob.execute(348) - - Error running up job
edu.internet2.middleware.grouper.exception.GrouperStaleObjectStateException:
Problem in HibernateSession: HibernateSession (71c54da6): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Hook
GrouperAttributeAssignValueRulesConfigHook.attributeAssignValuePostDelete id:
TNXQ87ZA,
Problem in HibernateSession: HibernateSession (45a8059b): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Problem in HibernateSession: HibernateSession (3b7c7102): new, notReadonly,
READ_WRITE_NEW, notActiveTransaction, session (1664ee3e)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:581)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:710)
at
edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:340)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefNameDAO.findByNameSecure(Hib3AttributeDefNameDAO.java:159)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefNameDAO.findByNameSecure(Hib3AttributeDefNameDAO.java:182)
at
edu.internet2.middleware.grouper.attr.finder.AttributeDefNameFinder.findByName(AttributeDefNameFinder.java:346)
at
edu.internet2.middleware.grouper.rules.RuleUtils.ruleAttributeDefName(RuleUtils.java:340)
at
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook$1.callback(GrouperAttributeAssignValueRulesConfigHook.java:118)
at
edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
at
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook.validateRule(GrouperAttributeAssignValueRulesConfigHook.java:108)
at
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook.attributeAssignValuePostDelete(GrouperAttributeAssignValueRulesConfigHook.java:67)
at sun.reflect.GeneratedMethodAccessor462.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4163)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.executeHook(GrouperHooksUtils.java:493)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:293)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:232)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:158)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValue.onPostDelete(AttributeAssignValue.java:1117)
at
edu.internet2.middleware.grouper.hibernate.ByObject.delete(ByObject.java:125)
at
edu.internet2.middleware.grouper.hibernate.ByObjectStatic$10.callback(ByObjectStatic.java:675)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
at
edu.internet2.middleware.grouper.hibernate.ByObjectStatic.delete(ByObjectStatic.java:662)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeAssignValueDAO.delete(Hib3AttributeAssignValueDAO.java:190)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValue$1.callback(AttributeAssignValue.java:501)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValue.saveOrUpdate(AttributeAssignValue.java:466)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.internal_assignValue(AttributeAssignValueDelegate.java:260)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.assignValue(AttributeAssignValueDelegate.java:217)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.assignValue(AttributeAssignValueDelegate.java:324)
at
edu.internet2.middleware.grouper.attr.value.AttributeValueDelegate.assignValue(AttributeValueDelegate.java:74)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType.updateLoaderMetadataForGroupsNoLongerInLoader(GrouperLoaderType.java:2078)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType.syncGroupList(GrouperLoaderType.java:1616)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:629)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:465)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:345)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.hibernate.StaleObjectStateException: Row was updated or
deleted by another transaction (or unsaved-value mapping was incorrect) :
[edu.internet2.middleware.grouper.attr.value.AttributeAssignValue#ae30384e609c4a3c960c60dc64f1d3e9]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2282)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3199)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3433)
at
org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:98)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:560)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:434)
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1224)
at
edu.internet2.middleware.grouper.hibernate.HibUtils.evict(HibUtils.java:399)
at
edu.internet2.middleware.grouper.hibernate.HibUtils.evict(HibUtils.java:355)
at
edu.internet2.middleware.grouper.hibernate.ByHql.uniqueResult(ByHql.java:299)
at
edu.internet2.middleware.grouper.hibernate.ByHqlStatic$1.callback(ByHqlStatic.java:349)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
... 37 more
2018-02-14 14:30:01,491: [DefaultQuartzScheduler_Worker-7] INFO
JobRunShell.run(207) - - Job
DEFAULT.SQL_GROUP_LIST__community:loader:admin:administrator_loader_job__140d0606e0d04fb38903725f0edf05fb
threw a JobExecutionException:
org.quartz.JobExecutionException:
edu.internet2.middleware.grouper.exception.GrouperStaleObjectStateException:
Problem in HibernateSession: HibernateSession (71c54da6): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Hook
GrouperAttributeAssignValueRulesConfigHook.attributeAssignValuePostDelete id:
TNXQ87ZA,
Problem in HibernateSession: HibernateSession (45a8059b): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Problem in HibernateSession: HibernateSession (3b7c7102): new, notReadonly,
READ_WRITE_NEW, notActiveTransaction, session (1664ee3e) [See nested
exception:
edu.internet2.middleware.grouper.exception.GrouperStaleObjectStateException:
Problem in HibernateSession: HibernateSession (71c54da6): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Hook
GrouperAttributeAssignValueRulesConfigHook.attributeAssignValuePostDelete id:
TNXQ87ZA,
Problem in HibernateSession: HibernateSession (45a8059b): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Problem in HibernateSession: HibernateSession (3b7c7102): new, notReadonly,
READ_WRITE_NEW, notActiveTransaction, session (1664ee3e)]
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:350)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by:
edu.internet2.middleware.grouper.exception.GrouperStaleObjectStateException:
Problem in HibernateSession: HibernateSession (71c54da6): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Hook
GrouperAttributeAssignValueRulesConfigHook.attributeAssignValuePostDelete id:
TNXQ87ZA,
Problem in HibernateSession: HibernateSession (45a8059b): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (1664ee3e),
Problem in HibernateSession: HibernateSession (3b7c7102): new, notReadonly,
READ_WRITE_NEW, notActiveTransaction, session (1664ee3e)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:581)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:710)
at
edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:340)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefNameDAO.findByNameSecure(Hib3AttributeDefNameDAO.java:159)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefNameDAO.findByNameSecure(Hib3AttributeDefNameDAO.java:182)
at
edu.internet2.middleware.grouper.attr.finder.AttributeDefNameFinder.findByName(AttributeDefNameFinder.java:346)
at
edu.internet2.middleware.grouper.rules.RuleUtils.ruleAttributeDefName(RuleUtils.java:340)
at
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook$1.callback(GrouperAttributeAssignValueRulesConfigHook.java:118)
at
edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
at
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook.validateRule(GrouperAttributeAssignValueRulesConfigHook.java:108)
at
edu.internet2.middleware.grouper.hooks.examples.GrouperAttributeAssignValueRulesConfigHook.attributeAssignValuePostDelete(GrouperAttributeAssignValueRulesConfigHook.java:67)
at sun.reflect.GeneratedMethodAccessor462.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4163)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.executeHook(GrouperHooksUtils.java:493)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:293)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:232)
at
edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:158)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValue.onPostDelete(AttributeAssignValue.java:1117)
at
edu.internet2.middleware.grouper.hibernate.ByObject.delete(ByObject.java:125)
at
edu.internet2.middleware.grouper.hibernate.ByObjectStatic$10.callback(ByObjectStatic.java:675)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
at
edu.internet2.middleware.grouper.hibernate.ByObjectStatic.delete(ByObjectStatic.java:662)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeAssignValueDAO.delete(Hib3AttributeAssignValueDAO.java:190)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValue$1.callback(AttributeAssignValue.java:501)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValue.saveOrUpdate(AttributeAssignValue.java:466)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.internal_assignValue(AttributeAssignValueDelegate.java:260)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.assignValue(AttributeAssignValueDelegate.java:217)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.assignValue(AttributeAssignValueDelegate.java:324)
at
edu.internet2.middleware.grouper.attr.value.AttributeValueDelegate.assignValue(AttributeValueDelegate.java:74)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType.updateLoaderMetadataForGroupsNoLongerInLoader(GrouperLoaderType.java:2078)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType.syncGroupList(GrouperLoaderType.java:1616)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:629)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:465)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:345)
... 2 more
Caused by: org.hibernate.StaleObjectStateException: Row was updated or
deleted by another transaction (or unsaved-value mapping was incorrect) :
[edu.internet2.middleware.grouper.attr.value.AttributeAssignValue#ae30384e609c4a3c960c60dc64f1d3e9]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2282)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3199)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3433)
at
org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:98)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:560)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:434)
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1224)
at
edu.internet2.middleware.grouper.hibernate.HibUtils.evict(HibUtils.java:399)
at
edu.internet2.middleware.grouper.hibernate.HibUtils.evict(HibUtils.java:355)
at
edu.internet2.middleware.grouper.hibernate.ByHql.uniqueResult(ByHql.java:299)
at
edu.internet2.middleware.grouper.hibernate.ByHqlStatic$1.callback(ByHqlStatic.java:349)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
... 37 more



Archive powered by MHonArc 2.6.19.

Top of Page