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

Resource cache corruption

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: Model
    • Labels:
    • Environment:

      Not 4.0 release, it was 3.9-something build.

    • Subscription:
      Active subscription

      Description

      2019-12-10 10:58:57,607 [SYNCHRONIZATION_SERVICE] [pool-4-thread-19700] ERROR (com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl): SYNCHRONIZATION: Error in synchronization on resource:XXX(source) for situation LINKED: SchemaException: No projection definition for kind=ACCOUNT intent=default in resource:LDAPd. Change was ResourceObjectShadowChangeDescription(objectDelta=null, currentShadow=shadow:81404e78-c85f-4069-b08f-db601ca69791(XXX), oldShadow=null, sourceChannel=http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation, resource=resource:SOURCE)2019-12-10 10:58:57,607 [SYNCHRONIZATION_SERVICE] [pool-4-thread-19700] ERROR (com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl): SYNCHRONIZATION: Error in synchronization on resource:XXX(source) for situation LINKED: SchemaException: No projection definition for kind=ACCOUNT intent=default in resource:LDAPd. Change was ResourceObjectShadowChangeDescription(objectDelta=null, currentShadow=shadow:81404e78-c85f-4069-b08f-db601ca69791(XXX), oldShadow=null, sourceChannel=http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation, resource=resource:SOURCE)com.evolveum.midpoint.util.exception.SchemaException: No projection definition for kind=ACCOUNT intent=default in resource:LDAPd at com.evolveum.midpoint.model.impl.lens.LensUtil.refineProjectionIntent(LensUtil.java:127) at com.evolveum.midpoint.model.impl.lens.projector.ContextLoader.getOrCreateAccountContext(ContextLoader.java:1012) at com.evolveum.midpoint.model.impl.lens.projector.ContextLoader.loadLinkRefsFromFocus(ContextLoader.java:693) at com.evolveum.midpoint.model.impl.lens.projector.ContextLoader.loadLinkRefs(ContextLoader.java:623) at com.evolveum.midpoint.model.impl.lens.projector.ContextLoader.load(ContextLoader.java:145) at com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$0(Projector.java:194) 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:192) 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.SynchronizationServiceImpl.reactToChange(SynchronizationServiceImpl.java:838) at com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl.notifyChange(SynchronizationServiceImpl.java:172) at com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl.notifyChange(ChangeNotificationDispatcherImpl.java:179) at com.evolveum.midpoint.model.impl.sync.SynchronizeAccountResultHandler.handleObjectInternal(SynchronizeAccountResultHandler.java:201) at com.evolveum.midpoint.model.impl.sync.SynchronizeAccountResultHandler.handleObject(SynchronizeAccountResultHandler.java:127) 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) 

      Not much more info in logs around this issue. However all tasks started failing until refresh schema/test connection was made.

      Resource XML contained neccessary object type definition with proper kind/intent in schema handling.

      Looks like resource cache corruption.

        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: