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: "Hyzer, Chris" <>
  • To: Shilen Patel <>, "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:38:55 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:0n5yzBzDWuS+PbDXCy+O+j09IxM/srCxBDY+r6Qd2uITIJqq85mqBkHD//Il1AaPBtSGraoawLWH+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFIiTanfb9/LRq6oAfVu8ILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8rxmQwH0higZKzE58XnXis1ug6JdvBKhvAF0z4rNbI2IKPZyYqbRcNUHTmRDQ8lRTTRMDIOiYYUSE+oPM+VWr4f/qFsPsRSxChKhC/nzxjNUnHL6wbE23/onHArb3AIgBdUOsHHModn7NqkTUeG0w7fSzTnbcvhbxzf96JLJchA6r/2HQLV9cc/NxkkvFwLEj0ufqZb+MjOUzeQCr3KX7/d4Ve2xjW4nrRt9rSayyccxk4TEgJ8exF7D9SV82ok1JNu4RVZnYd6kCptfqTuVOJZsTsM4XmFovj42yr0auZ6nZCgK04ooxwTBa/yDbYeI/gjvVOSLLjdmnn1ofq+0iRWq8UW41OHwSsu53ExFoydEiNXAq3EA2hLJ5sSaSPZx5lqt1DiT2wzJ7uxIPFo4mbTGJ5Ml2LI8i5gevEXFEyTrgkv5lrWWeV8h+uWw6+TofLHmppiEOoFslgzwNbgil8KmDeo2NQYDUXGX+eOn27L950H5R6hKjuEtnanerZDaI9kUqrShAw9P1YYj9wiwACu60NQZmnkHKkhJeBWaj4j1P1HOJ/f4DfSlj1uwlzdrwujKPrznAprTMnjOiKntcap/5kJGxwc+zMpT649VB7wPOv7/R038uMTdDhAjMgy0x+jnCM961oMbQW+PB7OWMKPSsF6J+O0vOfKBZI4OuDnhMfQl+ubugmE/mV8bZ6Wmw4YYaG2gEvR8P0qZeWbsgssGEWoSsQo+VuvqiECaUTFNfXa+Rr885iolB4K8FofOXYStgL2a3CenBZ1aeHpKClGKEXf0aYqEQfEMZzyOIsN/iDALS6WuS5JynS2p4TT6yr5qKKLs8zEVsdq3z9h04+DVvR0v9jEyAsiAhSXFBVl5gn4SXCQx2uQ3mk1y102PzLIyy6hDDdFP+ulSSQA8HZvdxul7Td3+R1SSUM2OTQPsYsS0DCt1Bvkx2d4VKQ4pHt6inwLOxQKrGLRTiqSGAppy/67BiSuib/1hwmrLgfFyx2ItRdFCYCj/3vZy
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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