[midPoint] click Server tasks shows "Failed to convert query. Reason: Attempt to store multiple values in single-valued property handlerUri"
Pavol Mederly
mederly at evolveum.com
Wed Apr 20 11:50:50 CEST 2022
Hello,
it seems to me as a *query* problem, as indicated in the screenshot, and
in the stack trace. So the task objects should be really OK.
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).
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.
Best regards,
--
Pavol Mederly
Software developer
evolveum.com
On 13/04/2022 09:08, Hsin-Fang Hsu via midPoint wrote:
>
> Hi,
>
> I have midpoint 4.4.1 running on the system.
>
> 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).
>
> 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>.
>
> Here is the 500 error when I click task related:
>
> Here is the detailed logs from the error.
>
> Failed to convert query. Reason: Attempt to store multiple values in
> single-valued property handlerUri
>
> com.evolveum.midpoint.util.exception.SchemaException: Failed to
> convert query. Reason: Attempt to store multiple values in
> single-valued property handlerUri
>
> Caused by: com.evolveum.midpoint.util.exception.SchemaException:
> Attempt to store multiple values in single-valued property handlerUri
>
> at com.evolveum.midpoint.util.Checks.checkSchema(Checks.java:30)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller.parseProperty(PrismUnmarshaller.java:469)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller.parseItemInternal(PrismUnmarshaller.java:199)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller.parseItem(PrismUnmarshaller.java:140)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.PrismParserImpl.doParseItem(PrismParserImpl.java:226)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.PrismParserImpl.doParseItem(PrismParserImpl.java:157)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.PrismParserImplNoIO.parseItem(PrismParserImplNoIO.java:111)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseItem(QueryConverterImpl.java:665)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseComparisonFilter(QueryConverterImpl.java:314)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseFilterInternal(QueryConverterImpl.java:183)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseFilterInternal(QueryConverterImpl.java:155)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.parseFilter(QueryConverterImpl.java:120)
>
> at
> com.evolveum.midpoint.prism.impl.marshaller.QueryConverterImpl.createObjectQueryInternal(QueryConverterImpl.java:1015)
>
> ... 151 common frames omitted
>
> Any idea?
>
> Thank you very much for your help!
>
> Best regards,
>
> Hsin-Fang
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220420/fb51e2af/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 91705 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220420/fb51e2af/attachment-0001.png>
More information about the midPoint
mailing list