<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>it seems to me as a <b>query</b> problem, as indicated in the
screenshot, and in the stack trace. So the task objects should be
really OK.</p>
<p>I am not a GUI expert, so the following are pure guesses: May it
be some (saved?) strange search query? Some collection
configuration? Authorization configuration? Maybe the full stack
trace would tell us (but maybe not).<br>
</p>
<p>BTW, the query parsing is faulty in this respect: midPoint does
not allow to specify multiple values in "equal" filter if the item
in question is defined as single valued. This should be fixed some
day. You may create a JIRA for this.</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">--
Pavol Mederly
Software developer
evolveum.com</pre>
<div class="moz-cite-prefix">On 13/04/2022 09:08, Hsin-Fang Hsu via
midPoint wrote:<br>
</div>
<blockquote type="cite"
cite="mid:GV0P278MB0672AD75FCB00534AC208A18AEEC9@GV0P278MB0672.CHEP278.PROD.OUTLOOK.COM">
<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-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;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.EmailStyle18
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}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]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:14.0pt;mso-fareast-language:#2000"
lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;mso-fareast-language:#2000"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;mso-fareast-language:#2000"
lang="EN-US">I have midpoint 4.4.1 running on the system.
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;mso-fareast-language:#2000"
lang="EN-US">The error shows up whenever I click anything
related to task (click “Server tasks”, select tasks in the
repository objects, click defined tasks in resources).
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;mso-fareast-language:#2000"
lang="EN-US">As I cannot read the tasks from the GUI (500
error), I used midpoint restApi to download all tasks. None
of the task have more than one <handlerUri>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:#2000"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;mso-fareast-language:#2000"
lang="EN-US">Here is the 500 error when I click task
related:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:#2000"
lang="EN-US"><img style="width:7.1916in;height:2.9333in"
id="Picture_x0020_1"
src="cid:part1.E174ToRe.Zr9G36wG@evolveum.com" class=""
width="690" height="282"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:#2000"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;mso-fareast-language:#2000"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;mso-fareast-language:#2000"
lang="EN-US">Here is the detailed logs from the error.<o:p></o:p></span></p>
<p style="margin:0in"><span lang="EN-US">Failed to convert
query. Reason: Attempt to store multiple values in
single-valued property handlerUri<o:p></o:p></span></p>
<p style="margin:0in"><span lang="EN-US">com.evolveum.midpoint.util.exception.SchemaException:
Failed to convert query. Reason: Attempt to store multiple
values in single-valued property handlerUri<o:p></o:p></span></p>
<p style="margin:0in"><span lang="EN-US"> <o:p></o:p></span></p>
<p style="margin:0in"><span lang="EN-US">Caused by:
com.evolveum.midpoint.util.exception.SchemaException:
Attempt to store multiple values in single-valued property
handlerUri<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.util.Checks.checkSchema(Checks.java:30)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller.parseProperty(PrismUnmarshaller.java:469)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller.parseItemInternal(PrismUnmarshaller.java:199)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller.parseItem(PrismUnmarshaller.java:140)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.PrismParserImpl.doParseItem(PrismParserImpl.java:226)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.PrismParserImpl.doParseItem(PrismParserImpl.java:157)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.PrismParserImplNoIO.parseItem(PrismParserImplNoIO.java:111)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseItem(QueryConverterImpl.java:665)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseComparisonFilter(QueryConverterImpl.java:314)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseFilterInternal(QueryConverterImpl.java:183)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseFilterInternal(QueryConverterImpl.java:155)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseFilter(QueryConverterImpl.java:120)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">at
com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.createObjectQueryInternal(QueryConverterImpl.java:1015)<o:p></o:p></span></p>
<p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt"><span
lang="EN-US">... 151 common frames omitted<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:14.0pt" lang="EN-US">Any
idea?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt" lang="EN-US">Thank
you very much for your help!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt" lang="EN-US">Best
regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt" lang="EN-US">Hsin-Fang<o:p></o:p></span></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
</body>
</html>