<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:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 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:"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;}
/* Style Definitions */
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;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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="en-CH" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;mso-fareast-language:#2000">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;mso-fareast-language:#2000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;mso-fareast-language:#2000">I have midpoint 4.4.1 running on the system.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;mso-fareast-language:#2000">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 lang="EN-US" style="font-size:14.0pt;mso-fareast-language:#2000">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 lang="EN-US" style="mso-fareast-language:#2000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;mso-fareast-language:#2000">Here is the 500 error when I click task related:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:#2000"><img width="690" height="282" style="width:7.1916in;height:2.9333in" id="Picture_x0020_1" src="cid:image001.png@01D84E93.844EDEB0"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:#2000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;mso-fareast-language:#2000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;mso-fareast-language:#2000">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 lang="EN-US" style="font-size:14.0pt">Any idea?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Thank you very much for your help!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Hsin-Fang<o:p></o:p></span></p>
</div>
</body>
</html>