CAS 6.1.0 RC6 Stack Overflow Error

33 views
Skip to first unread message

Mallory, Erik

unread,
Sep 23, 2019, 4:52:33 PM9/23/19
to cas-...@apereo.org

Hello

When I try loggin into our Luminis 5 portal as the delivered Luminis admin I get a “cas login failed” I tailed the cas.log in debug mode and got the error below. Really that is about 15% of the error thrown. If I log into luminis as unprivileged user everything works. I’m not sure what the problem would be. The luminis admin portal runs on port 8443 that’s the only difference I can think of on the luminis side of the fence.

 

2019-09-23 15:39:17,510 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Adding default attributes first to the released set of attributes>

2019-09-23 15:39:17,510 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Attempting to resolve the principal id for service [^(http|https)://mywsu-dev.wichita.edu:8443.*]>

2019-09-23 15:39:17,510 DEBUG [org.apereo.cas.services.PrincipalAttributeRegisteredServiceUsernameProvider] - <Original principal attributes available for selection of username attribute [UDC_IDENTIFIER] are [{commonName=[lumadm], displayName=[lumadm], givenName=[Luminis], sn=[User], UDC_IDENTIFIER=[lumadm]}].>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.PrincipalAttributeRegisteredServiceUsernameProvider] - <Located service [[!!!org.apereo.cas.services.RegexRegisteredService@66cb9a63=>java.lang.StackOverflowError:null!!!]] in the registry. Attempting to resolve attributes for [lumadm]>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Initiating attributes release phase for principal [lumadm] accessing service [AbstractWebApplicationService(id=https://mywsu-dev.wichita.edu:8443/c/portal/login, originalUrl=https://mywsu-dev.wichita.edu:8443/c/portal/login, artifactId=null, principal=lumadm, source=service, loggedOutAlready=false, format=XML, attributes={})] defined by registered service [^(http|https)://mywsu-dev.wichita.edu:8443.*]...>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Using principal attribute repository [DefaultPrincipalAttributesRepository()] to retrieve attributes>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.authentication.principal.DefaultPrincipalAttributesRepository] - <Using [lumadm], no caching takes place for [DefaultPrincipalAttributesRepository] to add attributes.>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Found principal attributes [{commonName=[lumadm], UDC_IDENTIFIER=[lumadm], displayName=[lumadm], givenName=[Luminis], sn=[User]}] for [lumadm]>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Attribute policy [ReturnAllAttributeReleasePolicy] allows release of [{commonName=[lumadm], UDC_IDENTIFIER=[lumadm], displayName=[lumadm], givenName=[Luminis], sn=[User]}] for [lumadm]>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Default attributes for release are: [[mail, givenName, sn]]>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Found and added default attribute for release: [givenName]>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Found and added default attribute for release: [sn]>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Default attributes found to be released are [{givenName=[Luminis], sn=[User]}]>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Adding default attributes first to the released set of attributes>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Attempting to resolve the principal id for service [^(http|https)://mywsu-dev.wichita.edu:8443.*]>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.PrincipalAttributeRegisteredServiceUsernameProvider] - <Original principal attributes available for selection of username attribute [UDC_IDENTIFIER] are [{commonName=[lumadm], displayName=[lumadm], givenName=[Luminis], sn=[User], UDC_IDENTIFIER=[lumadm]}].>

2019-09-23 15:39:17,511 DEBUG [org.apereo.cas.services.PrincipalAttributeRegisteredServiceUsernameProvider] - <Located service [[!!!org.apereo.cas.services.RegexRegisteredService@66cb9a63=>java.lang.StackOverflowError:null!!!]] in the registry. Attempting to resolve attributes for [lumadm]>

2019-09-23 15:39:17,512 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Initiating attributes release phase for principal [lumadm] accessing service [AbstractWebApplicationService(id=https://mywsu-dev.wichita.edu:8443/c/portal/login, originalUrl=https://mywsu-dev.wichita.edu:8443/c/portal/login, artifactId=null, principal=lumadm, source=service, loggedOutAlready=false, format=XML, attributes={})] defined by registered service [^(http|https)://mywsu-dev.wichita.edu:8443.*]...>

2019-09-23 15:39:17,512 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Using principal attribute repository [DefaultPrincipalAttributesRepository()] to retrieve attributes>

2019-09-23 15:39:17,512 DEBUG [org.apereo.cas.authentication.principal.DefaultPrincipalAttributesRepository] - <Using [lumadm], no caching takes place for [DefaultPrincipalAttributesRepository] to add attributes.>

2019-09-23 15:39:17,512 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Found principal attributes [{commonName=[lumadm], UDC_IDENTIFIER=[lumadm], displayName=[lumadm], givenName=[Luminis], sn=[User]}] for [lumadm]>

2019-09-23 15:39:17,512 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - <Attribute policy [ReturnAllAttributeReleasePolicy] allows release of [{commonName=[lumadm], UDC_IDENTIFIER=[lumadm], displayName=[lumadm], givenName=[Luminis], sn=[User]}] for [lumadm]>

2019-09-23 15:39:17,513 DEBUG [org.apereo.cas.ticket.expiration.MultiTimeUseOrTimeoutExpirationPolicy] - <Ticket usage count [1] is greater than or equal to [1]. Ticket has expired>

2019-09-23 15:39:17,513 DEBUG [org.apereo.cas.ticket.registry.AbstractTicketRegistry] - <Encoded original ticket id [ST-50-BuWRN338Us6GEg3PE8xQeZUjaoE-cas-dev.wichita.edu] to [74530d5dd401dddf8daaa8ab4c05e056481898907aeb52d9d44ab14c0b9828df263baa6c5e4997f44f228003e8ee2ebf11c3d30cbc0e6803dc916b94298781ee]>

2019-09-23 15:39:17,513 DEBUG [org.apereo.cas.ticket.registry.HazelcastTicketRegistry] - <Locating map name [serviceTicketsCache] for ticket definition [DefaultTicketDefinition(implementationClass=class org.apereo.cas.ticket.ServiceTicketImpl, prefix=ST, properties=DefaultTicketDefinitionProperties(cascade=false, storageName=serviceTicketsCache, storageTimeout=10, storagePassword=null), order=-2147483648)]>

2019-09-23 15:39:17,513 DEBUG [org.apereo.cas.ticket.registry.HazelcastTicketRegistry] - <Located Hazelcast map instance [serviceTicketsCache]>

2019-09-23 15:39:17,513 DEBUG [org.apereo.cas.ticket.registry.AbstractTicketRegistry] - <Attempting to decode [EncodedTicket(id=74530d5dd401dddf8daaa8ab4c05e056481898907aeb52d9d44ab14c0b9828df263baa6c5e4997f44f228003e8ee2ebf11c3d30cbc0e6803dc916b94298781ee)]>

2019-09-23 15:39:17,514 DEBUG [org.apereo.cas.ticket.registry.AbstractTicketRegistry] - <Decoded ticket to [ST-50-BuWRN338Us6GEg3PE8xQeZUjaoE-cas-dev.wichita.edu]>

2019-09-23 15:39:17,514 DEBUG [org.apereo.cas.ticket.registry.AbstractTicketRegistry] - <Removing ticket [ST-50-BuWRN338Us6GEg3PE8xQeZUjaoE-cas-dev.wichita.edu] from the registry.>

2019-09-23 15:39:17,514 DEBUG [org.apereo.cas.ticket.registry.AbstractTicketRegistry] - <Encoded original ticket id [ST-50-BuWRN338Us6GEg3PE8xQeZUjaoE-cas-dev.wichita.edu] to [74530d5dd401dddf8daaa8ab4c05e056481898907aeb52d9d44ab14c0b9828df263baa6c5e4997f44f228003e8ee2ebf11c3d30cbc0e6803dc916b94298781ee]>

2019-09-23 15:39:17,514 DEBUG [org.apereo.cas.ticket.registry.HazelcastTicketRegistry] - <Locating map name [serviceTicketsCache] for ticket definition [DefaultTicketDefinition(implementationClass=class org.apereo.cas.ticket.ServiceTicketImpl, prefix=ST, properties=DefaultTicketDefinitionProperties(cascade=false, storageName=serviceTicketsCache, storageTimeout=10, storagePassword=null), order=-2147483648)]>

2019-09-23 15:39:17,514 DEBUG [org.apereo.cas.ticket.registry.HazelcastTicketRegistry] - <Located Hazelcast map instance [serviceTicketsCache]>

2019-09-23 15:39:17,518 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: audit:unknown

WHAT: ST-50-BuWRN338Us6GEg3PE8xQeZUjaoE-cas-dev.wichita.edu for https://mywsu-dev.wichita.edu:8443/c/portal/login

ACTION: SERVICE_TICKET_VALIDATE_FAILED

APPLICATION: CAS

WHEN: Mon Sep 23 15:39:17 CDT 2019

CLIENT IP ADDRESS: 10.0.79.19

SERVER IP ADDRESS: 10.0.79.50

=============================================================

 

> 

2019-09-23 15:39:17,518 DEBUG [org.apereo.cas.web.FlowExecutionExceptionResolver] - <Ignoring the received exception [org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.StackOverflowError] due to a type mismatch with handler [org.apereo.cas.web.v2.ServiceValidateController#handleRequestInternal(HttpServletRequest, HttpServletResponse)]>

2019-09-23 15:39:17,518 DEBUG [org.apereo.cas.web.FlowExecutionExceptionResolver] - <Ignoring the received exception [org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.StackOverflowError] due to a type mismatch with handler [org.apereo.cas.web.v2.ServiceValidateController#handleRequestInternal(HttpServletRequest, HttpServletResponse)]>

2019-09-23 15:39:17,519 ERROR [org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/cas].[dispatcherServlet]] - <Servlet.service() for servlet [dispatcherServlet] in context with path [/cas] threw exception [Handler dispatch failed; nested exception is java.lang.StackOverflowError] with root cause>

java.lang.StackOverflowError: null

        at java.util.HashMap.putVal(HashMap.java:624) ~[?:?]

        at java.util.HashMap.put(HashMap.java:607) ~[?:?]

        at java.util.HashSet.add(HashSet.java:220) ~[?:?]

        at java.util.AbstractCollection.addAll(AbstractCollection.java:352) ~[?:?]

 

Let me know if there is anything else I can provide. I’ll see if changing the setting  changes the behavior.

Thanks,

Erik Mallory

Server Analyst 

Wichita State University

 

Reply all
Reply to author
Forward
0 new messages