<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US">Hi,<br>
<br>
did you update your initial objects?<br>
Maybe you need to update your security policy: <a href="https://github.com/Evolveum/midpoint/blob/cd127c31773b44744117543000893d118d0ad606/config/initial-objects/015-security-policy.xml">
https://github.com/Evolveum/midpoint/blob/cd127c31773b44744117543000893d118d0ad606/config/initial-objects/015-security-policy.xml</a><br>
In this commit the <name> tags have been migrated to <identifier><br>
<br>
It’s just a guess but maybe have a try.<br>
<br>
Kind Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US">Emil<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;color:black">Von:
</span></b><span style="font-family:"Calibri",sans-serif;color:black">midPoint <midpoint-bounces@lists.evolveum.com> im Auftrag von Luca Verardo via midPoint <midpoint@lists.evolveum.com><br>
<b>Antworten an: </b>midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Datum: </b>Donnerstag, 21. November 2024 um 13:44<br>
<b>An: </b>"midpoint@lists.evolveum.com" <midpoint@lists.evolveum.com><br>
<b>Cc: </b>Luca Verardo <luca@verardo.ch><br>
<b>Betreff: </b>Re: [midPoint] Cannot upgrade to 4.8 - "Couldn't build authentication channel object, because sequence is null"<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt;font-family:Helvetica;color:black;background:#FFEB9C">EXTERNE E-MAIL - Bitte prüfen Sie die Vertrauenswürdigkeit der Absender-Informationen, bevor Sie Links oder Anhänge öffnen.</span></strong>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><strong><span style="font-family:"Aptos",sans-serif">
<hr size="0" width="100%" align="center">
</span></strong></div>
<p>Dear all,<o:p></o:p></p>
<p>Is there anyone that could help me with this problem ? I cannot find any solution at the moment.<o:p></o:p></p>
<p>Thanks a lot for your help.<o:p></o:p></p>
<p>Luca<o:p></o:p></p>
<div>
<p class="MsoNormal">On 23.07.24 08:50, Luca Verardo wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">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 :
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<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>
<span style="font-family:"Arial",sans-serif"></span><o:p></o:p></p>
</blockquote>
<p>Would it be possible to check what could be causing this ?<br>
<br>
Thanks a lot in advance.<o:p></o:p></p>
</blockquote>
</div>
</body>
</html>