Hello, I did not get it working. Please let me know if you find the solution.
Thank you, Cristina On Mon, Apr 9, 2018, 10:39 Olivier Calzi <o...@earlytracks.com> wrote: > Hi, > > I think that my current problem is also related. > Did you manage to get it working ? > > Thanks > > On Tuesday, November 28, 2017 at 2:17:26 PM UTC+1, Cristina Vlaicu wrote: >> >> Hello, >> >> Can you tell me how did you make it work out. I have the same problem. >> >> Thank you, >> Cristina >> >> On Tuesday, October 31, 2017 at 12:18:12 PM UTC+2, Krzysztof Kluczynski >> wrote: >>> >>> Hi, >>> >>> I am getting an NPE >>> [org.apereo.cas.mgmt.services.web.AbstractManagementController] - >>> java.lang.NullPointerException after a successful login to the CAS >>> management webapp. >>> >>> Both CAS and the CAS management webapp are configured to use LDAP. >>> >>> I am using the following versions : >>> >>> cas-services-management-overlay 5.2.0-SNAPSHOT >>> cas-server 5.2.0-RC4 >>> >>> *Configuration files* >>> >>> *management.properties* >>> >>> >>> #cas.server.prefix: https://jasigcas.herokuapp.com/cas >>> cas.server.name:https://xxx.xxx.org >>> cas.server.prefix:https://xxx.xxx.org/sso >>> >>> cas.mgmt.adminRoles=ROLE_ADMIN >>> cas.mgmt.userPropertiesFile=file:/etc/cas/config/users.properties >>> >>> # Update this URL to point at server running this management app >>> cas.mgmt.serverName:https://xxx.xxx.org >>> >>> server.context-path=/cas-management >>> server.port=8443 >>> >>> spring.thymeleaf.mode=HTML >>> logging.config=file:/etc/cas/config/log4j2-management.xml >>> >>> >>> cas.authn.attributeRepository.defaultAttributesToRelease=sn,cn,givenName,mail,memberOf,xxxUID >>> cas.personDirectory.principalAttribute=mail >>> cas.personDirectory.returnNull=false >>> cas.personDirectory.principalResolutionFailureFatal=false >>> >>> >>> cas.mgmt.ldap.baseDn=ou=cas,ou=system,dc=xxx,dc=net >>> cas.mgmt.ldap.ldapUrl=ldaps://xxx.xxx.org/ >>> cas.mgmt.ldap.connectionStrategy=ACTIVE_PASSIVE >>> cas.mgmt.ldap.userFilter=mail={user} >>> cas.mgmt.ldap.bindDn=cn=admin,dc=xxx,dc=net >>> cas.mgmt.ldap.bindCredential=password >>> >>> cas.serviceRegistry.ldap.serviceDefinitionAttribute=casServiceDescription >>> cas.serviceRegistry.ldap.idAttribute=cn >>> cas.serviceRegistry.ldap.objectClass=casRegisteredService >>> cas.serviceRegistry.ldap.ldapUrl=ldaps://xxx.xxx.org/ >>> cas.serviceRegistry.ldap.connectionStrategy=ACTIVE_PASSIVE >>> cas.serviceRegistry.ldap.baseDn=ou=cas,ou=system,dc=xxx,dc=net >>> cas.serviceRegistry.ldap.bindDn=cn=admin,dc=xxx,dc=net >>> cas.serviceRegistry.ldap.bindCredential=password >>> >>> cas.properties >>> >>> #cas.server.name: https://cas.example.org:8443 >>> #cas.server.prefix: https://cas.example.org:8443/cas >>> >>> cas.server.name:https://xxx.xxx.org >>> cas.server.prefix:https://xxx.xxx.org/sso >>> >>> cas.tgc.crypto.encryption.key=key >>> cas.tgc.crypto.signing.key=signingkey >>> >>> cas.webflow.crypto.encryption.key=encrkey >>> cas.webflow.crypto.signing.key=signingkey >>> >>> cas.logout.followServiceRedirects=true >>> cas.logout.redirectParameter=service >>> >>> cas.adminPagesSecurity.ip=127\.0\.0\.1 >>> cas.monitor.endpoints.enabled=true >>> cas.monitor.endpoints.sensitive=false >>> cas.adminPagesSecurity.loginUrl=https://xxx.xxx.org/sso/login >>> cas.adminPagesSecurity.service=https://xxx.xxx.org/sso/status/dashboard >>> cas.adminPagesSecurity.users=file:/etc/cas/config/adminusers.properties >>> cas.adminPagesSecurity.adminRoles[0]=ROLE_ADMIN >>> cas.adminPagesSecurity.actuatorEndpointsEnabled=true >>> >>> logging.config: file:/etc/cas/config/log4j2.xml >>> >>> cas.authn.accept.users= >>> cas.authn.ldap[0].type=AUTHENTICATED >>> >>> cas.authn.ldap[0].ldapUrl=ldaps://xxx.xxx.org/ >>> cas.authn.ldap[0].connectionStrategy=ACTIVE_PASSIVE >>> cas.authn.ldap[0].baseDn=dc=xxx,dc=net >>> cas.authn.ldap[0].userFilter=mail={user} >>> cas.authn.ldap[0].bindDn=cn=admin,dc=xxx,dc=net >>> cas.authn.ldap[0].bindCredential=credential >>> >>> cas.authn.ldap[0].dnFormat=cn=%s,ou=users,ou=people,dc=xxx,dc=net >>> cas.authn.ldap[0].principalAttributeId=xxxUID >>> cas.authn.attributeRepository.ldap[0].attributes.sn=sn >>> cas.authn.attributeRepository.ldap[0].attributes.cn=cn >>> cas.authn.attributeRepository.ldap[0].attributes.givenName=givenName >>> cas.authn.attributeRepository.ldap[0].attributes.mail=mail >>> cas.authn.attributeRepository.ldap[0].attributes.memberOf=memberOf >>> cas.authn.attributeRepository.ldap[0].attributes.xxxUID=xxxUID >>> >>> >>> cas.authn.ldap[0].principalAttributeList=sn:familyName,cn:casId,givenName,mail,memberOf,xxxUID >>> >>> >>> cas.authn.attributeRepository.attributes.sn=sn >>> cas.authn.attributeRepository.attributes.cn=cn >>> cas.authn.attributeRepository.attributes.givenName=givenName >>> cas.authn.attributeRepository.attributes.mail=mail >>> cas.authn.attributeRepository.attributes.memberOf=memberOf >>> cas.authn.attributeRepository.attributes.xxxUID=xxxUID >>> >>> cas.authn.releaseProtocolAttributes=true >>> >>> >>> cas.authn.attributeRepository.defaultAttributesToRelease=sn:familyName,cn:casId,givenName,mail,memberOf,xxxUID >>> >>> cas.personDirectory.principalAttribute=xxxUID >>> cas.personDirectory.returnNull=false >>> cas.personDirectory.principalResolutionFailureFatal=false >>> >>> cas.clearpass.cacheCredential=true >>> cas.clearpass.crypto.encryption.key=key >>> cas.clearpass.crypto.signing.key=encrkey >>> cas.clearpass.crypto.enabled=true >>> cas.clearpass.cipherEnabled=true >>> >>> cas.serviceRegistry.initFromJson=false >>> >>> cas.serviceRegistry.ldap.serviceDefinitionAttribute=casServiceDescription >>> cas.serviceRegistry.ldap.idAttribute=cn >>> cas.serviceRegistry.ldap.objectClass=casRegisteredService >>> >>> cas.serviceRegistry.ldap.ldapUrl=ldaps://xxx.xxx.org/ >>> cas.serviceRegistry.ldap.connectionStrategy=ACTIVE_PASSIVE >>> cas.serviceRegistry.ldap.baseDn=ou=cas,ou=system,dc=xxx,dc=net >>> cas.serviceRegistry.ldap.bindDn=cn=admin,dc=xxx,dc=net >>> cas.serviceRegistry.ldap.bindCredential=credential >>> >>> *pom.xml (cas-management)* >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> <project xmlns="http://maven.apache.org/POM/4.0.0" >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 >>> http://maven.apache.org/xsd/maven-4.0.0.xsd "> >>> <modelVersion>4.0.0</modelVersion> >>> <groupId>org.apereo.cas</groupId> >>> <artifactId>cas-services-management-overlay</artifactId> >>> <packaging>war</packaging> >>> <version>1.0</version> >>> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>com.rimerosolutions.maven.plugins</groupId> >>> <artifactId>wrapper-maven-plugin</artifactId> >>> <version>0.0.4</version> >>> <configuration> >>> <verifyDownload>true</verifyDownload> >>> <checksumAlgorithm>MD5</checksumAlgorithm> >>> </configuration> >>> </plugin> >>> <plugin> >>> <groupId>org.springframework.boot</groupId> >>> <artifactId>spring-boot-maven-plugin</artifactId> >>> <version>${springboot.version}</version> >>> <configuration> >>> <mainClass>${mainClassName}</mainClass> >>> <addResources>true</addResources> >>> <executable>${isExecutable}</executable> >>> <layout>WAR</layout> >>> </configuration> >>> <executions> >>> <execution> >>> <goals> >>> <goal>repackage</goal> >>> </goals> >>> </execution> >>> </executions> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-war-plugin</artifactId> >>> <version>2.6</version> >>> <configuration> >>> <warName>cas-management</warName> >>> <failOnMissingWebXml>false</failOnMissingWebXml> >>> <recompressZippedFiles>false</recompressZippedFiles> >>> <archive> >>> <compress>false</compress> >>> <manifestFile>${manifestFileToUse}</manifestFile> >>> </archive> >>> <overlays> >>> <overlay> >>> <groupId>org.apereo.cas</groupId> >>> >>> <artifactId>cas-management-webapp</artifactId> >>> </overlay> >>> </overlays> >>> </configuration> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-compiler-plugin</artifactId> >>> <version>3.3</version> >>> </plugin> >>> </plugins> >>> <finalName>cas-management</finalName> >>> </build> >>> >>> <dependencies> >>> <dependency> >>> <groupId>org.apereo.cas</groupId> >>> <artifactId>cas-management-webapp</artifactId> >>> <version>${cas.version}</version> >>> <type>war</type> >>> </dependency> >>> <dependency> >>> <groupId>org.apereo.cas</groupId> >>> >>> <artifactId>cas-management-webapp-support-ldap</artifactId> >>> <version>${cas.version}</version> >>> </dependency> >>> </dependencies> >>> >>> <properties> >>> <cas.version>5.2.0-SNAPSHOT</cas.version> >>> <springboot.version>1.5.8.RELEASE</springboot.version> >>> >>> <mainClassName>org.springframework.boot.loader.WarLauncher</mainClassName> >>> <isExecutable>false</isExecutable> >>> >>> <manifestFileToUse>${project.build.directory}/war/work/org.apereo.cas/cas-management-webapp/META-INF/MANIFEST.MF</manifestFileToUse> >>> >>> <maven.compiler.source>1.8</maven.compiler.source> >>> <maven.compiler.target>1.8</maven.compiler.target> >>> >>> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> >>> </properties> >>> >>> <repositories> >>> <repository> >>> <id>sonatype-releases</id> >>> <url>http://oss.sonatype.org/content/repositories/releases/ >>> </url> >>> <snapshots> >>> <enabled>false</enabled> >>> </snapshots> >>> <releases> >>> <enabled>true</enabled> >>> </releases> >>> </repository> >>> <repository> >>> <id>sonatype-snapshots</id> >>> <url> >>> https://oss.sonatype.org/content/repositories/snapshots/</url> >>> <snapshots> >>> <enabled>true</enabled> >>> </snapshots> >>> <releases> >>> <enabled>false</enabled> >>> </releases> >>> </repository> >>> <repository> >>> <id>shibboleth-releases</id> >>> <url> >>> https://build.shibboleth.net/nexus/content/repositories/releases</url> >>> </repository> >>> </repositories> >>> >>> <profiles> >>> <profile> >>> <activation> >>> <activeByDefault>true</activeByDefault> >>> </activation> >>> <id>exec</id> >>> <properties> >>> >>> <mainClassName>org.apereo.cas.mgmt.web.CasManagementWebApplication</mainClassName> >>> <isExecutable>true</isExecutable> >>> <manifestFileToUse></manifestFileToUse> >>> </properties> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>com.soebes.maven.plugins</groupId> >>> <artifactId>echo-maven-plugin</artifactId> >>> <version>0.3.0</version> >>> <executions> >>> <execution> >>> <phase>prepare-package</phase> >>> <goals> >>> <goal>echo</goal> >>> </goals> >>> </execution> >>> </executions> >>> <configuration> >>> <echos> >>> <echo>Executable profile to make the >>> generated CAS management application executable.</echo></echos> >>> </configuration> >>> </plugin> >>> </plugins> >>> </build> >>> </profile> >>> >>> <profile> >>> <activation> >>> <activeByDefault>false</activeByDefault> >>> </activation> >>> <id>pgp</id> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>com.github.s4u.plugins</groupId> >>> <artifactId>pgpverify-maven-plugin</artifactId> >>> <version>1.1.0</version> >>> <executions> >>> <execution> >>> <goals> >>> <goal>check</goal> >>> </goals> >>> </execution> >>> </executions> >>> <configuration> >>> <pgpKeyServer>hkp://pool.sks-keyservers.net >>> </pgpKeyServer> >>> >>> <pgpKeysCachePath>${settings.localRepository}/pgpkeys-cache</pgpKeysCachePath> >>> <scope>test</scope> >>> <verifyPomFiles>true</verifyPomFiles> >>> <failNoSignature>false</failNoSignature> >>> </configuration> >>> </plugin> >>> </plugins> >>> </build> >>> </profile> >>> </profiles> >>> </project> >>> >>> >>> *pom.xml (CAS)* >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> <project xmlns="http://maven.apache.org/POM/4.0.0" >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 >>> http://maven.apache.org/xsd/maven-4.0.0.xsd "> >>> <modelVersion>4.0.0</modelVersion> >>> <groupId>org.apereo.cas</groupId> >>> <artifactId>cas-overlay</artifactId> >>> <packaging>war</packaging> >>> <version>1.0</version> >>> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>com.rimerosolutions.maven.plugins</groupId> >>> <artifactId>wrapper-maven-plugin</artifactId> >>> <version>0.0.4</version> >>> <configuration> >>> <verifyDownload>true</verifyDownload> >>> <checksumAlgorithm>MD5</checksumAlgorithm> >>> </configuration> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-war-plugin</artifactId> >>> <version>2.6</version> >>> <configuration> >>> <warName>cas-management</warName> >>> <failOnMissingWebXml>false</failOnMissingWebXml> >>> <recompressZippedFiles>false</recompressZippedFiles> >>> <archive> >>> <compress>false</compress> >>> <manifestFile>${manifestFileToUse}</manifestFile> >>> </archive> >>> <overlays> >>> <overlay> >>> <groupId>org.apereo.cas</groupId> >>> >>> <artifactId>cas-management-webapp</artifactId> >>> </overlay> >>> </overlays> >>> </configuration> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-compiler-plugin</artifactId> >>> <version>3.3</version> >>> </plugin> >>> </plugins> >>> <finalName>cas-management</finalName> >>> </build> >>> >>> <dependencies> >>> <dependency> >>> <groupId>org.apereo.cas</groupId> >>> <artifactId>cas-management-webapp</artifactId> >>> <version>${cas.version}</version> >>> <type>war</type> >>> </dependency> >>> <dependency> >>> <groupId>org.apereo.cas</groupId> >>> <artifactId>cas-management-webapp-support-ldap</artifactId> >>> <version>${cas.version}</version> >>> </dependency> >>> </dependencies> >>> >>> <properties> >>> <cas.version>5.2.0-SNAPSHOT</cas.version> >>> <maven.compiler.source>1.8</maven.compiler.source> >>> <maven.compiler.target>1.8</maven.compiler.target> >>> >>> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> >>> </properties> >>> >>> <repositories> >>> <repository> >>> <id>sonatype-releases</id> >>> <url>http://oss.sonatype.org/content/repositories/releases/ >>> </url> >>> <snapshots> >>> <enabled>false</enabled> >>> </snapshots> >>> <releases> >>> <enabled>true</enabled> >>> </releases> >>> </repository> >>> <repository> >>> <id>sonatype-snapshots</id> >>> <url> >>> https://oss.sonatype.org/content/repositories/snapshots/</url> >>> <snapshots> >>> <enabled>true</enabled> >>> </snapshots> >>> <releases> >>> <enabled>false</enabled> >>> </releases> >>> </repository> >>> <repository> >>> <id>shibboleth-releases</id> >>> <url> >>> https://build.shibboleth.net/nexus/content/repositories/releases</url> >>> </repository> >>> </repositories> >>> >>> <profiles> >>> <profile> >>> <activation> >>> <activeByDefault>false</activeByDefault> >>> </activation> >>> <id>exec</id> >>> <properties> >>> >>> <mainClassName>org.apereo.cas.mgmt.web.CasManagementWebApplication</mainClassName> >>> <isExecutable>true</isExecutable> >>> <manifestFileToUse></manifestFileToUse> >>> </properties> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>com.soebes.maven.plugins</groupId> >>> <artifactId>echo-maven-plugin</artifactId> >>> <version>0.3.0</version> >>> <executions> >>> <execution> >>> <phase>prepare-package</phase> >>> <goals> >>> <goal>echo</goal> >>> </goals> >>> </execution> >>> </executions> >>> <configuration> >>> <echos> >>> <echo>Executable profile to make the >>> generated CAS management application executable.</echo></echos> >>> </configuration> >>> </plugin> >>> </plugins> >>> </build> >>> </profile> >>> >>> <profile> >>> <activation> >>> <activeByDefault>false</activeByDefault> >>> </activation> >>> <id>pgp</id> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>com.github.s4u.plugins</groupId> >>> <artifactId>pgpverify-maven-plugin</artifactId> >>> <version>1.1.0</version> >>> <executions> >>> <execution> >>> <goals> >>> <goal>check</goal> >>> </goals> >>> </execution> >>> </executions> >>> <configuration> >>> <pgpKeyServer>hkp://pool.sks-keyservers.net >>> </pgpKeyServer> >>> >>> <pgpKeysCachePath>${settings.localRepository}/pgpkeys-cache</pgpKeysCachePath> >>> <scope>test</scope> >>> <verifyPomFiles>true</verifyPomFiles> >>> <failNoSignature>false</failNoSignature> >>> </configuration> >>> </plugin> >>> </plugins> >>> </build> >>> </profile> >>> </profiles> >>> </project> >>> >>> *ERROR message * >>> >>> 2017-10-30 15:34:01,723 ERROR >>> [org.apereo.cas.mgmt.services.web.AbstractManagementController] - >>> java.lang.NullPointerException >>> org.pac4j.core.exception.TechnicalException: >>> java.lang.NullPointerException >>> at >>> org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:165) >>> ~[pac4j-core-2.1.0.jar:?] >>> at >>> org.pac4j.springframework.web.SecurityInterceptor.preHandle(SecurityInterceptor.java:65) >>> ~[spring-webmvc-pac4j-2.0.0.jar:?] >>> at >>> org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:133) >>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:962) >>> [spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) >>> [spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) >>> [spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) >>> [spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) >>> [tomcat8-servlet-api-8.0.32.jar:?] >>> at >>> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) >>> [spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) >>> [tomcat8-servlet-api-8.0.32.jar:?] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >>> [tomcat8-websocket-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) >>> [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE] >>> at >>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apereo.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:64) >>> [inspektr-common-1.7.GA.jar:1.7.GA] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110) >>> [spring-boot-actuator-1.5.8.RELEASE.jar:1.5.8.RELEASE] >>> at >>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106) >>> [spring-boot-actuator-1.5.8.RELEASE.jar:1.5.8.RELEASE] >>> at >>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.springframework.boot.web.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:115) >>> [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE] >>> at >>> org.springframework.boot.web.support.ErrorPageFilter.access$000(ErrorPageFilter.java:59) >>> [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE] >>> at >>> org.springframework.boot.web.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:90) >>> [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE] >>> at >>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) >>> [spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.boot.web.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:108) >>> [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) >>> [log4j-web-2.9.1.jar:2.9.1] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) >>> [tomcat8-catalina-8.0.32.jar:8.0.32] >>> at >>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) >>> [tomcat8-coyote-8.0.32.jar:8.0.32] >>> at >>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) >>> [tomcat8-coyote-8.0.32.jar:8.0.32] >>> at >>> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2500) >>> [tomcat8-coyote-8.0.32.jar:8.0.32] >>> at >>> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2489) >>> [tomcat8-coyote-8.0.32.jar:8.0.32] >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) >>> [?:1.8.0_131] >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) >>> [?:1.8.0_131] >>> at >>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>> [tomcat8-util-8.0.32.jar:8.0.32] >>> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] >>> Caused by: java.lang.NullPointerException >>> at >>> org.apereo.cas.util.LdapUtils.lambda$newLdaptiveSearchFilter$2(LdapUtils.java:533) >>> ~[cas-server-support-ldap-core-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT] >>> at >>> java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110) >>> ~[?:1.8.0_131] >>> at java.util.stream.IntPipeline$Head.forEach(IntPipeline.java:557) >>> ~[?:1.8.0_131] >>> at >>> org.apereo.cas.util.LdapUtils.newLdaptiveSearchFilter(LdapUtils.java:532) >>> ~[cas-server-support-ldap-core-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT] >>> at >>> org.apereo.cas.authorization.BaseUseAttributesAuthorizationGenerator.generate(BaseUseAttributesAuthorizationGenerator.java:82) >>> ~[cas-server-support-ldap-core-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT] >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> ~[?:1.8.0_131] >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>> ~[?:1.8.0_131] >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> ~[?:1.8.0_131] >>> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131] >>> at >>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) >>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) >>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) >>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) >>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) >>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) >>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at >>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) >>> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE] >>> at com.sun.proxy.$Proxy492.generate(Unknown Source) ~[?:?] >>> at >>> org.pac4j.core.client.BaseClient.getUserProfile(BaseClient.java:88) >>> ~[pac4j-core-2.1.0.jar:?] >>> at >>> org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:113) >>> ~[pac4j-core-2.1.0.jar:?] >>> ... 71 more >>> >>> Could you please advise. >>> >>> >>> Thanks >>> >>> Krzysztof Kluczynski >>> >> -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cas-user+unsubscr...@apereo.org. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/dc03fc48-4219-41ee-b40c-ce4e60c2560b%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/dc03fc48-4219-41ee-b40c-ce4e60c2560b%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALm%2ByJ2PKgPtepqQVg32xAALao_WD%2BqsNTCJB0BF0M0MViWXNA%40mail.gmail.com.