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: Tue, 17 Jan 2017 07:59:22 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Importance: high
  • Ironport-phdr: 9a23:hUSc5hbprVVVPNxXfn98TmX/LSx+4OfEezUN459isYplN5qZps66ZR7h7PlgxGXEQZ/co6odzbGH7+a7BydZuMrJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBq7oR/fu8QXjoduN7s9xxTUqXZUZupawn9lK0iOlBjm/Mew+5Bj8yVUu/0/8sNLTLv3caclQ7FGFToqK2866tHluhnFVguP+2ATUn4KnRpSAgjK9w/1U5HsuSbnrOV92S2aPcrrTbAoXDmp8qlmRAP0hCoBKjU09nzchM5tg6JBuB+vpwJxzZPIYI6WLvRwcKDTfd0bRWVdUclcTDZODp+gY4YVE+YNIeRVoo/grFUOtxu+AgysCfvhxjFKhn733LM10/45HQrbwgEgH8gOsHXPrNn7KawfVuW1w7XIzTTDbvJZxy395ZPJchA6vf6AR69wcdLPxkkpEQPJlEufppH4Pz6M0OkGrmaV7+1lVe21im4nrRl8riGxysookoXJhp4Vykzc9Slk3Yo1Pce4SElnYd6jDJRQsCWaO5F0Qsw4XWFnoj42yrwAuZ6nYicK0pInyADDa/CZaYSH/A/sVPuJLTdkhHJlYqywiAyv/kS60O38S8+03E5KripZjtnMrmsN2ALJ6siZTvty4Fuh1SyN1w/J9OFLO1g4lbLBK54mxb4wmIITsUPCHi/whEX6lrOZdkIh+uSw6+TnfqnmpoeBO4NpkgH+KKMuldChDuQjKQgOWHKb9f6+1LL54032Wq1GjuAqkqnYtJDWP8IbqbClAwNNyoYj8RG/DzCo0NQAmnkHLVRFeA6ZgIjyIFHBPvb4Deu+g1u2lDdr3OrKMaHmApXIKHXIjbTvfa5l5kJC0gU/0c1T6pdJBr0cPf7+X0HxudPEAhMlNgG5wfjoBdpn2Y4bXG+DHLOVPL7KvVOV6O8jP/OAaYsItDrnNfQp+vrjgWUklVIffKSk24YcZmqiEfR8OUqZZGLhgtcfHmcOuQozVPTkhUGFXzJPaXu+Rr8x6TMlBI6/CofMXZ6ijKaG3CemAp1ZfWdGCk2KEXj1bYmEQ+0MaCWOIsB/jjMESbmhS4gn1R20sw/61qZnLu7T+i0ftpLvzsR65+rWlR0q9Dx0CdqS032VQm1qhGwEWyI60aVirUBg11uO1KZ4jvNEGdBP4v5EUBk1OJHGwOF/Dt3+RB7NcsqRRFajWNqmADUxTtwrw98JZkZwA9CigQzD3yuqAr4aiaaLCYc18qLHw3f9Pdt9y27Y26kniVkqWNVAOnC7hqJn7QjcG5bJk1mFl6atbakc0zTN9GCezWqWok5YShd8UbjeXX8BfEvWts/05kfDT7+1FbQnKRVNxdSDKqtMdt3mk09GRPH9N9TCfW69gXm/CguVxuDEUI2/MWoH2zjFBVJBjhse522uNA4iCz2nrn6ESjFiCBrKakLo8O9x4Fe6VVN+h1WFdUp8z7evvwMOiOaHY/IVwr8evio98XN5EEvrjPzMDN/V7SpwbqhGJZsW4E1GziiR4wl2Po2yIrpKh0UVNRlvskXokRh7F9MTwoARsHo2wV8qeuqj21RbembA0A==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

You can apply 2.3.0 API patch #42 to fix this issue.  It is deployed and tested on the demo server. 

 

Anyone with patch #39 installed MUST install patch #42 ASAP (unless you want to revert #39)

 

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

 

Thanks

Chris

 

From: Hyzer, Chris
Sent: Friday, January 13, 2017 2:15 PM
To: Mailing List <>
Subject: RE: Recent patch broke ability to delete groups
Importance: High

 

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 []
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