Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Liam Hoekenga <>, "" <>
  • Subject: RE: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group
  • Date: Sat, 24 Dec 2016 22:12:13 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:zIGRVxcOQ3R5YuH0yT3KFgLQlGMj4u6mDksu8pMizoh2WeGdxc26bRCN2/xhgRfzUJnB7Loc0qyN4vumCTxLuMvR+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG4oAnLtcQbgoRuJrsxxxbKv3BFZ/lYyWR0KFyJgh3y/N2w/Jlt8yRRv/Iu6ctNWrjkcqo7ULJVEi0oP3g668P3uxbDSxCP5mYHXWUNjhVIGQnF4wrkUZr3ryD3q/By2CiePc3xULA0RTGv5LplRRP0lCsKMSMy/XrJgcJskq1UvBOhpwR+w4HKZoGVKOF+db7Zcd8DWGZNQtpdWylHD4ihbYUAEvABMP5YoYfjulUOsRWwCwqiBOztyz9HmnD50LYg3Og9DQ3LxhAsE84MvXnSsd77NL0SUeewzKTQwznNbfNX2Dbj54jSahwqvO+BXbJqccrQ0kkjGR7Og1KVqYP5PzOU1uUMvHaB7+d7VOKvkHIopxtsoji32MgsjI/JipgLxV/Z6CV02YA4LsC2Rk58ZN6rCppQtyeCOot5WMMiRHxouD4kxb0co5K0ZjAKyIw/yx7ebfyHb5aH4gjlVOmPPTd0mmhpd6yiiBav6USg1u38VtOq31lQsyVJiMPMtm0L1xDL98iHT/p98Vuh2TqVyQ/c9/xELVg0larHN54h2qUwmYQJsUTdGi/5hln2gLWUdko+5Oin8fzrYqj6pp+dM494kAf+PboymsG5HO82MRAOUnCF9eih1bDv50P0TKtQgvErkaTVrYrWKdoHqqKhHgNY3Jov5wy7Aju7ytgUg2QLIVZfdB6ajYXkOlfDK+3iA/ilmVSjijJryujGPrL/BpXNKWDOnq/9cLh690JRxhM/wM5G6Z5JE70BJ+n8VVHruNzfEx85Lxe7w+H6CNV7y4wSQ3qPArWeMKPOr1CH+v4vI+iLZI8Tojr9LOUl5+LqjX8+nl8dfrOl0ocQaHC9BvhmIkOZbmTwgtoZD2sGowszQPbkhVGcSzJfenW/U78m6j0lFI6qFYLDSZqsgLyF0ie7BJpWZmVeB1CJDXjod4WFWvYSZyKIOcJhkycEWqS7R488zRGhqgn6y7x9IuXK5yIYqIrv1MJp6O3LiREy6Tt0AtyS02GXSGF0g3sISCEs3KxmvEx90UmM0bJjg/FDEdxT5uhJUhshNZLC1eB6CtbyWh7fcdeTTlapXMmmDS8rQt0v3tAOfhU1J9L3qhHK2mKKBLIWmrqEDdRg9qPV2mLZOsN8wHaA2aU82R1uCMRVMnC+i7Q66hPeHZXhkkOFmryseLhGmiPB6S3LmWWUu1xAXRQ1TL7IR2s3Z03KoM7/61+YCbKiFOJ0HBFGzJvICrpYZ8etxX5GXvb4cpyKZmmxinW9Hz6J3bjKcZLnfWNb0SnAXhtX2zsP9GqLYFBtThyqpHjTWXk3TQri
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Seems like there should be more to the trace, can you forward that along?  If you disagree can you delete your logs, start grouper up clean, reproduce it, and forward the entire logfile?

 

Thanks

Chris

 

From: [mailto:] On Behalf Of Liam Hoekenga
Sent: Friday, December 23, 2016 12:32 PM
To:
Subject: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group

 

We're just starting to explore grouper.  Based on the example at https://spaces.internet2.edu/display/Grouper/Grouper+Loader+LDAP+examples#GrouperLoaderLDAPexamples-LDAPgroupsfromattributes, we tried to set up a "groups from attributes" definition:

 

LDAP filter                 (|(umichInstRoles=FacultyAA)(umichInstRoles=StudentAA))

LDAP group attribute name               umichInstRoles

LDAP group name _expression_                        groupsFromAttributes:${groupAttribute}

LDAP search base DN                       ou=People,dc=umich,dc=edu

LDAP server ID                     mcommDir

LDAP source ID                     mcommDir

LDAP subject ID type                        subjectIdentifier

LDAP subject attribute name                         entityid

LDAP type                 LDAP_GROUPS_FROM_ATTRIBUTES

 

We 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=Applications,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.runJobOnceForGroup(GrouperLoader.java:1542)

            at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group$6.callback(UiV2Group.java:4473)

            at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)

            at edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.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(NativeMethodAccessorImpl.java:62)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:498)

            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:648)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

            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:239)

            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:239)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)

            at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844)

            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)

            at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503)

            at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

            at java.lang.Thread.run(Thread.java:745)




Archive powered by MHonArc 2.6.19.

Top of Page