<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>...and one more idea to try:</p>
    <p>instead of <assignmentTargetSearch> element, could you try
      something like this and tell us if it helped?</p>
    <p><tt><expression></tt><tt><br>
      </tt><tt>    <value></tt><tt><br>
      </tt><tt>        <targetRef
        oid="feed0000-0000-0000-0003-000000000001"
        type="c:RoleType"/></tt><tt><br>
      </tt><tt>    </value></tt><tt><br>
      </tt><tt></expression></tt></p>
    <p>It might behave differently from assignmentTargetSearch in some
      cases (I am not sure now), but at least it would provide us with a
      hint on where the problem could be.</p>
    <p>(BTW, I was not able to replicate the problem with your
      configuration on my machine.)<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 17.01.2018 17:50,
      <a class="moz-txt-link-abbreviated" href="mailto:petr.kulheim@ibacz.eu">petr.kulheim@ibacz.eu</a> wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:OFD057A993.87E1A850-ONC1258218.005C473B-C1258218.005C8575@ibacz.eu"><font
        size="2" face="sans-serif">Pavol,</font>
      <br>
      <font size="2" face="sans-serif">I guess it was assigned by User's
        object
        template mapping, pls see here:</font>
      <br>
      <br>
      <font size="2" face="sans-serif"><mapping></font>
      <br>
      <font size="2" face="sans-serif">      <name>Zamestnanec
        role assignment</name></font>
      <br>
      <font size="2" face="sans-serif">     
        <strength>strong</strength></font>
      <br>
      <font size="2" face="sans-serif">      <source></font>
      <br>
      <font size="2" face="sans-serif">       
         <c:path>$user/employeeType</c:path></font>
      <br>
      <font size="2" face="sans-serif">      </source></font>
      <br>
      <font size="2" face="sans-serif">      <expression></font>
      <br>
      <font size="2" face="sans-serif">       
         <assignmentTargetSearch
        xmlns:xsi="</font><a
        href="http://www.w3.org/2001/XMLSchema-instance"
        moz-do-not-send="true"><font size="2" face="sans-serif"
          color="blue">http://www.w3.org/2001/XMLSchema-instance</font></a><font
        size="2" face="sans-serif">"</font>
      <br>
      <font size="2" face="sans-serif">           
                           
         xsi:type="c:SearchObjectRefExpressionEvaluatorType"></font>
      <br>
      <font size="2" face="sans-serif">           
        <targetType>c:RoleType</targetType></font>
      <br>
      <font size="2" face="sans-serif">           
        <oid>feed0000-0000-0000-0003-000000000001</oid></font>
      <br>
      <font size="2" face="sans-serif">       
         </assignmentTargetSearch></font>
      <br>
      <font size="2" face="sans-serif">      </expression></font>
      <br>
      <font size="2" face="sans-serif">      <target></font>
      <br>
      <font size="2" face="sans-serif">       
         <c:path>assignment</c:path></font>
      <br>
      <font size="2" face="sans-serif">      </target></font>
      <br>
      <font size="2" face="sans-serif">      <condition></font>
      <br>
      <font size="2" face="sans-serif">         <script
        xmlns:xsi="</font><a
        href="http://www.w3.org/2001/XMLSchema-instance"
        moz-do-not-send="true"><font size="2" face="sans-serif"
          color="blue">http://www.w3.org/2001/XMLSchema-instance</font></a><font
        size="2" face="sans-serif">"</font>
      <br>
      <font size="2" face="sans-serif">           
             xsi:type="c:ScriptExpressionEvaluatorType"></font>
      <br>
      <font size="2" face="sans-serif">           
        <code></font>
      <br>
      <font size="2" face="sans-serif">           
                employeeType != null &amp;&amp; employeeType
        == 'Z'</font>
      <br>
      <font size="2" face="sans-serif">           
            </code></font>
      <br>
      <font size="2" face="sans-serif">         </script></font>
      <br>
      <font size="2" face="sans-serif">      </condition></font>
      <br>
      <font size="2" face="sans-serif">   </mapping></font>
      <br>
      <br>
      <font size="2" face="sans-serif">and also I attaching the Role
        definition.</font>
      <br>
      <br>
      <br>
      <font size="2" face="sans-serif">Thx</font>
      <br>
      <font size="2" face="sans-serif">Petr </font>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <font size="1" face="sans-serif" color="#5f5f5f">From:      
         </font><font size="1" face="sans-serif">Pavol Mederly
        <a class="moz-txt-link-rfc2396E" href="mailto:mederly@evolveum.com"><mederly@evolveum.com></a></font>
      <br>
      <font size="1" face="sans-serif" color="#5f5f5f">To:      
         </font><font size="1" face="sans-serif"><a class="moz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a></font>
      <br>
      <font size="1" face="sans-serif" color="#5f5f5f">Date:      
         </font><font size="1" face="sans-serif">17/01/2018 17:26</font>
      <br>
      <font size="1" face="sans-serif" color="#5f5f5f">Subject:    
           </font><font size="1" face="sans-serif">Re: [midPoint]
        Fw: Null parent for value PCV(1) Exception during reconciliation
        after
        upgrade of midpoint from 3.5.1 to 3.6.1</font>
      <br>
      <font size="1" face="sans-serif" color="#5f5f5f">Sent by:    
           </font><font size="1" face="sans-serif">"midPoint"
        <a class="moz-txt-link-rfc2396E" href="mailto:midpoint-bounces@lists.evolveum.com"><midpoint-bounces@lists.evolveum.com></a></font>
      <br>
      <hr noshade="noshade">
      <br>
      <br>
      <br>
      <font size="3">Petr,</font>
      <p><font size="3">thanks for the information. I think I
          understood. So, let's
          have a look at it:</font>
      </p>
      <p><font size="3">The problem is related to the assignment of a
          role with
          OID feed0000-0000-0000-0003-000000000001.</font>
      </p>
      <p><font size="3">How was that assignment created? Manually
          through a GUI?
          I assume it was created via some mapping. Can you post here
          the mapping?</font>
      </p>
      <p><tt><font size="3">Pavol Mederly<br>
            Software developer<br>
            evolveum.com<br>
          </font></tt>
        <br>
        <font size="3">On 17.01.2018 17:10, </font><a
          href="mailto:petr.kulheim@ibacz.eu" moz-do-not-send="true"><font
            size="3" color="blue"><u>petr.kulheim@ibacz.eu</u></font></a><font
          size="3">
          wrote:</font>
        <br>
        <font size="2" face="sans-serif">Hi Pavol,</font><font size="3">
        </font><font size="2" face="sans-serif"><br>
          provided exception bellow is from GUI action SAVE, with
          reconsiliation
          checkbox checked, no changed done. It is replicable.</font><font
          size="3">
          <br>
        </font><font size="2" face="sans-serif"><br>
          If we run recosiliation task, there are about  30 errors in  </font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                <partialResults></font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
                 
 <operation>com.evolveum.midpoint.common.operation.reconciliation.errors</operation><br>
                   <status>not_applicable</status></font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                   <token>1000000000000030110</token></font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                   <message>Last 30 failures:</font><font size="3">
        </font><font size="2" face="sans-serif"><br>
                <partialResults></font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
                 
 <operation>com.evolveum.midpoint.common.operation.reconciliation.errors</operation><br>
                   <status>not_applicable</status></font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                   <token>1000000000000030110</token></font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                   <message>Last 30 failures:</font><font size="3">
        </font><font size="2" face="sans-serif"><br>
          CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk:
          java.lang.IllegalStateException:
          Null parent for value PCV(1):[PC({</font><a
          href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></font></a><font
          size="2" face="sans-serif">}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01: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-03T12:11:23.027+01: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#import"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></font></a><font
          size="2" face="sans-serif">}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01: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-03T12:11:23.027+01: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#import"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></font></a><font
          size="2" face="sans-serif">}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]],
          PCV(2):[PC({</font><a
          href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></font></a><font
          size="2" face="sans-serif">}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01: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-03T12:11:23.027+01: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#import"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import</u></font></a><font
          size="2" face="sans-serif">)]]],
          PC({</font><a
          href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></font></a><font
          size="2" face="sans-serif">}construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001,
          targetType={.../common/common-3}ResourceType,
          relation={.../common/org-3}default)]]],
          PC({</font><a
          href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></font></a><font
          size="2" face="sans-serif">}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]]
          (assignment in
          user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in current
          user in
          LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae)</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
          .....</font><font size="3"> <br>
          <br>
        </font><font size="2" face="sans-serif"><br>
          Looks like the same error as from GUI action, but no stack
          trace.</font><font size="3">
        </font><font size="2" face="sans-serif"><br>
          thx a lot</font><font size="3"> <br>
        </font><font size="2" face="sans-serif"><br>
          Petr</font><font size="3"> <br>
          <br>
          <br>
          <br>
          <br>
          <br>
        </font><font size="1" face="sans-serif" color="#5f5f5f"><br>
          From:        </font><font size="1" face="sans-serif">Pavol
          Mederly </font><a href="mailto:mederly@evolveum.com"
          moz-do-not-send="true"><font size="1" face="sans-serif"
            color="blue"><u><mederly@evolveum.com></u></font></a><font
          size="3">
        </font><font size="1" face="sans-serif" color="#5f5f5f"><br>
          To:        </font><a href="mailto:midpoint@lists.evolveum.com"
          moz-do-not-send="true"><font size="1" face="sans-serif"
            color="blue"><u>midpoint@lists.evolveum.com</u></font></a><font
          size="3">
        </font><font size="1" face="sans-serif" color="#5f5f5f"><br>
          Date:        </font><font size="1" face="sans-serif">17/01/2018
          16:05</font><font size="3"> </font><font size="1"
          face="sans-serif" color="#5f5f5f"><br>
          Subject:        </font><font size="1" face="sans-serif">Re:
          [midPoint] Fw: Null parent for value PCV(1) Exception during
          reconciliation
          after upgrade of midpoint from 3.5.1 to 3.6.1</font><font
          size="3"> </font><font size="1" face="sans-serif"
          color="#5f5f5f"><br>
          Sent by:        </font><font size="1" face="sans-serif">"midPoint"
        </font><a href="mailto:midpoint-bounces@lists.evolveum.com"
          moz-do-not-send="true"><font size="1" face="sans-serif"
            color="blue"><u><midpoint-bounces@lists.evolveum.com></u></font></a><font
          size="3">
          <br>
        </font>
      </p>
      <hr noshade="noshade"><font size="3"><br>
        <br>
        <br>
        Hello Petr, </font>
      <p><font size="3">just to make sure: You wrote that the exception
          occurs
          during reconciliation. I assume you mean reconciliation task.
        </font>
      </p>
      <p><font size="3">But the stack trace corresponds to a GUI
          operation. </font>
      </p>
      <p><font size="3">So, what's the case? Does it occur within a task
          or in
          GUI? If in GUI, is it replicable? </font>
      </p>
      <p><tt><font size="3">Pavol Mederly<br>
            Software developer<br>
            evolveum.com</font></tt><font size="3"><br>
          <br>
          On 17.01.2018 12:34, </font><a
          href="mailto:petr.kulheim@ibacz.eu" moz-do-not-send="true"><font
            size="3" color="blue"><u>petr.kulheim@ibacz.eu</u></font></a><font
          size="3">
          wrote: </font><font size="2" face="sans-serif"><br>
          hi guys, <br>
          <br>
          we have customer's test environment where we have upgraded
          midpoint from
          3.5.1 to 3.6.1</font><font size="3"> </font><font size="2"
          face="sans-serif"><br>
          After this upgrade we have some users, about 30, having
          following Exception
          during reconsiliation:</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
          <br>
          2018-01-15 17:33:30,325 [] [Thread-77] ERROR
          (com.evolveum.midpoint.web.component.progress.ProgressReporter):
          Error executing changes.</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
          java.lang.IllegalStateException: Null parent for value
          PCV(1):[PC({</font><a
          href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
          com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197)
          ~[model-impl-3.6.1.jar:na]</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
          Method) ~[na:1.8.0_111]</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
                  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)~[na:1.8.0_111]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)~[na:1.8.0_111]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at java.lang.reflect.Method.invoke(Method.java:498)
          ~[na:1.8.0_111]</font><font size="3"> </font><font size="2"
          face="sans-serif"><br>
                  at
org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)~[wicket-ioc-7.6.0.jar:7.6.0]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at com.sun.proxy.$Proxy164.executeChanges(Unknown
          Source) ~[na:na]</font><font size="3"> </font><font size="2"
          face="sans-serif"><br>
                  at
com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)~[classes/:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at java.lang.Thread.run(Thread.java:745)
          ~[na:1.8.0_111]</font><font size="3">
        </font><font size="2" face="sans-serif"><br>
          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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation</u></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"
          moz-do-not-send="true"><font size="2" face="sans-serif"
            color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-3</u></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><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
          com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748)
          ~[prism-3.6.1.jar:na]</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271)~[prism-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
          com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754)
          ~[prism-3.6.1.jar:na]</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409)~[prism-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  at
          com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709)
          ~[prism-3.6.1.jar:na]</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
                  at
com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491)~[model-impl-3.6.1.jar:na]</font><font
          size="3">
        </font><font size="2" face="sans-serif"><br>
                  ... 21 common frames omitted</font><font size="3">
          <br>
        </font><font size="2" face="sans-serif"><br>
          <br>
          I have found it comes from <br>
          com.evolveum.midpoint.prism.Item radek 748, <br>
          <br>
                               
            if (val.getParent() == null) {</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
                               
                    throw new IllegalStateException("Null
          parent for value "+val+" in item "+this+" ("+path+"
          in "+rootItem+")");</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
                               
            }</font><font size="3"> <br>
        </font><font size="2" face="sans-serif"><br>
          <br>
          So far we haven't found any suspicious Users/Accounts
          metadata.</font><font size="3">
        </font><font size="2" face="sans-serif"><br>
          Likely it is related to AD resource.</font><font size="3"> </font><font
          size="2" face="sans-serif"><br>
          Any hint or advice would be appreciated.</font><font size="3">
        </font><font size="2" face="sans-serif"><br>
          <br>
          Thx</font><font size="3"> </font><font size="2" face="Arial"><br>
          <br>
          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: </font><a href="mailto:petr.kulheim@ibacz.eu"
          moz-do-not-send="true"><font size="2" face="Arial"
            color="blue"><u>petr.kulheim@ibacz.eu</u></font></a><font
          size="3">
        </font>
      </p>
      <p><a href="http://www.ibacz.eu/email-signature/index.html"
          moz-do-not-send="true"><img
            src="cid:part34.CF640B4D.0282ABC5@evolveum.com" alt="IBACZ
            email signature" style="border:0px solid;" class=""
            height="74" width="600"></a><font size="2" face="sans-serif"><br>
        </font>
      </p>
      <p>
      </p>
      <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 </font><a
        href="mailto:ict@ibacz.eu" moz-do-not-send="true"><font size="2"
          face="sans-serif" color="blue"><u>ict@ibacz.eu</u></font></a><font
        size="2" face="sans-serif">
        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><font size="3"> <br>
        <br>
      </font><tt><font size="3"><br>
          _______________________________________________<br>
          midPoint mailing list</font></tt><font size="3" color="blue"><u><br>
        </u></font><a href="mailto:midPoint@lists.evolveum.com"
        moz-do-not-send="true"><tt><font size="3" color="blue"><u>midPoint@lists.evolveum.com</u></font></tt></a><font
        size="3" color="blue"><u><br>
        </u></font><a
        href="http://lists.evolveum.com/mailman/listinfo/midpoint"
        moz-do-not-send="true"><tt><font size="3" color="blue"><u>http://lists.evolveum.com/mailman/listinfo/midpoint</u></font></tt></a><font
        size="3"><br>
      </font><tt><font size="2"><br>
          _______________________________________________<br>
          midPoint mailing list</font></tt><tt><font size="2"
          color="blue"><u><br>
          </u></font></tt><a href="mailto:midPoint@lists.evolveum.com"
        moz-do-not-send="true"><tt><font size="2" color="blue"><u>midPoint@lists.evolveum.com</u></font></tt></a><font
        size="3" color="blue"><u><br>
        </u></font><a
        href="http://lists.evolveum.com/mailman/listinfo/midpoint"
        moz-do-not-send="true"><tt><font size="2" color="blue"><u>http://lists.evolveum.com/mailman/listinfo/midpoint</u></font></tt></a><font
        size="3"><br>
      </font><font size="2" face="sans-serif"><br>
        <br>
      </font><font size="3"><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 </font><a
        href="mailto:ict@ibacz.eu" moz-do-not-send="true"><font size="2"
          face="sans-serif" color="blue"><u>ict@ibacz.eu</u></font></a><font
        size="2" face="sans-serif">
        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><font size="3"> <br>
        <br>
      </font>
      <br>
      <tt><font size="3">_______________________________________________<br>
          midPoint mailing list<br>
        </font></tt><a href="mailto:midPoint@lists.evolveum.com"
        moz-do-not-send="true"><tt><font size="3" color="blue"><u>midPoint@lists.evolveum.com</u></font></tt></a><tt><font
          size="3"><br>
        </font></tt><a
        href="http://lists.evolveum.com/mailman/listinfo/midpoint"
        moz-do-not-send="true"><tt><font size="3" color="blue"><u>http://lists.evolveum.com/mailman/listinfo/midpoint</u></font></tt></a><tt><font
          size="3"><br>
        </font></tt>
      <br>
      <tt><font size="2">_______________________________________________<br>
          midPoint mailing list<br>
          <a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
        </font></tt><a
        href="http://lists.evolveum.com/mailman/listinfo/midpoint"
        moz-do-not-send="true"><tt><font size="2">http://lists.evolveum.com/mailman/listinfo/midpoint</font></tt></a><tt><font
          size="2"><br>
        </font></tt>
      <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 <a class="moz-txt-link-abbreviated" href="mailto:ict@ibacz.eu">ict@ibacz.eu</a> 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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>