Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.4.0
-
None
Description
2019-09-04 13:08:02,378: [DefaultQuartzScheduler_Worker-1] ERROR ChangeLogHelper.processRecords(286) - Did not get all the way through the batch! 36306086 != 36306089
|
2019-09-04 13:08:02,378: [DefaultQuartzScheduler_Worker-1] ERROR GrouperLoaderJob.runJob(485) - Error on job: CHANGE_LOG_consumer_grouperRules
|
java.lang.RuntimeException: Error in loader job: null, check logs: Error: Error processing record 36306087, sequenceNumber: 36306087, edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession (6762c55e): new, readonly, READONLY_NEW, notActiveTransaction, session (7cdce0e8),
|
Exception in list: (class [Ljava.lang.Object;), ByHqlStatic, query: 'select distinct aa_type, aa_attr, adn, aav from AttributeAssign aa_type, AttributeAssign aa_attr, AttributeDefName adn, AttributeAssignValue aav where aa_attr.attributeDefNameId = adn.id and aa_attr.ownerAttributeAssignId = aa_type.id and aav.attributeAssignId = aa_attr.id and aa_type.attributeDefNameId = :attributeTypeDefNameId and aa_attr.enabledDb = 'T' and aa_type.enabledDb = 'T' order by aa_type.id ', cacheable: true, cacheRegion: edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeAssignDAO.FindByAttributeTypeDefNameId, tx type: null, tx type: nullBind var[0]: 'Param (class java.lang.String): 'attributeTypeDefNameId'->'55241be43fc942498005ae3563b7b73d',
|
at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:589)
|
at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:711)
|
at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.list(ByHqlStatic.java:407)
|
at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.listSet(ByHqlStatic.java:458)
|
at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeAssignDAO.findByAttributeTypeDefNameId(Hib3AttributeAssignDAO.java:2818)
|
at edu.internet2.middleware.grouper.rules.RuleEngine.allRulesAttributeAssignValueContainers(RuleEngine.java:500)
|
at edu.internet2.middleware.grouper.rules.RuleEngine$1.callback(RuleEngine.java:212)
|
at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
|
at edu.internet2.middleware.grouper.rules.RuleEngine.ruleEngine(RuleEngine.java:208)
|
at edu.internet2.middleware.grouper.rules.RuleEngine.fireRule(RuleEngine.java:397)
|
at edu.internet2.middleware.grouper.changeLog.esb.consumer.RuleConsumer$RuleEventType$1.processEvent(RuleConsumer.java:74)
|
at edu.internet2.middleware.grouper.changeLog.esb.consumer.RuleConsumer.processChangeLogEntries(RuleConsumer.java:229)
|
at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:245)
|
at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$5.runJob(GrouperLoaderType.java:638)
|
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.ObjectNotFoundException: No row with the given identifier exists: [edu.internet2.middleware.grouper.attr.assign.AttributeAssign#8d95c6cbd4274ccdb0f52ab3179efd44]
|
at org.hibernate.boot.internal.StandardEntityNotFoundDelegate.handleEntityNotFound(StandardEntityNotFoundDelegate.java:28)
|
at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)
|
at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:278)
|
at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:121)
|
at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:89)
|
at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1129)
|
at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1022)
|
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:639)
|
at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:252)
|
at org.hibernate.type.TypeHelper.assemble(TypeHelper.java:97)
|
at org.hibernate.cache.internal.StandardQueryCache.assembleCachedResult(StandardQueryCache.java:211)
|
at org.hibernate.cache.internal.StandardQueryCache.get(StandardQueryCache.java:190)
|
at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2541)
|
at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2449)
|
at org.hibernate.loader.Loader.list(Loader.java:2421)
|
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:501)
|
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:371)
|
at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:216)
|
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1326)
|
at org.hibernate.internal.QueryImpl.list(QueryImpl.java:87)
|
at edu.internet2.middleware.grouper.hibernate.ByHql.list(ByHql.java:380)
|
at edu.internet2.middleware.grouper.hibernate.ByHqlStatic$2.callback(ByHqlStatic.java:417)
|
at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:701)
|
... 16 more
|
Did not get all the way through the batch! 36306086 != 36306089
|
at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:474)
|
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)
|
|
The 8d95c6cbd4274ccdb0f52ab3179efd44 guid referenced in the error is not in AttributeAssign; it's the source_id in grouper_pit_attribute_assign, which has an end date.