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

incremental loader sometimes adds memberships that exist

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.53
    • None
    • None

    Description

      java.lang.RuntimeException: edu.internet2.middleware.grouper.exception.MemberAddAlreadyExistsException: membership already exists,java.lang.RuntimeException: edu.internet2.middleware.grouper.exception.MemberAddAlreadyExistsException: membership already exists,
      Problem in HibernateSession: HibernateSession (53a893a9): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (7bf1e870), membership: group: ref:Faculty_Staff:Appt_DeptID:deptid_481403, subject: 039-0909-20080606191413117-325, field: members, uuid: null, startDate: null, endDate: null,
      , group name: ref:Faculty_Staff:Appt_DeptID:deptid_481403, subject: Subject id: 039-0909-20080606191413117-325, sourceId: mcommPeople, field: members,
      Problem in HibernateSession: HibernateSession (71e57dc6): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (7bf1e870),
      12 callables out of problem count 12 had problems running outside of threads!
       at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.processOneSQLRow(GrouperLoaderIncrementalJob.java:922)
       at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob$1.callLogic(GrouperLoaderIncrementalJob.java:326)
       at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob$1.callLogic(GrouperLoaderIncrementalJob.java:321)
       at edu.internet2.middleware.grouper.util.GrouperCallable.tryCallablesWithProblems(GrouperCallable.java:63)
       at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.runJob(GrouperLoaderIncrementalJob.java:399)
       at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.execute(GrouperLoaderIncrementalJob.java:98)
       at edu.internet2.middleware.grouper.app.loader.GrouperDaemonJob.execute(GrouperDaemonJob.java:57)
       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.MemberAddAlreadyExistsException: membership already exists,
      Problem in HibernateSession: HibernateSession (53a893a9): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (7bf1e870), membership: group: ref:Faculty_Staff:Appt_DeptID:deptid_481403, subject: 039-0909-20080606191413117-325, field: members, uuid: null, startDate: null, endDate: null,
      , group name: ref:Faculty_Staff:Appt_DeptID:deptid_481403, subject: Subject id: 039-0909-20080606191413117-325, sourceId: mcommPeople, field: members,
      Problem in HibernateSession: HibernateSession (71e57dc6): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (7bf1e870)
       at edu.internet2.middleware.grouper.Membership.internal_addImmediateMembership(Membership.java:1296)
       at edu.internet2.middleware.grouper.Group$4.callback(Group.java:1608)
       at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:703)
       at edu.internet2.middleware.grouper.Group.internal_addMember(Group.java:1580)
       at edu.internet2.middleware.grouper.Group.internal_addMember(Group.java:1530)
       at edu.internet2.middleware.grouper.Group.addMember(Group.java:1111)
       at edu.internet2.middleware.grouper.Group.addMember(Group.java:1030)
       at edu.internet2.middleware.grouper.Group.addMember(Group.java:993)
       at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.handleGroupList(GrouperLoaderIncrementalJob.java:1004)
       at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.processOneSQLRow(GrouperLoaderIncrementalJob.java:914)
       ... 8 more
      Caused by: edu.internet2.middleware.grouper.exception.MembershipAlreadyExistsException: membership already exists,
      Problem in HibernateSession: HibernateSession (53a893a9): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (7bf1e870)
       at edu.internet2.middleware.grouper.Membership.onPreSave(Membership.java:1805)
       at edu.internet2.middleware.grouper.hibernate.ByObject.save(ByObject.java:274)
       at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$7.callback(ByObjectStatic.java:494)
       at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSess 

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist