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: "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 15:30:52 +0000
  • Accept-language: en-US
  • Authentication-results: oit.duke.edu; spf=none
  • Ironport-phdr: 9a23:4zHnoRNsaIuVGyNHQ9kl6mtUPXoX/o7sNwtQ0KIMzox0IvX+rarrMEGX3/hxlliBBdydsKMZzbKI+P++EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT69bL9oMBm7rArdu8sXjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVQTlgzkbOTEn7G7Xi9RwjKNFrxKnuxx/2JPfbIWMOPZjYq/RYdYWSGxcVchTSiNBGJuxYYsRAeQcIeZWoYrzp1UMohSwBAmjGOzgxyRSiXPqx6A3yfgtHBvY0AEmAtkAsG7UrNLwNKoKTO61zKjIzTHdYPNQxDzz8pLHcgw/rvGIQLl9dtHRyUkuFwPBkFqQr5foMC6I1uQOrWeX9fRvWv+yi2M+rQx6vzahxsApiobTh4IVzEjJ9Tl5wIYvO9K3UlN0bcS+EJtNsSGWL4t2Qt8+Q2FwoyY11KcGuYC/fCcU1JQr3RzfZOaZc4eS5B/oSeWfIS9giX54eL+zmQy+/Ea6xuHhVcS51ExGojRKn9XSrnwByhze5tadRvZz5Eus1zmC2xrd5+1cP0w4iKvWJ4Qvz7IujJYfrEfOEjPslEnrj6KbcFgv9PKy5OT9eLrmo4eRN49qhQH6NaQjgsm/Dv45MggKRmSb9uq92KT+8UD4WrlKifw2krXDvJ/HOMQbpbC2DxVL3Yk+9hazFzam0NIGknkbNF9JZRKKg5bzN1zAOvz0EPSyjlC2nDt1yP3KIKXtApDXIXjClLfhc6x960lZyAcr1tBf55NUCrUfL/L1QUL+qcHYDhwnPACu3enoFch92psEWW2TGq+ZLL/SsViQ6+IgOemMY5IVuC7jJPg//vLukGQ5lkEHfamyxpYXbHG4Hu96I0WCf3bgmNYBEWEWvgUgVuzqjkONUSJNa3qoQa0z+yw7W8qaCtKJfo2xnaaaxyC9WtVtZ29bEFyRCz2gI56cVusRcjmJJclJlz0NULnnRoM8g0KArgj/noFnL+7Z/GUgvI7u0JAh/O3SkRw03TBpDMnb3m2QGTIn1lgUTiM7ifgs6Xd2zU2OhO0h26RV
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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