[ 
http://www.jahia.org/jira/browse/JAHIA-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephane Croisier reassigned JAHIA-2898:
----------------------------------------

    Assignee: Benjamin Papez

Same error as the one you corrected yesterday night?

> Notify all and publish all produce errors when different workflows are 
> applied to the site pages 
> -------------------------------------------------------------------------------------------------
>
>                 Key: JAHIA-2898
>                 URL: http://www.jahia.org/jira/browse/JAHIA-2898
>             Project: Jahia Content Management Server
>          Issue Type: Bug
>          Components: Workflow, Notifications and Publishing
>    Affects Versions: 5.0 SP4
>         Environment: Jahia build 20641
> Mysql 5
> 2 languages
> Various pages in various workflow states (no workflow, nstep , std workflow)
>            Reporter: Michel Romy
>            Assignee: Benjamin Papez
>             Fix For: 5.0 SP4
>
>         Attachments: screenshot-1.jpg
>
>
> As root user, when trying to NOTIFY ALL site (5 pages present, one to be 
> deleted which has nstep workflow applied), the following error occurs :
> 2008-05-15 17:51:02,439: WARN  [org.jahia.workflow.nstep.NStepWorkflow] - 
> Error during workflow of object ContentPage_5 in language fr with process 
> Three Valida
> tion Step Workflow
> org.springframework.orm.ObjectRetrievalFailureException: Object of class 
> [org.jahia.workflow.nstep.model.Workflow] with identifier [ContentPage_5 fr]: 
> not found
>         at 
> org.jahia.workflow.nstep.dao.hibernate.WorkflowInstanceDAOHibernate.getWorkflowInstanceByObjectKey(WorkflowInstanceDAOHibernate.java:84)
>         at 
> org.jahia.workflow.nstep.service.impl.WorkflowInstanceManagerImpl.getWorkflowInstanceByObjectKey(WorkflowInstanceManagerImpl.java:88)
>         at 
> org.jahia.workflow.nstep.service.impl.WorkflowInstanceManagerImpl$$FastClassByCGLIB$$d4784a38.invoke(<generated>)
>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
>         at 
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
>         at 
> org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546)
>         at 
> org.jahia.workflow.nstep.service.impl.WorkflowInstanceManagerImpl$$EnhancerByCGLIB$$f97bb559.getWorkflowInstanceByObjectKey(<generated>)
>         at 
> org.jahia.workflow.nstep.NStepWorkflow.sendAction(NStepWorkflow.java:646)
>         at 
> org.jahia.services.workflow.ActivationJob.processWorkflow(ActivationJob.java:263)
>         at 
> org.jahia.services.workflow.NotifyAllJob.executeJahiaJob(NotifyAllJob.java:144)
>         at 
> org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:135)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
> If I try to PUBLISH ALL, the following error occurs (see screenshot for 
> workflow status after publish all) :
> 2008-05-15 17:52:34,002: ERROR [org.jahia.services.workflow.ActivationJob] - 
> Error during workflow operation! We must flush all caches to ensure integrity 
> betwe
> en database and viewing
> java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
>         at java.util.HashMap$ValueIterator.next(HashMap.java:871)
>         at 
> org.jahia.services.pages.ContentPage.activeDeletedEntries(ContentPage.java:3050)
>         at 
> org.jahia.services.pages.ContentPage.activate(ContentPage.java:2784)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1181)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1131)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1123)
>         at 
> org.jahia.services.workflow.WorkflowService$$FastClassByCGLIB$$4fc46a68.invoke(<generated>)
>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
>         at 
> org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
>         at 
> org.jahia.services.workflow.WorkflowService$$EnhancerByCGLIB$$10ecde89.activate(<generated>)
>         at 
> org.jahia.services.workflow.ActivationJob.processWorkflow(ActivationJob.java:239)
>         at 
> org.jahia.services.workflow.PublishAllJob.executeJahiaJob(PublishAllJob.java:134)
>         at 
> org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:135)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
> 2008-05-15 17:52:34,205: INFO  [org.jahia.services.cache.CacheFactory] - 
> Flushed all caches.
> 2008-05-15 17:52:34,205: ERROR [org.jahia.services.scheduler.BackgroundJob] - 
> Cannot execute job
> org.jahia.exceptions.JahiaException: User message=null, System message=null, 
> root cause:null root cause=java.util.ConcurrentModificationException
>         at 
> org.jahia.services.workflow.ActivationJob.processWorkflow(ActivationJob.java:305)
>         at 
> org.jahia.services.workflow.PublishAllJob.executeJahiaJob(PublishAllJob.java:134)
>         at 
> org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:135)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
> Caused by: java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
>         at java.util.HashMap$ValueIterator.next(HashMap.java:871)
>         at 
> org.jahia.services.pages.ContentPage.activeDeletedEntries(ContentPage.java:3050)
>         at 
> org.jahia.services.pages.ContentPage.activate(ContentPage.java:2784)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1181)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1131)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1123)
>         at 
> org.jahia.services.workflow.WorkflowService$$FastClassByCGLIB$$4fc46a68.invoke(<generated>)
>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
>         at 
> org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
>         at 
> org.jahia.services.workflow.WorkflowService$$EnhancerByCGLIB$$10ecde89.activate(<generated>)
>         at 
> org.jahia.services.workflow.ActivationJob.processWorkflow(ActivationJob.java:239)
>         ... 4 more
> java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
>         at java.util.HashMap$ValueIterator.next(HashMap.java:871)
>         at 
> org.jahia.services.pages.ContentPage.activeDeletedEntries(ContentPage.java:3050)
>         at 
> org.jahia.services.pages.ContentPage.activate(ContentPage.java:2784)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1181)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1131)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1123)
>         at 
> org.jahia.services.workflow.WorkflowService$$FastClassByCGLIB$$4fc46a68.invoke(<generated>)
>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
>         at 
> org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
>         at 
> org.jahia.services.workflow.WorkflowService$$EnhancerByCGLIB$$10ecde89.activate(<generated>)
>         at 
> org.jahia.services.workflow.ActivationJob.processWorkflow(ActivationJob.java:239)
>         at 
> org.jahia.services.workflow.PublishAllJob.executeJahiaJob(PublishAllJob.java:134)
>         at 
> org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:135)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
> 2008-05-15 17:52:34,283: INFO  [org.jahia.services.scheduler.BackgroundJob] - 
> Background job (of type workflow) ended with status failed executed in 2s
> 2008-05-15 17:52:34,298: INFO  [org.quartz.core.JobRunShell] - Job 
> PublishAllJob.BackgroundJob-a6050f50-7bde-4667-8cc4-40f5f07faf76 threw a 
> JobExecutionExceptio
> n:
> org.quartz.JobExecutionException: org.jahia.exceptions.JahiaException: User 
> message=null, System message=null, root cause:null root 
> cause=java.util.ConcurrentMo
> dificationException [See nested exception: 
> org.jahia.exceptions.JahiaException: User message=null, System message=null, 
> root cause:null root cause=java.util.Con
> currentModificationException]
>         at 
> org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:145)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
> * Nested Exception (Underlying Cause) ---------------
> org.jahia.exceptions.JahiaException: User message=null, System message=null, 
> root cause:null root cause=java.util.ConcurrentModificationException
>         at 
> org.jahia.services.workflow.ActivationJob.processWorkflow(ActivationJob.java:305)
>         at 
> org.jahia.services.workflow.PublishAllJob.executeJahiaJob(PublishAllJob.java:134)
>         at 
> org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:135)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
> Caused by: java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
>         at java.util.HashMap$ValueIterator.next(HashMap.java:871)
>         at 
> org.jahia.services.pages.ContentPage.activeDeletedEntries(ContentPage.java:3050)
>         at 
> org.jahia.services.pages.ContentPage.activate(ContentPage.java:2784)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1181)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1131)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1123)
>         at 
> org.jahia.services.workflow.WorkflowService$$FastClassByCGLIB$$4fc46a68.invoke(<generated>)
>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
>         at 
> org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
>         at 
> org.jahia.services.workflow.WorkflowService$$EnhancerByCGLIB$$10ecde89.activate(<generated>)
>         at 
> org.jahia.services.workflow.ActivationJob.processWorkflow(ActivationJob.java:239)
>         ... 4 more
> java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
>         at java.util.HashMap$ValueIterator.next(HashMap.java:871)
>         at 
> org.jahia.services.pages.ContentPage.activeDeletedEntries(ContentPage.java:3050)
>         at 
> org.jahia.services.pages.ContentPage.activate(ContentPage.java:2784)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1181)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1131)
>         at 
> org.jahia.services.workflow.WorkflowService.activate(WorkflowService.java:1123)
>         at 
> org.jahia.services.workflow.WorkflowService$$FastClassByCGLIB$$4fc46a68.invoke(<generated>)
>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
>         at 
> org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
>         at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
>         at 
> org.jahia.services.workflow.WorkflowService$$EnhancerByCGLIB$$10ecde89.activate(<generated>)
>         at 
> org.jahia.services.workflow.ActivationJob.processWorkflow(ActivationJob.java:239)
>         at 
> org.jahia.services.workflow.PublishAllJob.executeJahiaJob(PublishAllJob.java:134)
>         at 
> org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:135)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.jahia.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
jira_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/jira_list

Reply via email to