<font size=2 face="sans-serif">hi guys, </font>
<br>
<br><font size=2 face="sans-serif">we have customer's test environment
where we have upgraded midpoint from 3.5.1 to 3.6.1</font>
<br><font size=2 face="sans-serif">After this upgrade we have some users,
about 30, having following Exception during reconsiliation:</font>
<br>
<br><font size=2 face="sans-serif">2018-01-15 17:33:30,325 [] [Thread-77]
ERROR (com.evolveum.midpoint.web.component.progress.ProgressReporter):
Error executing changes.</font>
<br><font size=2 face="sans-serif">java.lang.IllegalStateException: Null
parent for value PCV(1):[PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)],
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002,
targetType={.../common/common-3}UserType, relation={.../common/org-3}default)],
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)],
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002,
targetType={.../common/common-3}UserType, relation={.../common/org-3}default)],
PP({.../common/common-3}createChannel):[PPV(String:</font><a href="http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation</font></a><font size=2 face="sans-serif">)]]],
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001,
targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)],
PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]
in item PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}assignment):[PCV(1):[PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)],
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002,
targetType={.../common/common-3}UserType, relation={.../common/org-3}default)],
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)],
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002,
targetType={.../common/common-3}UserType, relation={.../common/org-3}default)],
PP({.../common/common-3}createChannel):[PPV(String:</font><a href="http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation</font></a><font size=2 face="sans-serif">)]]],
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001,
targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)],
PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]]
(assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); in
current user in LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46)</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111]</font>
<br><font size=2 face="sans-serif"> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_111]</font>
<br><font size=2 face="sans-serif"> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_111]</font>
<br><font size=2 face="sans-serif"> at
java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]</font>
<br><font size=2 face="sans-serif"> at
org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)
~[wicket-ioc-7.6.0.jar:7.6.0]</font>
<br><font size=2 face="sans-serif"> at
com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)
~[classes/:na]</font>
<br><font size=2 face="sans-serif"> at
java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111]</font>
<br><font size=2 face="sans-serif">Caused by: java.lang.IllegalStateException:
Null parent for value PCV(1):[PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)],
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002,
targetType={.../common/common-3}UserType, relation={.../common/org-3}default)],
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)],
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002,
targetType={.../common/common-3}UserType, relation={.../common/org-3}default)],
PP({.../common/common-3}createChannel):[PPV(String:</font><a href="http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation</font></a><font size=2 face="sans-serif">)]]],
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001,
targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)],
PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]
in item PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}assignment):[PCV(1):[PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)],
PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002,
targetType={.../common/common-3}UserType, relation={.../common/org-3}default)],
PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)],
PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002,
targetType={.../common/common-3}UserType, relation={.../common/org-3}default)],
PP({.../common/common-3}createChannel):[PPV(String:</font><a href="http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation</font></a><font size=2 face="sans-serif">)]]],
PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001,
targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)],
PC({</font><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><font size=2 color=blue face="sans-serif">http://midpoint.evolveum.com/xml/ns/public/common/common-3</font></a><font size=2 face="sans-serif">}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]]
(assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic))</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748)
~[prism-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)
~[prism-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271)
~[prism-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754)
~[prism-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)
~[prism-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409)
~[prism-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) ~[prism-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> at
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491)
~[model-impl-3.6.1.jar:na]</font>
<br><font size=2 face="sans-serif"> ...
21 common frames omitted</font>
<br>
<br>
<br><font size=2 face="sans-serif">I have found it comes from </font>
<br><font size=2 face="sans-serif">com.evolveum.midpoint.prism.Item radek
748, </font>
<br>
<br><font size=2 face="sans-serif">
if (val.getParent()
== null) {</font>
<br><font size=2 face="sans-serif">
throw new IllegalStateException("Null
parent for value "+val+" in item "+this+" ("+path+"
in "+rootItem+")");</font>
<br><font size=2 face="sans-serif">
}</font>
<br>
<br>
<br><font size=2 face="sans-serif">So far we haven't found any suspicious
Users/Accounts metadata.</font>
<br><font size=2 face="sans-serif">Likely it is related to AD resource.</font>
<br><font size=2 face="sans-serif">Any hint or advice would be appreciated.</font>
<br>
<br><font size=2 face="sans-serif">Thx</font>
<br>
<br><font size=2 face="Arial">Petr Kulheim<br>
JEE Developer<br>
<br>
IBA CZ, s.r.o.<br>
Office: Petržílkova 2565/23, 158 00 Praha, CZ<br>
Phone: +420 603 272826<br>
E-mail: petr.kulheim@ibacz.eu</font>
<p><a href="http://www.ibacz.eu/email-signature/index.html"><img src=cid:_4_0F9AAB240F9AA630003F998DC1258218 width=600 height=74 alt="IBACZ email signature" style="border:0px solid;"></a>
<br><font size=2 face="sans-serif"><br>
<br>
</font>
<hr><font size=2 face="sans-serif">Disclaimer:<br>
<br>
The information contained in this communication is intended solely for
the use of the individual or entity to whom it is addressed and others
authorized to receive it.<br>
It may contain confidential or legally privileged information.<br>
If you are not the intended recipient you are hereby notified that any
disclosure, copying, distribution or taking any action in reliance on the
contents of this information is strictly prohibited and may be unlawful.<br>
If you have received this communication in error, please notify us immediately
by forwarding this email to ict@ibacz.eu and then delete it from your system.<br>
IBA Group is neither liable for the proper and complete transmission of
the information contained in this communication nor for any delay in its
receipt.</font>
<br>