[midPoint] Cannot upgrade to 4.8 - "Couldn't build authentication channel object, because sequence is null"
iam-mailing at tk.de
iam-mailing at tk.de
Thu Nov 28 14:34:45 CET 2024
Hi,
did you update your initial objects?
Maybe you need to update your security policy: https://github.com/Evolveum/midpoint/blob/cd127c31773b44744117543000893d118d0ad606/config/initial-objects/015-security-policy.xml
In this commit the <name> tags have been migrated to <identifier>
It’s just a guess but maybe have a try.
Kind Regards
Emil
Von: midPoint <midpoint-bounces at lists.evolveum.com> im Auftrag von Luca Verardo via midPoint <midpoint at lists.evolveum.com>
Antworten an: midPoint General Discussion <midpoint at lists.evolveum.com>
Datum: Donnerstag, 21. November 2024 um 13:44
An: "midpoint at lists.evolveum.com" <midpoint at lists.evolveum.com>
Cc: Luca Verardo <luca at verardo.ch>
Betreff: Re: [midPoint] Cannot upgrade to 4.8 - "Couldn't build authentication channel object, because sequence is null"
EXTERNE E-MAIL - Bitte prüfen Sie die Vertrauenswürdigkeit der Absender-Informationen, bevor Sie Links oder Anhänge öffnen.
________________________________
Dear all,
Is there anyone that could help me with this problem ? I cannot find any solution at the moment.
Thanks a lot for your help.
Luca
On 23.07.24 08:50, Luca Verardo wrote:
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/20241128/650bc6ad/attachment-0001.htm>
More information about the midPoint
mailing list