Uploaded image for project: 'User Directory'
  1. User Directory
  2. UD-178

An error occurred when synchronizing entities to delete all al them

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.15.0
    • 2.2.0
    • None

      I truncate the table to have nothing to synchronize.
      I run a synchronize to delete all of them
      At the end of the process I got this error :

      Date : 21/08 15:32:19.453
      Thread : Thread[AmetysRuntimeScheduler_Worker-3,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.core.schedule.AmetysJob$org.ametys.plugins.contentio.synchronize.SynchronizeCollectionSchedulable
      Message : An exception occured during the execution of the Schedulable 'org.ametys.plugins.contentio.synchronize.SynchronizeCollectionSchedulable'
      Emplacement : org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:156)
      
      Pile d'appels :
      java.lang.NullPointerException
      at org.ametys.plugins.userdirectory.AbstractDeleteUDContentComponent.deleteContentsWithLog(AbstractDeleteUDContentComponent.java:118)
      at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection.deleteUnexistingContents(SQLSynchronizableUDOrgunitCollection.java:909)
      at org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection.populate(AbstractSynchronizableContentsCollection.java:127)
      at org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection.populate(AbstractSimpleSynchronizableContentsCollection.java:81)
      at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection.populate(SQLSynchronizableUDOrgunitCollection.java:225)
      at org.ametys.plugins.contentio.synchronize.SynchronizeCollectionSchedulable.execute(SynchronizeCollectionSchedulable.java:51)
      at org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:151)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: