Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4596

ROperationExecution seems to be not filled in

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.8
    • Fix Version/s: 3.8
    • Component/s: None
    • Labels:
      None
    • Subscription:
      Internal

      Description

      <user xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
            xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
            xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
            xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
            xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3"
            xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
            xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
            oid="c34b7369-a937-4522-b951-b4c11b5b321f"
            version="16">
         <name>failer</name>
         <metadata>
            <createTimestamp>2018-04-17T16:48:22.876+02:00</createTimestamp>
            <creatorRef oid="00000000-0000-0000-0000-000000000002"
                        relation="org:default"
                        type="c:UserType"><!-- administrator --></creatorRef>
            <createChannel>http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport</createChannel>
         </metadata>
         <operationExecution id="3">
            <timestamp>2018-04-17T16:48:31.431+02:00</timestamp>
            <operation>
               <objectDelta>
                  <t:changeType>modify</t:changeType>
                  <t:objectType>c:UserType</t:objectType>
               </objectDelta>
               <executionResult>
                  <operation>com.evolveum.midpoint.model.api.ModelService.executeChanges</operation>
                  <status>fatal_error</status>
                  <token>1000000000000001098</token>
                  <message>java.lang.ArithmeticException: Division by zero in expression in mapping in user:c34b7369-a937-4522-b951-b4c11b5b321f(failer)(name=failer; ) in expression in mapping in user:c34b7369-a937-4522-b951-b4c11b5b321f(failer)</message>
               </executionResult>
            </operation>
            <status>fatal_error</status>
            <initiatorRef oid="00000000-0000-0000-0000-000000000002"
                          relation="org:default"
                          type="c:UserType"><!-- administrator --></initiatorRef>
            <channel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</channel>
         </operationExecution>
         <operationExecution id="4">
            <timestamp>2018-04-17T16:48:56.026+02:00</timestamp>
            <operation>
               <objectDelta>
                  <t:changeType>modify</t:changeType>
                  <t:objectType>c:UserType</t:objectType>
               </objectDelta>
               <executionResult>
                  <operation>com.evolveum.midpoint.model.impl.sync.RecomputeTaskHandler.handle</operation>
                  <status>fatal_error</status>
                  <token>1000000000000001339</token>
                  <message>java.lang.ArithmeticException: Division by zero in expression in mapping in user:c34b7369-a937-4522-b951-b4c11b5b321f(failer)(name=failer; ) in expression in mapping in user:c34b7369-a937-4522-b951-b4c11b5b321f(failer)</message>
               </executionResult>
            </operation>
            <status>fatal_error</status>
            <initiatorRef oid="00000000-0000-0000-0000-000000000002"
                          relation="org:default"
                          type="c:UserType"><!-- administrator --></initiatorRef>
            <taskRef oid="22a56043-f86f-47dc-a0a3-6368dde486d7"
                     relation="org:default"
                     type="c:TaskType"/>
            <channel>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#recompute</channel>
         </operationExecution>
         <operationExecution id="5">
            <timestamp>2018-04-17T16:55:16.115+02:00</timestamp>
            <operation>
               <objectDelta>
                  <t:changeType>modify</t:changeType>
                  <t:objectType>c:UserType</t:objectType>
               </objectDelta>
               <executionResult>
                  <operation>com.evolveum.midpoint.model.impl.sync.RecomputeTaskHandler.handle</operation>
                  <status>fatal_error</status>
                  <token>1000000000000000144</token>
                  <message>java.lang.ArithmeticException: Division by zero in expression in mapping in user:c34b7369-a937-4522-b951-b4c11b5b321f(failer)(name=failer; ) in expression in mapping in user:c34b7369-a937-4522-b951-b4c11b5b321f(failer)</message>
               </executionResult>
            </operation>
            <status>fatal_error</status>
            <initiatorRef oid="00000000-0000-0000-0000-000000000002"
                          relation="org:default"
                          type="c:UserType"><!-- administrator --></initiatorRef>
            <taskRef oid="942befdf-49d4-4c07-9bb5-3d396ab7e0cc"
                     relation="org:default"
                     type="c:TaskType"><!-- User Recompute (segmented) (NodeC:1) --></taskRef>
            <channel>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#recompute</channel>
         </operationExecution>
         <assignment id="1">
            <focusMappings>
               <mapping id="2">
                  <source>
                     <c:path>name</c:path>
                  </source>
                  <expression>
                     <script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                             xsi:type="c:ScriptExpressionEvaluatorType">
                        <code>
            					a = 1.0 / 0.0
            				</code>
                     </script>
                  </expression>
                  <target>
                     <c:path>name</c:path>
                  </target>
               </mapping>
            </focusMappings>
         </assignment>
      </user>
      
      select
        u.oid,
        o
      from
        RUser u
          left join u.operationExecutions o
      

      yields

      00000000-0000-0000-0000-000000000002,null
      c34b7369-a937-4522-b951-b4c11b5b321f,null
      

        Attachments

          Activity

            People

            Assignee:
            mederly Pavol Mederly
            Reporter:
            mederly Pavol Mederly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: