Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Recent patch broke ability to delete groups

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Recent patch broke ability to delete groups


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: " Mailing List" <>
  • Subject: [grouper-users] RE: Recent patch broke ability to delete groups
  • Date: Fri, 13 Jan 2017 19:14:30 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Importance: high
  • Ironport-phdr: 9a23:5Km8uB+gCvI6W/9uRHKM819IXTAuvvDOBiVQ1KB+0eoVIJqq85mqBkHD//Il1AaPBtSHrakewLOP4ujJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMizexe71/IAu5oQnMq8UbhZZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLulSwJNSM28HvPh8JwkqxVvQ6hqB9lzYDaY4+VOvhxfqLBctwVXmdORNpdWzBbD4+gc4cCDewMNvtYoYnnoFsOqAOzCQeuCuLvyz5HmGX20bUn2Ok/EQHGxg0gH8kAvH/Jq9j1MbsdUeC1zajJ0zrDdehb2Tbm6IfUaBwhvOmMUqx2ccrX00UgCR7KjkiJpIHjIjib2OMNs22B4OphU+Kik3crpx91rzS3xscslpXJhpoIxlzZ7SV52oE1JcG/SEFnZt6kFIFctyOAOItoWMwuW2BouCAmyrIYo567ejYFyIg5yxLFdfOIbpWI7gr/VOaROzd3mmhqd6+lixao7EigzPXwVsmo0FZWtipFicfDtmoT1xzX9MeHVuFx/kW71jaRzQ/f8vlEIVozlarcJZ4h2rkwlpsVsUTfBCP5hEL2jKqOekUk5uio9/znbqj7qp+ELY90jR3xPbo1msykBuQ4KBICX2qB9uSizrLv5VD5QKlLjv0yiKXZto7VJdgDqq6hGQ9V1YEj6xinDzeh0dQYm2UHI0xeeBKckYfpPU3OIPHiAve7mFSgiitkx/fDPrDnH57DLWDDna//cbln90JQ1Q8+wc1C655JD7wBLv3+VlPtuNHdDBI2LQO5z/jiBdh4yI8SRX6DDreEPK7crVOE/OYiL/SWaIMLpTrwL+Ip6+PsgHI4n1IWYLOn0oENaH+iG/RrO0WZbmTogtcGCWoEphYzQuv2hFGfSDJeenS9U7wl6jE8E42pE53PRoewgLydxyi7GYBWZmZbBVyWCXfobYKEW+sSZy2OPs9hkzsEVb67R48myBGuqAv6y71gLurX4CEXqZXj1N1t6+3SkxE96yB0AtyD326XU214g2YFSyIr0KxipEF9xFiO3bRkj/FdF9Fc+fxEXhk/OJPZ0eB2F8z+VhrEftiTSVamRtumASs2TtI029IOZlpyG9WijxHCwSWqGaQYl72QBJMo6K7cwmDxKNh7y3bAzqUukUQpQtZXOW28mqF/7xTTB5LOk0iBmKaqb6Mc3DPV9Gid12qCpVxYUBVuXqXfRnASfU/WrdXi5kPeVL+iF64rMgpHyc6eNKRKcNvpgktaRPv9ItjRfX++m3rjTSqPk/mDdo33Y2gHmTjGBVIfuwEV4XucMwUiXGGsr3+WKTVvEVPpbAvI8PJi4jvvQVUz0hmHdQh8zLev4TYUg+CRUfUewuhCtSs8/WZaBlG4ipj2GsiNvU4pV6VGYMh3qANC3mLIpQFnFp27JOZ/nlMYdUJ6s164hEY/MZlJjcV/9CBi9wF1M6/NiF4=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

If you have implemented patch #39, you should either revert it, or you should wait until this weekend when I make a patch that fixes that patch.

 

https://spaces.internet2.edu/display/Grouper/v2.3+Release+Notes

 

https://bugs.internet2.edu/jira/browse/GRP-1439

 

Thanks

Chris

 

Ps. I need to remember that return types cant change in methods for patches.  This will cause unit to run successfully but linking errors against compiled exists classes… ugh…

 

From: John Gasper [mailto:]
Sent: Thursday, January 12, 2017 1:58 PM
To: Hyzer, Chris <>;
Subject: Re: Recent patch broke ability to delete groups

 

Sorry for the delay:

 

2017-01-12 18:56:52,396: [http-8080-1] WARN  UiV2Group.groupDeleteSubmit(1597) -  - Error deleting group: 'banderson'/'person'/'ldap', Group[name=loader:allUsers,uuid=63275e88651342c5869768c379ac72c2]

edu.internet2.middleware.grouper.exception.GroupDeleteException: Problem in HibernateSession: HibernateSession (5aa63c9): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (757d2406),

Problem in HibernateSession: HibernateSession (31714dcb): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (757d2406), stem name: loader:allUsers, group extension: allUsers, group dExtension: All Users, uuid: 63275e88651342c5869768c379ac72c2, ,

Problem in HibernateSession: HibernateSession (20c7fc77): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (757d2406)

        at edu.internet2.middleware.grouper.Group$6.callback(Group.java:1838)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)

        at edu.internet2.middleware.grouper.Group.delete(Group.java:1759)

        at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group.groupDeleteSubmit(UiV2Group.java:1582)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4112)

        at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4063)

        at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:291)

        at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:163)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:110)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1025)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

        at java.lang.Thread.run(Thread.java:745)

Caused by: edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession (5aa63c9): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (757d2406),

Problem in HibernateSession: HibernateSession (31714dcb): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (757d2406)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:604)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:710)

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupSetDAO.deleteSelfByOwnerGroup(Hib3GroupSetDAO.java:412)

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO$1.callback(Hib3GroupDAO.java:192)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO.delete(Hib3GroupDAO.java:174)

        at edu.internet2.middleware.grouper.Group$6.callback(Group.java:1812)

        ... 32 more

Caused by: java.lang.NoSuchMethodError: edu.internet2.middleware.grouper.hibernate.ByHql.executeUpdate()V

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupSetDAO$4.callback(Hib3GroupSetDAO.java:419)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)

        ... 37 more

 

-- 

John Gasper
IAM Consultant
Unicon, Inc.
PGP/GPG Key: 0xbafee3ef

 

 

From: "Hyzer, Chris" <>
Date: Wednesday, January 11, 2017 at 12:57 PM
To: John Gasper <>, "" <>
Subject: RE: Recent patch broke ability to delete groups

 

Ugh, sorry, ok, I will fix this asap.  Note, if you can provide the stack in the logs that would be helpful.

 

Thanks

Chris

 

From: [] On Behalf Of John Gasper
Sent: Wednesday, January 11, 2017 3:22 PM
To:
Subject: [grouper-dev] Recent patch broke ability to delete groups

 

Hi devs,

 

I think a patch created in the last week or so has broken the ability to delete groups from Grouper: On a clean (via completely automated build), I get:

 

// Error: unable to evaluate command: Sourced file: inline evaluation of: ``obliterateStem("loader", false, false);'' : Error invoking compiled command: : Error in compiled command: edu.internet2.middleware.grouper.exception.GroupDeleteException: Problem in HibernateSession: HibernateSession (1cef7921): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (2df9745e),

Problem in HibernateSession: HibernateSession (5a095dd5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (2df9745e), stem name: loader:coursesLoader, group extension: coursesLoader, group dExtension: Course Loader, uuid: 19469ee761ca4acc98d3e37f5c746b48, ,

Problem in HibernateSession: HibernateSession (eff42fe): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (2df9745e),

Problem in HibernateSession: HibernateSession (20727fd4): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (2df9745e)

 

My script uses obliterateStem, but regular UI based group deletes fail as well.

 

This also is manifesting on Grouper Demo (http://grouperdemo.internet2.edu/)

 

Thanks,

John

 

-- 

John Gasper
IAM Consultant
Unicon, Inc.
PGP/GPG Key: 0xbafee3ef

 

 


This email has been scanned for spam and viruses by Proofpoint Essentials. Click here to report this email as spam.




Archive powered by MHonArc 2.6.19.

Top of Page