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

MultiPropagation task: Oid must not be null or empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.7.2
    • Fix Version/s: 3.7.2, 3.8
    • Component/s: None
    • Labels:
    • Subscription:
      Active subscription

      Description

      Our Multi propagation tasks often stops on following fatal error. Im attaching all resource shadows (only 14 of them) - password provided privately. Ideally also make sure error (even fatal?) does not block processing of other resources in the task.

      2018-04-25 11:00:06,483 [REPOSITORY] [midPointScheduler_Worker-10] ERROR (com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler): Propagation of object resource:vfcz-resource-omm-l4ommf02(OMM_L4OMMF02) multipropagation failed: Oid must not be null or empty.
      com.evolveum.midpoint.util.exception.SystemException: Oid must not be null or empty.
      	at com.evolveum.midpoint.repo.sql.helpers.BaseHelper.handleGeneralRuntimeException(BaseHelper.java:178)
      	at com.evolveum.midpoint.repo.sql.helpers.BaseHelper.handleGeneralException(BaseHelper.java:158)
      	at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.searchObjectsIterativeAttempt(ObjectRetriever.java:716)
      	at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.searchObjectsIterativeBySingleTransaction(SqlRepositoryServiceImpl.java:863)
      	at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.searchObjectsIterative(SqlRepositoryServiceImpl.java:837)
      	at com.evolveum.midpoint.repo.cache.RepositoryCache.searchObjectsIterative(RepositoryCache.java:230)
      	at sun.reflect.GeneratedMethodAccessor985.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      	at com.evolveum.midpoint.util.aspect.MidpointInterceptor.wrapSubsystem(MidpointInterceptor.java:137)
      	at com.evolveum.midpoint.util.aspect.MidpointInterceptor.invoke(MidpointInterceptor.java:53)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
      	at com.sun.proxy.$Proxy64.searchObjectsIterative(Unknown Source)
      	at com.evolveum.midpoint.provisioning.impl.task.MultiPropagationResultHandler.handleObject(MultiPropagationResultHandler.java:74)
      	at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler.processRequest(AbstractSearchIterativeResultHandler.java:325)
      	at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeResultHandler.handle(AbstractSearchIterativeResultHandler.java:183)
      	at com.evolveum.midpoint.repo.cache.RepositoryCache$1.handle(RepositoryCache.java:227)
      	at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.searchObjectsIterativeAttempt(ObjectRetriever.java:704)
      	at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.searchObjectsIterativeBySingleTransaction(SqlRepositoryServiceImpl.java:863)
      	at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.searchObjectsIterative(SqlRepositoryServiceImpl.java:837)
      	at com.evolveum.midpoint.repo.cache.RepositoryCache.searchObjectsIterative(RepositoryCache.java:230)
      	at sun.reflect.GeneratedMethodAccessor985.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      	at com.evolveum.midpoint.util.aspect.MidpointInterceptor.wrapSubsystem(MidpointInterceptor.java:137)
      	at com.evolveum.midpoint.util.aspect.MidpointInterceptor.invoke(MidpointInterceptor.java:53)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
      	at com.sun.proxy.$Proxy64.searchObjectsIterative(Unknown Source)
      	at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeTaskHandler.searchIterative(AbstractSearchIterativeTaskHandler.java:382)
      	at com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeTaskHandler.run(AbstractSearchIterativeTaskHandler.java:290)
      	at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeHandler(JobExecutor.java:639)
      	at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeRecurrentTask(JobExecutor.java:522)
      	at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.execute(JobExecutor.java:180)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:588)
      Caused by: java.lang.IllegalArgumentException: Oid must not be null or empty.
      	at org.apache.commons.lang.Validate.notEmpty(Validate.java:321)
      	at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.deleteObject(SqlRepositoryServiceImpl.java:451)
      	at com.evolveum.midpoint.repo.cache.RepositoryCache.deleteObject(RepositoryCache.java:311)
      	at sun.reflect.GeneratedMethodAccessor2135.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      	at com.evolveum.midpoint.util.aspect.MidpointInterceptor.wrapSubsystem(MidpointInterceptor.java:137)
      	at com.evolveum.midpoint.util.aspect.MidpointInterceptor.invoke(MidpointInterceptor.java:53)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
      	at com.sun.proxy.$Proxy64.deleteObject(Unknown Source)
      	at com.evolveum.midpoint.provisioning.impl.ShadowManager.handlePropesedShadowError(ShadowManager.java:793)
      	at com.evolveum.midpoint.provisioning.impl.ShadowCache.executeResourceAdd(ShadowCache.java:652)
      	at com.evolveum.midpoint.provisioning.impl.ShadowCache.propagateOperations(ShadowCache.java:2909)
      	at com.evolveum.midpoint.provisioning.impl.task.MultiPropagationResultHandler.propagateShadowOperations(MultiPropagationResultHandler.java:83)
      	at com.evolveum.midpoint.provisioning.impl.task.MultiPropagationResultHandler.lambda$handleObject$0(MultiPropagationResultHandler.java:70)
      	at com.evolveum.midpoint.repo.cache.RepositoryCache$1.handle(RepositoryCache.java:227)
      	at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.searchObjectsIterativeAttempt(ObjectRetriever.java:704)
      	... 40 common frames omitted
      2018-04-25 11:00:06,484 [] [midPointScheduler_Worker-10] INFO (com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeTaskHandler): Finished Provisioning propagation (multi) (Task(id:1520583343069-0-1, name:Propagation: Offline Resources, oid:05d68f90-1d98-4939-b1d6-baf7d5374a36)). Processed 12 objects in 6 seconds, got 1 errors. Average time for one object: 488.83334 milliseconds (wall clock time average: 522.0 ms).
      

        Attachments

          Activity

            People

            Assignee:
            martin.lizner Martin Lizner
            Reporter:
            martin.lizner Martin Lizner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: