Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] Re: Recent patch broke ability to delete groups

Subject: Grouper Developers Forum

List archive

[grouper-dev] Re: Recent patch broke ability to delete groups


Chronological Thread 
  • From: John Gasper <>
  • To: "Hyzer, Chris" <>, "" <>
  • Subject: [grouper-dev] Re: Recent patch broke ability to delete groups
  • Date: Thu, 12 Jan 2017 10:58:10 -0800
  • Ironport-phdr: 9a23:CVhJOxJq9FQZGZDcVdmcpTZWNBhigK39O0sv0rFitYgXKvX/rarrMEGX3/hxlliBBdydsKMYzbGO+Pm6ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5br5+Nhu7oRneusULn4duNrs6xwfUrHdPZ+lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRneVgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gyoBKjU38nzYitZoga1VrhyvuhxxzZDXboGbNvVxcb/ScMgASmZdW8ZcTTBND5m+YoYJEuEPPfxYr474p1YWqRW+AgmsBOXywTFJnHD2xrU63Po7EQrb2wEgHd0Ov27PrNXtKqgSS/u4zLTOzTXCc/xW3jH95JLOch8/vfGBRLR9etffx0koEgPKlFSQqYr9Mj+MyOgAt3CX7+p8VeKzk24rthx9oiC1xscrlonJgZ4aylfA9SljwoY6P8O4R1Rjbd6lFptQqz+VN5FwQsw8X2Fkpjw2xaMbtp6mZCQK1JQnxwTBZPOdboeE+AjjVPuXITtghHJlZK6/hw6p8Ue+0O38SM2030hWriZfkNnDrG4N2AbL5sifUPt9+UCh2TiX1wDU6+FEJ1w0mbDHJJ4mx748jpoTsVjfHi/uhUn6kbeWdl8j+ue09evnea7mppiGN4NuiAHxKLouldanDeQlLggOXmyb9f661LL94U31WK1KjucxkqnevpDaPcMbpq+/Aw9JzIkj8A2/ACmg0NQEnHkINlZFeAmdg4f1PFHOJfb1Buq8jVS0iDpmxezKMqfuD5nTNHTPjqntcLVn50JBygc/0MhT6pNWB70bPf7/R1P9uMbGAhMkLQC42fvrBdZy244YRGmBGLWWMLnIvl+N/u8vI/eDZIsSuDvlKvkl/PvujWMhmVMHYKmp25oXZ2y/HvRgOUmZZ2TjgssZHWcLuAoxUvDqhUWAXDJPfXq/ULww6islBI64DorPXJ2hjb6c0CujG51ZfGFGClSCEXfycIWEXu8BaCCdIsB7iTwETaauS5U62BGzsg/6yqZoLu3S+iECs5LsysR16/XJlR4u7Tx0E9id02aVQmF7hGMIQCI23Lhhrkxn01uMzLZ3g+JDGNxX5vNJSRs6NYXCw+BgCtDyXB7BccmTSFagXNqmHS89QsgvzNATfkYuU+ml21rjzjinGftdvLyRBYd+uvbZ1HjgNctn43fd3+88l1QgRI1COXDwwuY1+BLUGpbEiQCVmriCdKIA0TTL+XvZi2eCoQsQBAFqVrjdUGpaakbIhdX/+k7YSbKyU/IqPhYXmuCYLa4fSNrpix1pTez7Nc6WN2C+knyoCAyg27WNZ43sPWMQwHOOWwA/jwkP8CPeZkAFDSC7rjeGAQ==

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