Running into an odd issue with cas-management version 6.3.5. Attempting to
import a published federation metadata and the interface errors out with the
message that the entry already exists. The entry does not exist.
In the catalina logs the only output is:
2021-11-09 11:42:14,319 ERROR [org.apereo.cas.mgmt.SamlController] - <<?xml
version="1.0" encoding="UTF-8"?>
... snip to abbreviate very long xml file ...
>
2021-11-09 11:42:14,997 ERROR
[org.springframework.boot.web.servlet.support.ErrorPageFilter] - <Forwarding to
error page from request [/api/saml/download] due to exception
[org.springframework.web.util.NestedServletException: Request processing
failed; nested exception is java.lang.NullPointerException]>
java.lang.RuntimeException:
org.springframework.web.util.NestedServletException: Request processing failed;
nested exception is java.lang.NullPointerException
at
org.pac4j.core.engine.AbstractExceptionAwareLogic.runtimeException(AbstractExceptionAwareLogic.java:64)
~[pac4j-core-4.5.0.jar:?]
at
org.pac4j.core.engine.AbstractExceptionAwareLogic.handleException(AbstractExceptionAwareLogic.java:49)
~[pac4j-core-4.5.0.jar:?]
at
org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:171)
~[pac4j-core-4.5.0.jar:?]
at
org.pac4j.springframework.security.web.SecurityFilter.doFilter(SecurityFilter.java:73)
~[spring-security-pac4j-5.1.0.jar:?]
... snip to abbreviate very long nested null pointer exception ...
Caused by: java.lang.NullPointerException
at
org.apereo.cas.mgmt.SamlController.createService(SamlController.java:188)
~[cas-mgmt-support-saml-6.3.5.jar:6.3.5]
at org.apereo.cas.mgmt.SamlController.download(SamlController.java:174)
~[cas-mgmt-support-saml-6.3.5.jar:6.3.5]
It seems as if the error is coming from
service.setSignAssertions(spDescriptor.getWantAssertionsSigned());
Setting logging for org.apereo.cas.mgmt to debug does not seemingly provide
more insight into this issue.
--
- 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/b5c0f56edda949ee92b284f22efe7a0d%40mun.ca.