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

SystemException, modifying readonly object (resource)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0.1, 4.1
    • Component/s: Model
    • Labels:
    • Subscription:
      Active subscription

      Description

      2019-09-18 13:11:18,602 [MODEL] [pool-5-thread-1748] ERROR (com.evolveum.midpoint.model.impl.lens.projector.Projector): Runtime error in projector: Error resolving object with oid 'd0811790-1d80-11e4-86b2-3c970e467875': An attempt to modify an immutable value of oid=d0811790-1d80-11e4-86b2-3c970e467875: 9 items2019-09-18 13:11:18,602 [MODEL] [pool-5-thread-1748] ERROR (com.evolveum.midpoint.model.impl.lens.projector.Projector): Runtime error in projector: Error resolving object with oid 'd0811790-1d80-11e4-86b2-3c970e467875': An attempt to modify an immutable value of oid=d0811790-1d80-11e4-86b2-3c970e467875: 9 itemscom.evolveum.midpoint.util.exception.SystemException: Error resolving object with oid 'd0811790-1d80-11e4-86b2-3c970e467875': An attempt to modify an immutable value of oid=d0811790-1d80-11e4-86b2-3c970e467875: 9 items at com.evolveum.midpoint.model.impl.ModelObjectResolver.getObject(ModelObjectResolver.java:183) at com.evolveum.midpoint.model.impl.lens.LensUtil.getResourceReadOnly(LensUtil.java:117) at com.evolveum.midpoint.model.impl.lens.Construction.getResource(Construction.java:299) at com.evolveum.midpoint.model.impl.lens.EvaluatedAssignmentImpl.getResources(EvaluatedAssignmentImpl.java:360) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentTripleEvaluator.evaluateAssignment(AssignmentTripleEvaluator.java:582) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentTripleEvaluator.processAssignment(AssignmentTripleEvaluator.java:464) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentTripleEvaluator.processAllAssignments(AssignmentTripleEvaluator.java:238) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentProcessor.processAssignmentsProjectionsWithFocus(AssignmentProcessor.java:241) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentProcessor.processAssignments(AssignmentProcessor.java:166) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentHolderProcessor.lambda$processFocusFocus$4(AssignmentHolderProcessor.java:261) at com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:217) at com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:163) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentHolderProcessor.processFocusFocus(AssignmentHolderProcessor.java:260) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentHolderProcessor.processFocus(AssignmentHolderProcessor.java:110) at com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:230) at com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:217) at com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:163) at com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:228) at com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:104) at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:589) at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:209) at com.evolveum.midpoint.model.impl.sync.RecomputeTaskHandler.recompute(RecomputeTaskHandler.java:134) at com.evolveum.midpoint.model.impl.sync.RecomputeTaskHandler.access$100(RecomputeTaskHandler.java:66) at com.evolveum.midpoint.model.impl.sync.RecomputeTaskHandler$1.handleObject(RecomputeTaskHandler.java:101) at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler.processRequest(AbstractSearchIterativeResultHandler.java:361) at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler.access$200(AbstractSearchIterativeResultHandler.java:64) at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler$WorkerHandler.run(AbstractSearchIterativeResultHandler.java:309) at com.evolveum.midpoint.task.quartzimpl.TaskManagerQuartzImpl.lambda$startLightweightTask$0(TaskManagerQuartzImpl.java:1245) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Caused by: java.lang.IllegalStateException: An attempt to modify an immutable value of oid=d0811790-1d80-11e4-86b2-3c970e467875: 9 items at com.evolveum.midpoint.prism.impl.PrismValueImpl.checkMutability(PrismValueImpl.java:348) at com.evolveum.midpoint.prism.impl.PrismContainerValueImpl.createSubItem(PrismContainerValueImpl.java:729) at com.evolveum.midpoint.prism.impl.PrismContainerValueImpl.findCreateItem(PrismContainerValueImpl.java:683) at com.evolveum.midpoint.prism.impl.PrismContainerValueImpl.findOrCreateItem(PrismContainerValueImpl.java:787) at com.evolveum.midpoint.prism.impl.PrismContainerValueImpl.findOrCreateProperty(PrismContainerValueImpl.java:799) at com.evolveum.midpoint.prism.impl.xjc.PrismForJAXBUtil.setPropertyValue(PrismForJAXBUtil.java:137) at com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType.setFetchResult(ObjectType.java:261) at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.getObject(ProvisioningServiceImpl.java:257) at com.evolveum.midpoint.model.impl.ModelObjectResolver.getObject(ModelObjectResolver.java:149) ... 32 common frames omitted2019-09-18 13:11:18,637 [SYNCHRONIZATION_SERVICE] [pool-5-thread-1748] ERROR (com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler): Recompute of object user:17de8fe4-0563-4b4b-975e-20283fb4c59b(XXXXXX) recompute task failed: Error resolving object with oid 'd0811790-1d80-11e4-86b2-3c970e467875': An attempt to modify an immutable value of oid=d0811790-1d80-11e4-86b2-3c970e467875: 9 itemscom.evolveum.midpoint.util.exception.SystemException: Error resolving object with oid 'd0811790-1d80-11e4-86b2-3c970e467875': An attempt to modify an immutable value of oid=d0811790-1d80-11e4-86b2-3c970e467875: 9 items at com.evolveum.midpoint.model.impl.ModelObjectResolver.getObject(ModelObjectResolver.java:183) at com.evolveum.midpoint.model.impl.lens.LensUtil.getResourceReadOnly(LensUtil.java:117) at com.evolveum.midpoint.model.impl.lens.Construction.getResource(Construction.java:299) at com.evolveum.midpoint.model.impl.lens.EvaluatedAssignmentImpl.getResources(EvaluatedAssignmentImpl.java:360) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentTripleEvaluator.evaluateAssignment(AssignmentTripleEvaluator.java:582) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentTripleEvaluator.processAssignment(AssignmentTripleEvaluator.java:464) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentTripleEvaluator.processAllAssignments(AssignmentTripleEvaluator.java:238) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentProcessor.processAssignmentsProjectionsWithFocus(AssignmentProcessor.java:241) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentProcessor.processAssignments(AssignmentProcessor.java:166) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentHolderProcessor.lambda$processFocusFocus$4(AssignmentHolderProcessor.java:261) at com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:217) at com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:163) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentHolderProcessor.processFocusFocus(AssignmentHolderProcessor.java:260) at com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentHolderProcessor.processFocus(AssignmentHolderProcessor.java:110) at com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:230) at com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:217) at com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:163) at com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:228) at com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:104) at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:589) at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:209) at com.evolveum.midpoint.model.impl.sync.RecomputeTaskHandler.recompute(RecomputeTaskHandler.java:134) at com.evolveum.midpoint.model.impl.sync.RecomputeTaskHandler.access$100(RecomputeTaskHandler.java:66) at com.evolveum.midpoint.model.impl.sync.RecomputeTaskHandler$1.handleObject(RecomputeTaskHandler.java:101) at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler.processRequest(AbstractSearchIterativeResultHandler.java:361) at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler.access$200(AbstractSearchIterativeResultHandler.java:64) at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler$WorkerHandler.run(AbstractSearchIterativeResultHandler.java:309) at com.evolveum.midpoint.task.quartzimpl.TaskManagerQuartzImpl.lambda$startLightweightTask$0(TaskManagerQuartzImpl.java:1245) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Caused by: java.lang.IllegalStateException: An attempt to modify an immutable value of oid=d0811790-1d80-11e4-86b2-3c970e467875: 9 items at com.evolveum.midpoint.prism.impl.PrismValueImpl.checkMutability(PrismValueImpl.java:348) at com.evolveum.midpoint.prism.impl.PrismContainerValueImpl.createSubItem(PrismContainerValueImpl.java:729) at com.evolveum.midpoint.prism.impl.PrismContainerValueImpl.findCreateItem(PrismContainerValueImpl.java:683) at com.evolveum.midpoint.prism.impl.PrismContainerValueImpl.findOrCreateItem(PrismContainerValueImpl.java:787) at com.evolveum.midpoint.prism.impl.PrismContainerValueImpl.findOrCreateProperty(PrismContainerValueImpl.java:799) at com.evolveum.midpoint.prism.impl.xjc.PrismForJAXBUtil.setPropertyValue(PrismForJAXBUtil.java:137) at com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType.setFetchResult(ObjectType.java:261) at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.getObject(ProvisioningServiceImpl.java:257) at com.evolveum.midpoint.model.impl.ModelObjectResolver.getObject(ModelObjectResolver.java:149) ... 32 common frames omitted

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lazyman Viliam Repan
              Reporter:
              lazyman Viliam Repan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: