grouper-users - Re: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group
Subject: Grouper Users - Open Discussion List
List archive
- From: Gail H Lift <>
- To: Julio Polo <>
- Cc: "" <>, Liam Hoekenga <>
- Subject: Re: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group
- Date: Tue, 27 Dec 2016 14:41:13 -0500
- Ironport-phdr: 9a23:nReBIhHdiZgxo7XzpX7P451GYnF86YWxBRYc798ds5kLTJ76p8y+bnLW6fgltlLVR4KTs6sC0LuK9fi4EjVYvt6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Ixi6txndutUZjYd/Nqo8yAbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDMi7mrZltJ/g75aoBK5phxw3YjUYJ2ONPFjeq/RZM4WSXZdUspUUSFKH4GyYJYVD+cZP+lYoYnzqVUNoxWjGwejGPjixSVUinLsx6A2z/gtHAPA0Qc9H9wOqnPUrNDtOakTS++1za3IxijBYfhL3zn96YbIcgw8qvyLUrJwcc7RxFIyFwPAj1WftYzlMymL2esQrmiW9uxtXv+hhW4grgF+uDmvxsE0h4jHmI0a0UvE9SJlz4Y2O9K4VFR3YcW6H5dIuCGaLYx2Qt46Q252oiY20KcJuYajfCQSyZQnwQLfZOKdc4iO/B3jSPidLS1mi314ZbKznwqy8Ui6yuLiTMa7zUxGrjBYktnKrnwNyhnT6smbRft95EuuxyuA1x3L5uFEPUA0ibLbK4U/zb4qiJoTtVrMHjPslEX0lqCWaF8r9vCn6+T9ZbXmu4ecOJFuigH6NaQhgNGwDvoiMgQURWib5Pyw1KD//U34RLVGlPs2nbfFsJ3cOM8Vpba5DhdL3ok59xqzEzKr3MkXkHQHMF5IfR2Kg5T0N13SJf33EeuzjlapnTpu2fzLMKPtD5PQJXbZirjhZ6xy60tExQoz099f45VUB6kEIP3pW0/xsMXUDhs3MwCo2urmB8tx240AVW6VDa+ZN6TSsVCM5u0xOeWDeIgVuDPlJ/gk4f7hk2M5lEcDcaazwZcbdHW1EulpLkiZfXbhh9gMHXsXsgYiSeHllEGOXDxWanu3Qa4x6C83BJqjDYjZR4CthLKB3D28Hp1Tfm1GBVCMEXPzeoWZXvcMaT6dIs97njMaSLehVpct1Quyuw/i17pnMu3U9zUXtZL509h1+vXTmg8o9TBtEsSdyH+CT3tvnm4TQz823bt/oVBmyludy6R4gvpYFcBN6PNTVAc1K4Lcw/JgB9/sRw3BY4TBdFHzYMiiADZ5dtU1xJdaYVt5GtKKjhnc1iurRbIZiurYKoYz9/fz1nn1b+Y173fIyOF1gFkiatZKNGamwKNz6l6AVMbyj0yFmvPyJuwn1ynX+TLGlDLWsQ==
We didn't see any LDAP errors. Also, we were querying a no-limit server, which was responding quickly (that attribute is indexed). Using a query on the same attribute to simply populate a single group works fine.
We are new to Grouper, and might have something dumb in our group definition.
On Dec 27, 2016 2:14 PM, "Julio Polo" <> wrote:
Check your LDAP server logs for any error (error message or LDAP error code) associated with that particular query:Maybe it timed out (either on the LDAP server or client side) or it exceeded some threshold on the number of entries it can return or search through.
(|(umichInstRoles=FacultyAA)(umichInstRoles=StudentAA)) -julioJulio Polo
Enterprise Middleware, Identity and Access Management
University of HawaiiOn Fri, Dec 23, 2016 at 7:32 AM, Liam Hoekenga <> wrote:We're just starting to explore grouper. Based on the example at https://spaces.internet2.edu/display/Grouper/Grouper+Loader+ , we tried to set up a "groups from attributes" definition:LDAP+examples#GrouperLoaderLDA Pexamples-LDAPgroupsfromattrib utes LDAP filter (|(umichInstRoles=FacultyAA)(umichInstRoles=StudentAA)) LDAP group attribute name umichInstRolesLDAP group name _expression_ groupsFromAttributes:${groupAttribute} LDAP search base DN ou=People,dc=umich,dc=eduLDAP server ID mcommDirLDAP source ID mcommDirLDAP subject ID type subjectIdentifierLDAP subject attribute name entityidLDAP type LDAP_GROUPS_FROM_ATTRIBUTESWe see the searches:2016-12-23 12:17:54,281: [ajp-apr-8009-exec-4] DEBUG GrouperLoaderConfig.retrieveLdapProfile(317) - - LDAP config for server id: mcommDir: GrouperLoaderLdapServer [batchSize=-1, configFileFromClasspath: , countLimit=-1, driver=null, expirationTime=-1, maxPoolSize=-1, minPoolSize=-1, pagedResultsSize=-1, pass=XXXXX, pruneTimerPeriod=-1, referral=, saslAuthorizationId=null, saslRealm=null, timeLimit=-1, timeout=-1, tls=false, url="ldaps://ldap.umich.edu, user=cn=Grouper,ou=Application s,o=Services, validateOnCheckIn=false, validateOnCheckOut=true, validatePeriodically=false, validateTimerPeriod=-1] Then we get back a stacktrace that's not particularly helpful (at the end of the message).Can anyone point us in the right direction?Liam------------------------------------- 2016-12-23 12:17:55,441: [ajp-apr-8009-exec-4] ERROR UiV2Group.updateLoaderGroup(4479) - - Error running loader job from ui for group: umich.edu:umichInstRolesAA java.lang.RuntimeException: java.lang.NullPointerException: Problem with ldap conection: mcommDir, Error querying ldap server id: mcommDir, searchDn: ou=People,dc=umich,dc=edu, filter: '(|(umichInstRoles=FacultyAA)(umichInstRoles=StudentAA))', returning subject attribute: entityid at edu.internet2.middleware.grouper.app.loader.GrouperLoader.ru nJobOnceForGroup(GrouperLoader .java:1542) at edu.internet2.middleware.grouper.grouperUi.serviceLogic. UiV2Group$6.callback( UiV2Group.java:4473) at edu.internet2.middleware.grouper.GrouperSession.callbackGrou perSession(GrouperSession. java:974) at edu.internet2.middleware.grouper.GrouperSession.internal_cal lbackRootGrouperSession(Groupe rSession.java:1022) at edu.internet2.middleware.grouper.grouperUi.serviceLogic. UiV2Group.updateLoaderGroup( UiV2Group.java:4470) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMeth od(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:648) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain. java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206) at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain. java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206) at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter .java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain. java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206) at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter (GrouperUiFilter.java:1025) at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain. java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:217) at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A uthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(Abs tractAccessLogValve.java:616) at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:518) at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractA jpProcessor.java:844) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler .process(AbstractProtocol. java:673) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool Executor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable. run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)
- [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group, Liam Hoekenga, 12/23/2016
- RE: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group, Hyzer, Chris, 12/24/2016
- Re: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group, Julio Polo, 12/27/2016
- Re: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group, Gail H Lift, 12/27/2016
- RE: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group, Hyzer, Chris, 12/28/2016
- RE: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group, Gail H Lift, 12/28/2016
- RE: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group, Hyzer, Chris, 12/28/2016
- Re: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group, Gail H Lift, 12/27/2016
Archive powered by MHonArc 2.6.19.