Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2174

endless loop in change log temp processor

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0.patch, 2.4.1
    • None
    • None

    Description

      edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession (a4a7b9e): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (68f3b2eb),
      Exception in uniqueResult: (class java.lang.Long), ByHqlStatic, query: 'select max(sequenceNumber) from ChangeLogEntryEntity', cacheable: null, cacheRegion: null, tx type: null, tx type: null,
      Exception in save: edu.internet2.middleware.grouper.changeLog.ChangeLogEntry, edu.internet2.middleware.grouper.hibernate.ByObject@be4abfa,
      Problem in HibernateSession: HibernateSession (bf6229e): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (68f3b2eb),
      Exception in save: edu.internet2.middleware.grouper.changeLog.ChangeLogEntry, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ChangeLogEntryEntity, tx type: null,
      Exception in save: edu.internet2.middleware.grouper.pit.PITMembership, edu.internet2.middleware.grouper.hibernate.ByObject@313c8aca,
      Problem in HibernateSession: HibernateSession (6cf66a0d): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (68f3b2eb),
      Exception in saveOrUpdate: edu.internet2.middleware.grouper.pit.PITMembership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: null, tx type: null,
      Problem in HibernateSession: HibernateSession (2ddfff6c): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (68f3b2eb)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:605)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:711)
      at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:356)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogEntry.maxSequenceNumber(ChangeLogEntry.java:888)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogEntry.nextSequenceNumber(ChangeLogEntry.java:865)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogEntry.onPreSave(ChangeLogEntry.java:849)
      at edu.internet2.middleware.grouper.hibernate.ByObject.saveBatch(ByObject.java:264)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$8.callback(ByObjectStatic.java:548)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:701)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.saveBatch(ByObjectStatic.java:535)
      at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3ChangeLogEntryDAO.saveBatch(Hib3ChangeLogEntryDAO.java:62)
      at edu.internet2.middleware.grouper.pit.PITMembership.onPreSave(PITMembership.java:581)
      at edu.internet2.middleware.grouper.hibernate.ByObject.saveOrUpdate(ByObject.java:375)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$5.callback(ByObjectStatic.java:376)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:701)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.saveOrUpdate(ByObjectStatic.java:363)
      at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3PITMembershipDAO.saveOrUpdate(Hib3PITMembershipDAO.java:48)
      at edu.internet2.middleware.grouper.pit.PITMembership.save(PITMembership.java:324)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.processPrivilegeAdd(ChangeLogTempToEntity.java:1173)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.access$1900(ChangeLogTempToEntity.java:70)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity$1.callback(ChangeLogTempToEntity.java:189)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:701)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.convertRecords(ChangeLogTempToEntity.java:107)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.convertRecords(ChangeLogTempToEntity.java:316)

      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.convertRecords(ChangeLogTempToEntity.java:316)

      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.convertRecords(ChangeLogTempToEntity.java:316)

      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.convertRecords(ChangeLogTempToEntity.java:316)

      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.convertRecords(ChangeLogTempToEntity.java:316)

      ...

      at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.convertRecords(ChangeLogTempToEntity.java:316)

      Caused by: java.lang.StackOverflowError
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at sun.misc.URLClassPath.getResource(URLClassPath.java:249)
      at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1334)
      at java.io.File.exists(File.java:819)
      at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
      at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
      at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl$AggregatedClassLoader.findClass(ClassLoaderServiceImpl.java:209)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:348)
      at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:226)
      at org.hibernate.internal.SessionFactoryImpl.getImplementors(SessionFactoryImpl.java:957)
      at org.hibernate.hql.internal.QuerySplitter.concreteQueries(QuerySplitter.java:118)
      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:99)
      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:76)
      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:150)
      at org.hibernate.internal.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:302)
      at org.hibernate.internal.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:240)
      at org.hibernate.internal.SessionImpl.createQuery(SessionImpl.java:1894)
      at edu.internet2.middleware.grouper.hibernate.ByHql.attachQueryInfo(ByHql.java:512)
      at edu.internet2.middleware.grouper.hibernate.ByHql.uniqueResult(ByHql.java:279)
      at edu.internet2.middleware.grouper.hibernate.ByHqlStatic$1.callback(ByHqlStatic.java:365)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:701)
      at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:356)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogEntry.maxSequenceNumber(ChangeLogEntry.java:888)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogEntry.nextSequenceNumber(ChangeLogEntry.java:865)
      at edu.internet2.middleware.grouper.changeLog.ChangeLogEntry.onPreSave(ChangeLogEntry.java:849)
      at edu.internet2.middleware.grouper.hibernate.ByObject.saveBatch(ByObject.java:264)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$8.callback(ByObjectStatic.java:548)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:701)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.saveBatch(ByObjectStatic.java:535)
      at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3ChangeLogEntryDAO.saveBatch(Hib3ChangeLogEntryDAO.java:62)
      at edu.internet2.middleware.grouper.pit.PITMembership.onPreSave(PITMembership.java:581)
      at edu.internet2.middleware.grouper.hibernate.ByObject.saveOrUpdate(ByObject.java:375)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$5.callback(ByObjectStatic.java:376)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:701)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.saveOrUpdate(ByObjectStatic.java:363)
      at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3PITMembershipDAO.saveOrUpdate(Hib3PITMembershipDAO.java:48)
      at edu.internet2.middleware.grouper.pit.PITMembership.save(PITMembership.java:324)

      Attachments

        Activity

          People

            shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist