<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Dear all,</p>
    <p>Is there anyone that could help me with this problem ? I cannot
      find any solution at the moment.</p>
    <p>Thanks a lot for your help.</p>
    <p>Luca<br>
    </p>
    <div class="moz-cite-prefix">On 23.07.24 08:50, Luca Verardo wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:7a-669f5300-3-7557740@158231414">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Dear community,<br>
      <br>
      Today I tried to upgrade to 4.8 from 4.7.4 and it fails to do so.
      The logs says the following : 
      <blockquote>
        <p>midpoint_server-1  | java.lang.NullPointerException: Couldn't
          build authentication channel object, because sequence is null<br>
          midpoint_server-1  |    at
          java.base/java.util.Objects.requireNonNull(Objects.java:336)<br>
          midpoint_server-1  |    at
          org.apache.commons.lang3.Validate.notNull(Validate.java:224)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.authentication.impl.util.AuthSequenceUtil.buildAuthChannel(AuthSequenceUtil.java:321)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.authentication.impl.filter.AuthenticationWrapper.initializeAuthenticationChannel(AuthenticationWrapper.java:228)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.authentication.impl.filter.AuthenticationWrapper.create(AuthenticationWrapper.java:92)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.authentication.impl.filter.MidpointAuthFilter.initAuthenticationWrapper(MidpointAuthFilter.java:310)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.authentication.impl.filter.MidpointAuthFilter.doFilterInternal(MidpointAuthFilter.java:110)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.authentication.impl.filter.MidpointAuthFilter.doFilter(MidpointAuthFilter.java:95)<br>
          midpoint_server-1  |    at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.authentication.impl.filter.TransformExceptionFilter.doFilterInternal(TransformExceptionFilter.java:32)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)<br>
          midpoint_server-1  |    at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.authentication.impl.filter.SequenceAuditFilter.doFilterInternal(SequenceAuditFilter.java:90)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)<br>
          midpoint_server-1  |    at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)<br>
          midpoint_server-1  |    at
org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:151)<br>
          midpoint_server-1  |    at
org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:129)<br>
          midpoint_server-1  |    at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)<br>
          midpoint_server-1  |    at
org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82)<br>
          midpoint_server-1  |    at
org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69)<br>
          midpoint_server-1  |    at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)<br>
          midpoint_server-1  |    at
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)<br>
          midpoint_server-1  |    at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)<br>
          midpoint_server-1  |    at
org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)<br>
          midpoint_server-1  |    at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)<br>
          midpoint_server-1  |    at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233)<br>
          midpoint_server-1  |    at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.web.boot.TrailingSlashRedirectingFilter.doFilterInternal(TrailingSlashRedirectingFilter.java:60)<br>
          midpoint_server-1  |    at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)<br>
          midpoint_server-1  |    at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)<br>
          midpoint_server-1  |    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)<br>
          midpoint_server-1  |    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.web.boot.NodeIdHeaderValve.invoke(NodeIdHeaderValve.java:41)<br>
          midpoint_server-1  |    at
com.evolveum.midpoint.web.boot.TomcatRootValve.invoke(TomcatRootValve.java:61)<br>
          midpoint_server-1  |    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)<br>
          midpoint_server-1  |    at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)<br>
          midpoint_server-1  |    at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)<br>
          midpoint_server-1  |    at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894)<br>
          midpoint_server-1  |    at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1740)<br>
          midpoint_server-1  |    at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)<br>
          midpoint_server-1  |    at
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)<br>
          midpoint_server-1  |    at
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)<br>
          midpoint_server-1  |    at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)<br>
          midpoint_server-1  |    at
          java.base/java.lang.Thread.run(Thread.java:833)<br>
          ​​​​​​</p>
      </blockquote>
      <p>Would it be possible to check what could be causing this ?<br>
        <br>
        Thanks a lot in advance.</p>
    </blockquote>
  </body>
</html>