[midPoint] Cannot upgrade to 4.8 - "Couldn't build authentication channel object, because sequence is null"

Luca Verardo luca at verardo.ch
Tue Jul 23 08:50:59 CEST 2024


Dear community,

Today I tried to upgrade to 4.8 from 4.7.4 and it fails to do so. The logs says the following : 
midpoint_server-1  | java.lang.NullPointerException: Couldn't build authentication channel object, because sequence is null
midpoint_server-1  |    at java.base/java.util.Objects.requireNonNull(Objects.java:336)
midpoint_server-1  |    at org.apache.commons.lang3.Validate.notNull(Validate.java:224)
midpoint_server-1  |    at com.evolveum.midpoint.authentication.impl.util.AuthSequenceUtil.buildAuthChannel(AuthSequenceUtil.java:321)
midpoint_server-1  |    at com.evolveum.midpoint.authentication.impl.filter.AuthenticationWrapper.initializeAuthenticationChannel(AuthenticationWrapper.java:228)
midpoint_server-1  |    at com.evolveum.midpoint.authentication.impl.filter.AuthenticationWrapper.create(AuthenticationWrapper.java:92)
midpoint_server-1  |    at com.evolveum.midpoint.authentication.impl.filter.MidpointAuthFilter.initAuthenticationWrapper(MidpointAuthFilter.java:310)
midpoint_server-1  |    at com.evolveum.midpoint.authentication.impl.filter.MidpointAuthFilter.doFilterInternal(MidpointAuthFilter.java:110)
midpoint_server-1  |    at com.evolveum.midpoint.authentication.impl.filter.MidpointAuthFilter.doFilter(MidpointAuthFilter.java:95)
midpoint_server-1  |    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)
midpoint_server-1  |    at com.evolveum.midpoint.authentication.impl.filter.TransformExceptionFilter.doFilterInternal(TransformExceptionFilter.java:32)
midpoint_server-1  |    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
midpoint_server-1  |    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)
midpoint_server-1  |    at com.evolveum.midpoint.authentication.impl.filter.SequenceAuditFilter.doFilterInternal(SequenceAuditFilter.java:90)
midpoint_server-1  |    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
midpoint_server-1  |    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)
midpoint_server-1  |    at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:151)
midpoint_server-1  |    at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:129)
midpoint_server-1  |    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)
midpoint_server-1  |    at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82)
midpoint_server-1  |    at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69)
midpoint_server-1  |    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)
midpoint_server-1  |    at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62)
midpoint_server-1  |    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
midpoint_server-1  |    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)
midpoint_server-1  |    at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42)
midpoint_server-1  |    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
midpoint_server-1  |    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)
midpoint_server-1  |    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233)
midpoint_server-1  |    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191)
midpoint_server-1  |    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352)
midpoint_server-1  |    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
midpoint_server-1  |    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
midpoint_server-1  |    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
midpoint_server-1  |    at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
midpoint_server-1  |    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
midpoint_server-1  |    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
midpoint_server-1  |    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
midpoint_server-1  |    at com.evolveum.midpoint.web.boot.TrailingSlashRedirectingFilter.doFilterInternal(TrailingSlashRedirectingFilter.java:60)
midpoint_server-1  |    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
midpoint_server-1  |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
midpoint_server-1  |    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166)
midpoint_server-1  |    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
midpoint_server-1  |    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
midpoint_server-1  |    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
midpoint_server-1  |    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
midpoint_server-1  |    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
midpoint_server-1  |    at com.evolveum.midpoint.web.boot.NodeIdHeaderValve.invoke(NodeIdHeaderValve.java:41)
midpoint_server-1  |    at com.evolveum.midpoint.web.boot.TomcatRootValve.invoke(TomcatRootValve.java:61)
midpoint_server-1  |    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
midpoint_server-1  |    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
midpoint_server-1  |    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
midpoint_server-1  |    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894)
midpoint_server-1  |    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1740)
midpoint_server-1  |    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
midpoint_server-1  |    at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
midpoint_server-1  |    at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
midpoint_server-1  |    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
midpoint_server-1  |    at java.base/java.lang.Thread.run(Thread.java:833)
​​​​​​
Would it be possible to check what could be causing this ?

Thanks a lot in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20240723/6fa03faa/attachment.htm>


More information about the midPoint mailing list