Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] error running CHANGE_LOG_changeLogTempToChangeLog

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] error running CHANGE_LOG_changeLogTempToChangeLog

Chronological Thread 
  • From: Julio Polo <>
  • To: Shilen Patel <>
  • Cc: Baron Fujimoto <>, Grouper-Users <>
  • Subject: Re: [grouper-users] error running CHANGE_LOG_changeLogTempToChangeLog
  • Date: Mon, 15 Oct 2018 10:57:30 -1000
  • Ironport-phdr: 9a23:ZXuAGxbs50wSnnOSxb8WMYD/LSx+4OfEezUN459isYplN5qZoMS7bnLW6fgltlLVR4KTs6sC17KJ9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa/bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJWCNBDIGzYYsBAeQCIOhWsZXyqkAUoheiHwShHv/jxiNKi3LwwKY00/4hEQbD3AE4G9wOrXDUrNTyNKwPS+61y63IzTLeZP5R2zf99YzIchEmofyXXbJ/a8TQxlMuFwPElFmft5HqPy6M2+kLrmOV7PJgWPqxh2Mmtw18oD2ixskvh4bSmo4Yz1/J+CZ4zYs6INC0VlJ3bNuhHZdNqS2VK417Sd44TW5yoiY10LgGtIa7fCcUzJQnwAbSa/mdfIiJ5hLvTeeRIStliH58d7Ozmgi+/lS6xu3zUcm011lKri5bndXWqn8N0BnT5tCGSvt74EihxS6C2x7S5+1YI005kKTbJp06zbIsk5cevkfOEy75lUjzkqOaakAp9+215+j5frrqvpqcOJV1igH6PKQugMu/AeEgPwgMQmib/eW81Lr48E35WrpLgOc5kqjYsJzAO8sUu7O5DxdP0ok/8xa/Eyum0NMAkHkINlJFfw+Hj5D3NFHUOfz4EOy/jEq2kDdw3P3GOrzhAo7RLnjYjrvtZ7d960hAyAUt19Bf4YxbCq0fLP7pRED+qcHYXVcFNFmPw+fjBdM17ooCVGbHVrSZMafft3eE++EiZeSAedlGliz6Lq0H+vrvijcBnlsaNf2rwJ8Wb1i4F+tvIkTfbHbx1IRSWVwWtxYzGbS5wGaJViReMjPrB/ox

I'm Baron's colleague, and I've witnessed the empty id issue in our version of Grouper (2.2.2).  It happens when we press return instead of tab to add a member in the new UI.  A few seconds after that, Grouper crashes and we are left with a membership in the group where the subject id is empty. We delete those empty-subject memberships as we encounter them, and that's probably why you can't find it now. 

If I'm correctly understanding the issue here, how do we delete this empty-subject-id entry from the change log so that it doesn't cause problems when running "CHANGE_LOG_changeLogTempToChangeLog"?


On Mon, Oct 15, 2018 at 10:42 AM Shilen Patel <> wrote:
How about:  select * from grouper_members where id = '069e366f7a4e4803ba9604fea154c7b2';


- Shilen

On 10/15/18, 4:40 PM, "Baron Fujimoto" <> wrote:

    It's possible the error is that old. This is actually a test system so some of this type of housekeeping is run very irregularly or on a perceived as-needed basis. IIRC, this is also supposed to be handled by the grouper loader, which we also, admittedly, don't run regularly. We don't use the loader for provisioning, and the current documentation doesn't mention changelog maintenance I think.

    I'm not sure how the entry was originally introduced, but perhaps it was due to a known bug in the UI (at least for our version) where you press return instead of tab to choose a person when adding a member.

    I'm not sure what to look for for "anything odd", but the following query yields no results:
    select * from grouper_members where subject_id = "069e366f7a4e4803ba9604fea154c7b2";

    On Sun, Oct 14, 2018 at 03:10:08AM +0000, Shilen Patel wrote:
    >I believe that change log is for a member add.  There are a couple of things that seem odd.  First, the created time on that is July 16 2017.  Have you been having this error for over a year?  Second, the error suggests that a member was added without a subject id, which shouldn’t be possible.  The member id (in the grouper_members table) should be the string01 in the error.  Perhaps take a look and see if there’s anything odd there? 
    >- Shilen
    >On 10/12/18, 11:22 PM, " on behalf of Baron Fujimoto" < on behalf of > wrote:
    >    I feel like this may have come up before, but my google-fu is coming up short.
    >    When I try the following from gsh, I'm encountering the following error for one of our instances:
    >    gsh 0% loaderRunOneJob("CHANGE_LOG_changeLogTempToChangeLog");
    >    // Error: unable to evaluate command: Sourced file: inline evaluation of: ``loaderRunOneJob("CHANGE_LOG_changeLogTempToChangeLog");'' : Error invoking compiled command: : Error in compiled command: java.lang.RuntimeException: java.lang.RuntimeException: subjectId is empty for change log entry: ChangeLogEntry: changeLogTypeId: '9bb887a5830e427086c951e4b93bda62', contextId: '', createdOnDb: '1500250492727000', hibernateVersionNumber: '-1', string01: '069e366f7a4e4803ba9604fea154c7b2', string02: '', string03: 'LDAP', string04: 'person', string05: '', string06: '', string07: '', string08: '', string09: '', string10: '', string11: '', string12: '',
    >    Problem in HibernateSession: HibernateSession (60a7e509): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (2b916808)
    >    This is Grouper 2.2.2. Any suggestions would be appreciated.

    Baron Fujimoto <> :: UH Information Technology Services
    minutas cantorum, minutas balorum, minutas carboratum desendus pantorum

Archive powered by MHonArc 2.6.19.

Top of Page