Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession)

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession)


Chronological Thread 
  • From: Shilen Patel <>
  • To: "Hyzer, Chris" <>, "Petursson, Sigurdur" <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession)
  • Date: Fri, 17 Feb 2017 16:26:48 +0000
  • Accept-language: en-US
  • Authentication-results: oit.duke.edu; spf=none
  • Ironport-phdr: 9a23:6zrvbBBRdfk/SoxOvWaCUyQJP3N1i/DPJgcQr6AfoPdwSPX4osbcNUDSrc9gkEXOFd2CrakV1qyO7euwCCQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yb5+Ngm6oATeusQVhYZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLzhSwZKzA27n3Yis1ojKJavh2hoQB/w5XJa42RLfZyY7/Rcc8fSWdHQ81fVTFOApmkYoUPEeQPIPpYoYf+qVsArxSxCwisC//gxTJTnHD6wbc33v49HQzcwgAtGc8FvnTOrNXyMacfSf27zKnJzTXHcfxW3yr25pLSfRA9v/6MWa97fM3KyUkvFgPFikufqYr+MjyIy+QNsHaU4/B+Wu2ylm4qsgd8qSWhyMcrj4nGnIMVylbc+CVlwIY1P8O3R1RmbtK+CptQqieaO5N2QsM+X2FooD06xaMcuZ6leCgF1ognywTda/OdbYiH+BTuX/uSLzdgnH9pZbKyiwio/UWu0OHwS8q53VJQoiZbnNTAq2gB2wHT58SZUPdw8F2t1DiA2gzJ5OxIOV44mbbZJpI7zbM9l4AfvVnCEyL4gkn7jLGae0M58eay8evneK/pppqEOo90lA7+NqMul9S6AesiMwgOW3GX+euy1bH64UH0QK9Gjvo3kqnFqpzVONkbpq2nDANPzIks9gu/Ay+n0NQeg3YHMEpIdA+HgoT3IV3DLur0Aeq8jlmoijtn2f7LMqD5DpXINHfDkbPhfbhn605bzQo+1ctf55JVCrEFPv3zXFT8u8HFDh86LQO42fjoB8hg1o8GQ2KAHreZML/OsV+P/u8vLPOMZIgIuDblNfcl/efijWIimVADZ6mpxoAaaHS5HvR9P0WZemTgjs0AEWcMogoxUvbqiFucXj5PeXq+Rbwz6SwmCNHuMYCWDKC8krGbmG+QHodXfSoOXlWHEWb6ep+sWuwHLj+KL8ln1DEISO7lA8UZ2A2zrhThzLwjZtHV9TACuY/5npAh/PXeiQwo7idzCeyY0miITid5kn5eFBEs26Uqmkx8zlqFmZBxn/FcXYhI5/JNXwESOYPfwqp3B82kCVGJRcuAVFvzGobuOjo2VN9khoZWO0s=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Yeah that makes sense.  You probably don't want non-grouper admins to be assigning the grouperLoader type anyways.  If this needs to be solved for other types, then it should look at the attribute def privs?

Thanks!

- Shilen

From: <Hyzer>, Chris <>
Date: Friday, February 17, 2017 at 10:38 AM
To: Shilen Patel <>, "Petursson, Sigurdur" <>
Cc: grouper-users <>
Subject: Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession)

Is that checkbox showing up for people who are not admins?  Maybe that is the problem...


From: <> on behalf of Shilen Patel <>
Sent: Friday, February 17, 2017 10:30:52 AM
To: Petursson, Sigurdur
Cc: grouper-users
Subject: Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession)
 
Hi,

I don't think this error is related to GRP-1475?  

In any case, what are the privileges on the grouperLoader attribute def?  (etc:legacy:attribute:legacyGroupTypeDef_grouperLoader)

I think the error suggests that the logged in user doesn't have access to the attribute def.  If that's the case, you could either assign the user read/update on the attribute def, assign it to grouper all instead, or assign the grouperLoader type using a subject that's in the wheel group.

Thanks!

- Shilen

On 2/16/17, 3:34 PM, "Petursson, Sigurdur" <> wrote:

Grouper fails when user edits a group by setting the group type to
"grouperloader". Grouper 2.3.3 API patch 55. Please advise.


Error log entry:

2017-02-16 15:10:01,729: [TP-Processor11] ERROR
GrouperCapableAction.execute(342) - < [username]
14C88BD5BABB9ED9A480F779CFF20B33-0004 6ac1ade1168c4a649d14721da17e4bc5
50035542 ActiveDirectory > -
edu.internet2.middleware.grouper.exception.AttributeDefNotFoundException:
Not allowed to find AttributeDef by id: 9e68b8ddbaba49d8a9d8a751ecabba18,
Problem in HibernateSession: HibernateSession (5dd1bc50): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (6f222245)
                 at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefDAO.findByIdSecure(Hib3AttributeDefDAO.java:95)
                 at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefDAO.findByIdSecure(Hib3AttributeDefDAO.java:81)
                 at
edu.internet2.middleware.grouper.attr.finder.AttributeDefFinder.findById(AttributeDefFinder.java:54)
                 at
edu.internet2.middleware.grouper.attr.AttributeDefName.getAttributeDef(AttributeDefName.java:275)
                 at
edu.internet2.middleware.grouper.attr.assign.AttributeAssignBaseDelegate.internal_assignAttributeHelper(AttributeAssignBaseDelegate.java:484)
                 at
edu.internet2.middleware.grouper.Group$5.callback(Group.java:1571)
                 at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
                 at
edu.internet2.middleware.grouper.Group.internal_addType(Group.java:1539)
                 at
edu.internet2.middleware.grouper.Group.addType(Group.java:1524)
                 at
edu.internet2.middleware.grouper.Group.addType(Group.java:1494)
                 at
edu.internet2.middleware.grouper.ui.actions.SaveGroupAction.doTypes(SaveGroupAction.java:372)
                 at
edu.internet2.middleware.grouper.ui.actions.SaveGroupAction.grouperExecute(SaveGroupAction.java:263)
                 at
edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction$1.callback(GrouperCapableAction.java:252)
                 at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO$1.callback(Hib3TransactionDAO.java:66)
                 at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
                 at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO.transactionCallback(Hib3TransactionDAO.java:56)
                 at
edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:87)
                 at
edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:106)
                 at
edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.grouperTransactionExecute(GrouperCapableAction.java:246)
                 at
edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.execute(GrouperCapableAction.java:323)
                 at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:439)
                 at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
                 at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
                 at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
                 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
                 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                 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.LoginCheckFilter$1.callback(LoginCheckFilter.java:188)
                 at
edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
                 at
edu.internet2.middleware.grouper.ui.LoginCheckFilter.doFilter(LoginCheckFilter.java:183)
                 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.ErrorFilter.doFilter(ErrorFilter.java:147)
                 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:1023)
                 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.core.StandardHostValve.invoke(StandardHostValve.java:127)
                 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                 at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
                 at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
                 at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
                 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
                 at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
                 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
                 at java.lang.Thread.run(Thread.java:745)

2017-02-16 15:10:01,729: [TP-Processor11] ERROR
GrouperCapableAction.execute(342) - < [username]
14C88BD5BABB9ED9A480F779CFF20B33-0004 6ac1ade1168c4a649d14721da17e4bc5
50035542 ActiveDirectory > -
edu.internet2.middleware.grouper.exception.AttributeDefNotFoundException:
Not allowed to find AttributeDef by id: 9e68b8ddbaba49d8a9d8a751ecabba18,
Problem in HibernateSession: HibernateSession (5dd1bc50): notNew,
notReadonly, READ_WRITE_NEW, activeTransaction, session (6f222245)
                 at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefDAO.findByIdSecure(Hib3AttributeDefDAO.java:95)
                 at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefDAO.findByIdSecure(Hib3AttributeDefDAO.java:81)
                 at
edu.internet2.middleware.grouper.attr.finder.AttributeDefFinder.findById(AttributeDefFinder.java:54)
                 at
edu.internet2.middleware.grouper.attr.AttributeDefName.getAttributeDef(AttributeDefName.java:275)
                 at
edu.internet2.middleware.grouper.attr.assign.AttributeAssignBaseDelegate.internal_assignAttributeHelper(AttributeAssignBaseDelegate.java:484)
                 at
edu.internet2.middleware.grouper.Group$5.callback(Group.java:1571)
                 at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
                 at
edu.internet2.middleware.grouper.Group.internal_addType(Group.java:1539)
                 at
edu.internet2.middleware.grouper.Group.addType(Group.java:1524)
                 at
edu.internet2.middleware.grouper.Group.addType(Group.java:1494)
                 at
edu.internet2.middleware.grouper.ui.actions.SaveGroupAction.doTypes(SaveGroupAction.java:372)
                 at
edu.internet2.middleware.grouper.ui.actions.SaveGroupAction.grouperExecute(SaveGroupAction.java:263)
                 at
edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction$1.callback(GrouperCapableAction.java:252)
                 at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO$1.callback(Hib3TransactionDAO.java:66)
                 at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:700)
                 at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO.transactionCallback(Hib3TransactionDAO.java:56)
                 at
edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:87)
                 at
edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:106)
                 at
edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.grouperTransactionExecute(GrouperCapableAction.java:246)
                 at
edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.execute(GrouperCapableAction.java:323)
                 at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:439)
                 at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
                 at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
                 at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
                 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
                 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                 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.LoginCheckFilter$1.callback(LoginCheckFilter.java:188)
                 at
edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
                 at
edu.internet2.middleware.grouper.ui.LoginCheckFilter.doFilter(LoginCheckFilter.java:183)
                 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.ErrorFilter.doFilter(ErrorFilter.java:147)
                 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:1023)
                 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.core.StandardHostValve.invoke(StandardHostValve.java:127)
                 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                 at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
                 at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
                 at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
                 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
                 at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
                 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
                 at java.lang.Thread.run(Thread.java:745)


Sig Petursson
University of Miami






Archive powered by MHonArc 2.6.19.

Top of Page