From: Michael S. (JIRA) <ji...@ik...> - 2024-08-29 14:59:11
|
Michael Stewart created IKASAN-2458: --------------------------------------- Summary: Concurrent modification exception when attempting to save job lock data, when a context instance end job runs Key: IKASAN-2458 URL: https://ikasan.atlassian.net/browse/IKASAN-2458 Project: Ikasan Issue Type: Story Components: job-orchestration Affects Versions: dashboard-3.3.6 Reporter: Michael Stewart Assignee: Michael Stewart Fix For: dashboard-4.0.0, dashboard-3.3.7 -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100262) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-08-29 14:59:18
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on IKASAN-2458 started by Michael Stewart. ----------------------------------------------- > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100262) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-08-29 17:00:48
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart updated IKASAN-2458: ------------------------------------ Description: !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100262) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-08-29 21:10:16
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart updated IKASAN-2458: ------------------------------------ Description: {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr ation.model.cache.JobLockCacheDataImpl@61bdbb5a] org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! was: !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100262) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-01 16:11:30
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart resolved IKASAN-2458. ------------------------------------- Resolution: Fixed > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100262) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 09:43:39
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21500#comment-21500 ] Michael Stewart commented on IKASAN-2458: ----------------------------------------- [https://github.com/ikasanEIP/ikasan-dashboard/commits/3.3.x/|https://github.com/ikasanEIP/ikasan-dashboard/commits/3.3.x/] [https://github.com/ikasanEIP/ikasan-dashboard/commit/6b2d9d036098c1ad28068980e6755e7e798ff7db|https://github.com/ikasanEIP/ikasan-dashboard/commit/6b2d9d036098c1ad28068980e6755e7e798ff7db|smart-link] [https://github.com/ikasanEIP/ikasan-dashboard/commit/970103110139cc17eb0559ed4004ec14f854ce9d|https://github.com/ikasanEIP/ikasan-dashboard/commit/970103110139cc17eb0559ed4004ec14f854ce9d|smart-link] [https://github.com/ikasanEIP/ikasan-dashboard/commit/970103110139cc17eb0559ed4004ec14f854ce9d|https://github.com/ikasanEIP/ikasan-dashboard/commit/970103110139cc17eb0559ed4004ec14f854ce9d|smart-link] > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 09:45:31
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart reopened IKASAN-2458: ------------------------------------- > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 09:46:37
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart updated IKASAN-2458: ------------------------------------ Description: {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr ation.model.cache.JobLockCacheDataImpl@61bdbb5a] org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! Call to remove context from job lock cache synchronized. {code:java}public synchronized void remove(ContextMachine contextMachine){code} was: {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr ation.model.cache.JobLockCacheDataImpl@61bdbb5a] org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine){code} -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 09:46:51
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart closed IKASAN-2458. ----------------------------------- Resolution: Fixed > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine){code} -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 09:57:18
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart reopened IKASAN-2458: ------------------------------------- > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine){code} -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 09:57:22
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart updated IKASAN-2458: ------------------------------------ Description: {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr ation.model.cache.JobLockCacheDataImpl@61bdbb5a] org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! Call to remove context from job lock cache synchronized. {code:java}public synchronized void remove(ContextMachine contextMachine) public synchronized void removeJobsLocksForContext(Context context){code} was: {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr ation.model.cache.JobLockCacheDataImpl@61bdbb5a] org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! Call to remove context from job lock cache synchronized. {code:java}public synchronized void remove(ContextMachine contextMachine){code} > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine) > public synchronized void removeJobsLocksForContext(Context context){code} -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 09:57:34
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart resolved IKASAN-2458. ------------------------------------- Resolution: Fixed > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine) > public synchronized void removeJobsLocksForContext(Context context){code} -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 10:02:05
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart reopened IKASAN-2458: ------------------------------------- > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine) > public synchronized void removeJobsLocksForContext(Context context){code} -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 10:04:54
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart updated IKASAN-2458: ------------------------------------ Description: h2. Cause Due to the fact that {{JobLockCacheImpl.removeJobsLocksForContext}} was not sunchronized a concurrent modifictaion exception occurred on the serialisation of the job lock cache contents to a String. {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr ation.model.cache.JobLockCacheDataImpl@61bdbb5a] org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} h2. Resolution Call to remove context from job lock cache synchronized. {code:java}public synchronized void remove(ContextMachine contextMachine) public synchronized void removeJobsLocksForContext(Context context){code} h3. Monitoring Service A monitoring service has been added in order to allow for this case to be detected. !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! was: {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr ation.model.cache.JobLockCacheDataImpl@61bdbb5a] org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! Call to remove context from job lock cache synchronized. {code:java}public synchronized void remove(ContextMachine contextMachine) public synchronized void removeJobsLocksForContext(Context context){code} > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > h2. Cause > Due to the fact that {{JobLockCacheImpl.removeJobsLocksForContext}} was not sunchronized a concurrent modifictaion exception occurred on the serialisation of the job lock cache contents to a String. > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > h2. Resolution > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine) > public synchronized void removeJobsLocksForContext(Context context){code} > h3. Monitoring Service > A monitoring service has been added in order to allow for this case to be detected. > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 10:05:07
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart resolved IKASAN-2458. ------------------------------------- Resolution: Fixed > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > h2. Cause > Due to the fact that {{JobLockCacheImpl.removeJobsLocksForContext}} was not sunchronized a concurrent modifictaion exception occurred on the serialisation of the job lock cache contents to a String. > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > h2. Resolution > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine) > public synchronized void removeJobsLocksForContext(Context context){code} > h3. Monitoring Service > A monitoring service has been added in order to allow for this case to be detected. > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 10:05:11
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart closed IKASAN-2458. ----------------------------------- > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > h2. Cause > Due to the fact that {{JobLockCacheImpl.removeJobsLocksForContext}} was not sunchronized a concurrent modifictaion exception occurred on the serialisation of the job lock cache contents to a String. > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > h2. Resolution > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine) > public synchronized void removeJobsLocksForContext(Context context){code} > h3. Monitoring Service > A monitoring service has been added in order to allow for this case to be detected. > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 10:08:39
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart reopened IKASAN-2458: ------------------------------------- > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > h2. Cause > Due to the fact that {{JobLockCacheImpl.removeJobsLocksForContext}} was not sunchronized a concurrent modifictaion exception occurred on the serialisation of the job lock cache contents to a String. > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > h2. Resolution > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine) > public synchronized void removeJobsLocksForContext(Context context){code} > h3. Monitoring Service > A monitoring service has been added in order to allow for this case to be detected. > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 10:08:52
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart updated IKASAN-2458: ------------------------------------ Description: h2. Cause Due to the fact that {{JobLockCacheImpl.removeJobsLocksForContext}} was not synchronized a concurrent modifictaion exception occurred on the serialisation of the job lock cache contents to a String. {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr ation.model.cache.JobLockCacheDataImpl@61bdbb5a] org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} h2. Resolution Call to remove context from job lock cache synchronized. {code:java}public synchronized void remove(ContextMachine contextMachine) public synchronized void removeJobsLocksForContext(Context context){code} h3. Monitoring Service A monitoring service has been added in order to allow for this case to be detected. !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! was: h2. Cause Due to the fact that {{JobLockCacheImpl.removeJobsLocksForContext}} was not sunchronized a concurrent modifictaion exception occurred on the serialisation of the job lock cache contents to a String. {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr ation.model.cache.JobLockCacheDataImpl@61bdbb5a] org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} h2. Resolution Call to remove context from job lock cache synchronized. {code:java}public synchronized void remove(ContextMachine contextMachine) public synchronized void removeJobsLocksForContext(Context context){code} h3. Monitoring Service A monitoring service has been added in order to allow for this case to be detected. !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > h2. Cause > Due to the fact that {{JobLockCacheImpl.removeJobsLocksForContext}} was not synchronized a concurrent modifictaion exception occurred on the serialisation of the job lock cache contents to a String. > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > h2. Resolution > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine) > public synchronized void removeJobsLocksForContext(Context context){code} > h3. Monitoring Service > A monitoring service has been added in order to allow for this case to be detected. > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |
From: Michael S. (JIRA) <ji...@ik...> - 2024-09-05 10:09:25
|
[ https://ikasan.atlassian.net/browse/IKASAN-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stewart closed IKASAN-2458. ----------------------------------- Resolution: Fixed > Concurrent modification exception when attempting to save job lock data, when a context instance end job runs > ------------------------------------------------------------------------------------------------------------- > > Key: IKASAN-2458 > URL: https://ikasan.atlassian.net/browse/IKASAN-2458 > Project: Ikasan > Issue Type: Story > Components: job-orchestration > Affects Versions: dashboard-3.3.6 > Reporter: Michael Stewart > Assignee: Michael Stewart > Fix For: dashboard-4.0.0, dashboard-3.3.7 > > Attachments: image-20240829-165958.png > > > h2. Cause > Due to the fact that {{JobLockCacheImpl.removeJobsLocksForContext}} was not synchronized a concurrent modifictaion exception occurred on the serialisation of the job lock cache contents to a String. > {code:java}2024-08-28 14:00:01.274 [DefaultQuartzScheduler_Worker-8] ERROR o.i.j.o.c.r.ContextInstanceEndJob - An error has occurred executing ContextInstanceEndJob[Could not convert entity to string: org.ikasan.job.orchestr > ation.model.cache.JobLockCacheDataImpl@61bdbb5a] > org.ikasan.scheduled.general.SolrEntityConversionException: Could not convert entity to string: org.ikasan.job.orchestration.model.cache.JobLockCacheDataImpl@61bdbb5a > at org.ikasan.scheduled.joblock.model.SolrJobLockCacheRecordImpl.setJobLockCache(SolrJobLockCacheRecordImpl.java:38) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.saveJobLockCacheRecord(JobLockCacheImpl.java:521) > at org.ikasan.job.orchestration.context.cache.JobLockCacheImpl.removeJobsLocksForContext(JobLockCacheImpl.java:361) > at org.ikasan.orchestration.service.context.JobLockCacheInitialisationServiceImpl.removeJobLocksFromCache(JobLockCacheInitialisationServiceImpl.java:37) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl._deRegisterById(ContextInstanceRegistrationServiceImpl.java:191) > at org.ikasan.orchestration.service.context.register.ContextInstanceRegistrationServiceImpl.deRegisterById(ContextInstanceRegistrationServiceImpl.java:152) > at jdk.internal.reflect.GeneratedMethodAccessor1463.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) > at com.sun.proxy.$Proxy174.deRegisterById(Unknown Source) > at org.ikasan.job.orchestration.context.register.ContextInstanceEndJob.execute(ContextInstanceEndJob.java:80) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573){code} > h2. Resolution > Call to remove context from job lock cache synchronized. > {code:java}public synchronized void remove(ContextMachine contextMachine) > public synchronized void removeJobsLocksForContext(Context context){code} > h3. Monitoring Service > A monitoring service has been added in order to allow for this case to be detected. > !image-20240829-165958.png|width=100%,alt="image-20240829-165958.png"! -- This message was sent by Atlassian Jira Manage notifications: https://ikasan.atlassian.net/jira/settings/personal/notifications?emailPreferences=true#emailpreferences (v1001.0.0-SNAPSHOT#100263) |