Symptoms
After modifying a definition the new related recurrence fails to (re)submit with following error:
Caused by: com.redwood.scheduler.model.exception.ParameterValueLengthException: JCS-102428: The value 'Looooong' is too long. The length (8) is longer than the maximum allowed (3).
Cause
On old version (9.0.xx) it was possible to have parameters with length restriction while the default expression was longer than the set length.
After upgrade the "incorrect" definition is kept as is, since it doesn't cause any issues with running recurrence; only when the user manually submits a job or updates a definition.
However when editing something else on the definition, the parameter restrictions are not evaluated, resulting that current recurrence will fail to re-submit as the new definition version is now found to be "incorrect".
Steps to reproduce:
-
Create a dummy definition (RW_SubDef)
-
Add a parameter (p_Test) with default value: Looooong
-
Create a dummy chain (RW_chain)
-
Add to the chain RW_SubDef
-
Aelect RW_SubDef
-
On the parameter Tab select p_Test
-
Open the detail panel at the bottom and set length to 3
-
Save (Save successful, this is unexpected)
-
If you try to submit the chain, then it will fail (expected)
-
JCS-102428: The value 'Looooong' is too long. The length (8) is longer than the maximum allowed (3).
-
-
Edit RW_SubDef (not within the chain editor) and modify something else than parameter p_Test (ie: Retention, add another parameter)
-
Save (no issue, this is unexpected)
Workaround
Execute below script in Scripting -> Shell
This script will display every Parameter that has Default value longer than the Length Option
When changing ptest
to false
, then it will delete the Default value.
{
Boolean ptest = true;
String query = "select jdp.* from JobDefinitionParameter jdp, JobDefinition jd " +
"where jdp.JobDefinition = jd.UniqueId " +
"and jd.BranchedLLPVersion = -1 " +
"and jd.Behavior = 0 " +
"and jdp.DataLength > 0 " +
"and jdp.DefaultExpression is not STRINGNULL " +
"and jdp.DefaultExpression not like '=%' " +
"order by jdp.JobDefinition ";
for (Iterator it = jcsSession.executeObjectQuery(query, null); it.hasNext();)
{
JobDefinitionParameter jdp = (JobDefinitionParameter)it.next();
if (jdp.getDataLength() < jdp.getDefaultExpression().length())
{
jcsOut.println("Parameter: '"+jdp.getName()+
"' from Definition: '"+jdp.getJobDefinition().getPartition().getName()+"."+ jdp.getJobDefinition().getName()+
"' has default value '"+jdp.getDefaultExpression()+
"' longer than the maximum allowed ("+jdp.getDataLength()+")" );
if(!ptest)
{
jcsOut.println("Deleting Default Value");
jdp.setDefaultExpression("");
jcsSession.persist();
}
}
}
}
Affected version
RunMyJobs 9.1.xx and onward
Resolution
This issue will be fixed in a future version
The fix will make sure that you get an error upon modifying an "incorrect" definition, however you might still want to use the workaround script to correct/review all the affected definitions.
Reference
RCORE-45027
Error
ERROR 2023-01-18 22:00:18,554 GMT [Redwood Action Component worker 0] com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl - Error creating <no job created> of Process Definition GLOBAL.RW_SubDef (Latest Version):com.google.common.util.concurrent.UncheckedExecutionException:
com.google.common.util.concurrent.UncheckedExecutionException: JCS-102004: Cannot create branched-copy of object: Process Definition Z_ERP.SDRRAV54 (Latest Version)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2051) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3962) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859) ~[guava-30.1.1-jre.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getBranchedJobDefinitionInt(JobDefinitionMethodImpl.java:2590) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.prepareInt(JobDefinitionMethodImpl.java:989) ~[api-impl.jar:?]
at com.redwood.scheduler.model.JobDefinitionImpl.prepareInt(JobDefinitionImpl.java:3536) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobGroupMethodImpl.createJobInt(JobGroupMethodImpl.java:427) ~[api-impl.jar:?]
at com.redwood.scheduler.model.JobGroupImpl.createJobInt(JobGroupImpl.java:1505) ~[api-impl.jar:?]
at com.redwood.scheduler.core.JobGroupUpdater$PresubmitJobsIterator.getNext(JobGroupUpdater.java:593) ~[core.jar:?]
at com.redwood.scheduler.core.JobGroupUpdater$PresubmitJobsIterator.<init>(JobGroupUpdater.java:315) ~[core.jar:?]
at com.redwood.scheduler.core.JobGroupUpdater.resubmit(JobGroupUpdater.java:939) ~[core.jar:?]
at com.redwood.scheduler.core.JobGroupUpdater.rescheduleJobGroup(JobGroupUpdater.java:854) ~[core.jar:?]
at com.redwood.scheduler.action.impl.RescheduleJobGroupActionProcessor.performRescheduleJobGroup(RescheduleJobGroupActionProcessor.java:519) ~[actioncomponent.jar:?]
at com.redwood.scheduler.action.impl.RescheduleJobGroupActionProcessor.lambda$2(RescheduleJobGroupActionProcessor.java:490) ~[actioncomponent.jar:?]
at com.redwood.scheduler.api.uow.SchedulerSessionUnitOfWorkManager.perform(SchedulerSessionUnitOfWorkManager.java:112) [api.jar:?]
at com.redwood.scheduler.api.uow.SchedulerSessionUnitOfWorkManager.perform(SchedulerSessionUnitOfWorkManager.java:71) [api.jar:?]
at com.redwood.scheduler.action.impl.RescheduleJobGroupActionProcessor.rescheduleJobGroupUoW(RescheduleJobGroupActionProcessor.java:490) [actioncomponent.jar:?]
at com.redwood.scheduler.action.impl.RescheduleJobGroupActionProcessor.rescheduleJobGroupRetry(RescheduleJobGroupActionProcessor.java:377) [actioncomponent.jar:?]
at com.redwood.scheduler.action.impl.RescheduleJobGroupActionProcessor.execute(RescheduleJobGroupActionProcessor.java:188) [actioncomponent.jar:?]
at com.redwood.scheduler.action.ActionWorker.execWork(ActionWorker.java:109) [actioncomponent.jar:?]
at com.redwood.scheduler.action.ActionWorker.doWork(ActionWorker.java:85) [actioncomponent.jar:?]
at com.redwood.scheduler.action.ActionWorker.doWork(ActionWorker.java:1) [actioncomponent.jar:?]
at com.redwood.scheduler.infrastructure.workqueue.WorkQueueWorker.run(WorkQueueWorker.java:72) [infrastructure.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: com.redwood.scheduler.model.exception.BranchedObjectCreationException: JCS-102428: The value 'Looooong' is too long. The length (8) is longer than the maximum allowed (3).
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getBranchedJobDefinitionInt(JobDefinitionMethodImpl.java:2614) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupDuplicateJobChainCall(JobDefinitionMethodImpl.java:2665) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2784) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2725) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.performDuplication(BranchedUniqueNamedApplicationObjectMethodImpl.java:333) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.access$0(BranchedUniqueNamedApplicationObjectMethodImpl.java:291) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl$BranchedCopyUOW.performWork(BranchedUniqueNamedApplicationObjectMethodImpl.java:389) ~[api-impl.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.retryPersist(UnitOfWorkManager.java:110) ~[api-int.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:83) ~[api-int.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.createBranchedCopy(BranchedUniqueNamedApplicationObjectMethodImpl.java:280) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getOrCreateBranchedCopy(JobDefinitionMethodImpl.java:2628) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.lambda$21(JobDefinitionMethodImpl.java:2589) ~[api-impl.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[guava-30.1.1-jre.jar:?]
... 23 more
Caused by: java.util.concurrent.ExecutionException: JCS-122035: Unable to persist: JCS-102050: Invalid expression on Parameter CLIENT for process definition Z_ERP.SDRRAV54: INSERT CLIENT
at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:566) ~[guava-30.1.1-jre.jar:?]
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:527) ~[guava-30.1.1-jre.jar:?]
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:104) ~[guava-30.1.1-jre.jar:?]
at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:240) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2313) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2279) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3962) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859) ~[guava-30.1.1-jre.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getBranchedJobDefinitionInt(JobDefinitionMethodImpl.java:2590) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupDuplicateJobChainCall(JobDefinitionMethodImpl.java:2665) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2784) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2725) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.performDuplication(BranchedUniqueNamedApplicationObjectMethodImpl.java:333) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.access$0(BranchedUniqueNamedApplicationObjectMethodImpl.java:291) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl$BranchedCopyUOW.performWork(BranchedUniqueNamedApplicationObjectMethodImpl.java:389) ~[api-impl.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.retryPersist(UnitOfWorkManager.java:110) ~[api-int.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:83) ~[api-int.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.createBranchedCopy(BranchedUniqueNamedApplicationObjectMethodImpl.java:280) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getOrCreateBranchedCopy(JobDefinitionMethodImpl.java:2628) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.lambda$21(JobDefinitionMethodImpl.java:2589) ~[api-impl.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[guava-30.1.1-jre.jar:?]
... 23 more
Caused by: com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException: JCS-102428: The value 'Looooong' is too long. The length (8) is longer than the maximum allowed (3).
at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:1034) ~[api-impl.jar:?]
at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:967) ~[api-impl.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.retryPersist(UnitOfWorkManager.java:112) ~[api-int.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:83) ~[api-int.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.createBranchedCopy(BranchedUniqueNamedApplicationObjectMethodImpl.java:280) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getOrCreateBranchedCopy(JobDefinitionMethodImpl.java:2628) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.lambda$21(JobDefinitionMethodImpl.java:2589) ~[api-impl.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3962) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859) ~[guava-30.1.1-jre.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getBranchedJobDefinitionInt(JobDefinitionMethodImpl.java:2590) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupDuplicateJobChainCall(JobDefinitionMethodImpl.java:2665) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2784) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2725) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.performDuplication(BranchedUniqueNamedApplicationObjectMethodImpl.java:333) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.access$0(BranchedUniqueNamedApplicationObjectMethodImpl.java:291) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl$BranchedCopyUOW.performWork(BranchedUniqueNamedApplicationObjectMethodImpl.java:389) ~[api-impl.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.retryPersist(UnitOfWorkManager.java:110) ~[api-int.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:83) ~[api-int.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.createBranchedCopy(BranchedUniqueNamedApplicationObjectMethodImpl.java:280) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getOrCreateBranchedCopy(JobDefinitionMethodImpl.java:2628) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.lambda$21(JobDefinitionMethodImpl.java:2589) ~[api-impl.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[guava-30.1.1-jre.jar:?]
... 23 more
Caused by: com.redwood.scheduler.model.exception.InvalidExpressionException: JCS-102050: Invalid expression on Parameter CLIENT for process definition Z_ERP.SDRRAV54: INSERT CLIENT
at com.redwood.scheduler.model.method.impl.helpers.parameter.validators.ParameterExpressionValidator.validateSimpleExpression(ParameterExpressionValidator.java:94) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.helpers.parameter.validators.ParameterExpressionValidator.validate(ParameterExpressionValidator.java:52) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionParameterMethodImpl.validateExpression(JobDefinitionParameterMethodImpl.java:423) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionParameterMethodImpl.validateDefaultExpression(JobDefinitionParameterMethodImpl.java:404) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionParameterMethodImpl.vetoPhaseHandler(JobDefinitionParameterMethodImpl.java:239) ~[api-impl.jar:?]
at com.redwood.scheduler.model.BaseSchedulerEntityImpl.vetoPhaseHandler(BaseSchedulerEntityImpl.java:1302) ~[api-impl.jar:?]
at com.redwood.scheduler.model.SchedulerEntityImpl.vetoPhaseHandler(SchedulerEntityImpl.java:493) ~[api-impl.jar:?]
at com.redwood.scheduler.model.DetailImpl.vetoPhaseHandler(DetailImpl.java:94) ~[api-impl.jar:?]
at com.redwood.scheduler.model.NamedDetailObjectImpl.vetoPhaseHandler(NamedDetailObjectImpl.java:321) ~[api-impl.jar:?]
at com.redwood.scheduler.model.JobDefinitionParameterImpl.vetoPhaseHandler(JobDefinitionParameterImpl.java:3350) ~[api-impl.jar:?]
at com.redwood.scheduler.model.listeners.PerformVetoListener.modelModified(PerformVetoListener.java:37) ~[api-impl.jar:?]
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.informListeners(LowLevelPersistenceImpl.java:1083) ~[persistence.jar:?]
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectListRetry(LowLevelPersistenceImpl.java:332) ~[persistence.jar:?]
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl$WriteDirtyObjectListUnitOfWork.execute(LowLevelPersistenceImpl.java:118) ~[persistence.jar:?]
at com.redwood.scheduler.persistence.impl.OuterPersistenceUnitOfWorkManager.execute(OuterPersistenceUnitOfWorkManager.java:42) ~[persistence.jar:?]
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectList(LowLevelPersistenceImpl.java:200) ~[persistence.jar:?]
at com.redwood.scheduler.cluster.persistence.ClusteredLowLevelPersistence.writeDirtyObjectList(ClusteredLowLevelPersistence.java:67) ~[cluster.jar:?]
at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:1009) ~[api-impl.jar:?]
at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:967) ~[api-impl.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.retryPersist(UnitOfWorkManager.java:112) ~[api-int.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:83) ~[api-int.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.createBranchedCopy(BranchedUniqueNamedApplicationObjectMethodImpl.java:280) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getOrCreateBranchedCopy(JobDefinitionMethodImpl.java:2628) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.lambda$21(JobDefinitionMethodImpl.java:2589) ~[api-impl.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3962) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859) ~[guava-30.1.1-jre.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getBranchedJobDefinitionInt(JobDefinitionMethodImpl.java:2590) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupDuplicateJobChainCall(JobDefinitionMethodImpl.java:2665) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2784) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2725) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.performDuplication(BranchedUniqueNamedApplicationObjectMethodImpl.java:333) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.access$0(BranchedUniqueNamedApplicationObjectMethodImpl.java:291) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl$BranchedCopyUOW.performWork(BranchedUniqueNamedApplicationObjectMethodImpl.java:389) ~[api-impl.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.retryPersist(UnitOfWorkManager.java:110) ~[api-int.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:83) ~[api-int.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.createBranchedCopy(BranchedUniqueNamedApplicationObjectMethodImpl.java:280) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getOrCreateBranchedCopy(JobDefinitionMethodImpl.java:2628) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.lambda$21(JobDefinitionMethodImpl.java:2589) ~[api-impl.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[guava-30.1.1-jre.jar:?]
... 23 more
Caused by: com.redwood.scheduler.model.exception.ParameterValueLengthException: JCS-102428: The value 'Looooong' is too long. The length (8) is longer than the maximum allowed (3).
at com.redwood.scheduler.model.method.impl.helpers.parameter.validators.ParameterValidatorUtil.validateValueLength(ParameterValidatorUtil.java:234) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.helpers.parameter.validators.ParameterValidatorUtil.validateSimpleLiteral(ParameterValidatorUtil.java:192) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.helpers.parameter.validators.ParameterExpressionValidator.validateSimpleExpression(ParameterExpressionValidator.java:90) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.helpers.parameter.validators.ParameterExpressionValidator.validate(ParameterExpressionValidator.java:52) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionParameterMethodImpl.validateExpression(JobDefinitionParameterMethodImpl.java:423) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionParameterMethodImpl.validateDefaultExpression(JobDefinitionParameterMethodImpl.java:404) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionParameterMethodImpl.vetoPhaseHandler(JobDefinitionParameterMethodImpl.java:239) ~[api-impl.jar:?]
at com.redwood.scheduler.model.BaseSchedulerEntityImpl.vetoPhaseHandler(BaseSchedulerEntityImpl.java:1302) ~[api-impl.jar:?]
at com.redwood.scheduler.model.SchedulerEntityImpl.vetoPhaseHandler(SchedulerEntityImpl.java:493) ~[api-impl.jar:?]
at com.redwood.scheduler.model.DetailImpl.vetoPhaseHandler(DetailImpl.java:94) ~[api-impl.jar:?]
at com.redwood.scheduler.model.NamedDetailObjectImpl.vetoPhaseHandler(NamedDetailObjectImpl.java:321) ~[api-impl.jar:?]
at com.redwood.scheduler.model.JobDefinitionParameterImpl.vetoPhaseHandler(JobDefinitionParameterImpl.java:3350) ~[api-impl.jar:?]
at com.redwood.scheduler.model.listeners.PerformVetoListener.modelModified(PerformVetoListener.java:37) ~[api-impl.jar:?]
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.informListeners(LowLevelPersistenceImpl.java:1083) ~[persistence.jar:?]
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectListRetry(LowLevelPersistenceImpl.java:332) ~[persistence.jar:?]
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl$WriteDirtyObjectListUnitOfWork.execute(LowLevelPersistenceImpl.java:118) ~[persistence.jar:?]
at com.redwood.scheduler.persistence.impl.OuterPersistenceUnitOfWorkManager.execute(OuterPersistenceUnitOfWorkManager.java:42) ~[persistence.jar:?]
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectList(LowLevelPersistenceImpl.java:200) ~[persistence.jar:?]
at com.redwood.scheduler.cluster.persistence.ClusteredLowLevelPersistence.writeDirtyObjectList(ClusteredLowLevelPersistence.java:67) ~[cluster.jar:?]
at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:1009) ~[api-impl.jar:?]
at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:967) ~[api-impl.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.retryPersist(UnitOfWorkManager.java:112) ~[api-int.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:83) ~[api-int.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.createBranchedCopy(BranchedUniqueNamedApplicationObjectMethodImpl.java:280) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getOrCreateBranchedCopy(JobDefinitionMethodImpl.java:2628) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.lambda$21(JobDefinitionMethodImpl.java:2589) ~[api-impl.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3962) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859) ~[guava-30.1.1-jre.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getBranchedJobDefinitionInt(JobDefinitionMethodImpl.java:2590) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupDuplicateJobChainCall(JobDefinitionMethodImpl.java:2665) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2784) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.fixupBranchedObject(JobDefinitionMethodImpl.java:2725) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.performDuplication(BranchedUniqueNamedApplicationObjectMethodImpl.java:333) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.access$0(BranchedUniqueNamedApplicationObjectMethodImpl.java:291) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl$BranchedCopyUOW.performWork(BranchedUniqueNamedApplicationObjectMethodImpl.java:389) ~[api-impl.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.retryPersist(UnitOfWorkManager.java:110) ~[api-int.jar:?]
at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:83) ~[api-int.jar:?]
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.createBranchedCopy(BranchedUniqueNamedApplicationObjectMethodImpl.java:280) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.getOrCreateBranchedCopy(JobDefinitionMethodImpl.java:2628) ~[api-impl.jar:?]
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.lambda$21(JobDefinitionMethodImpl.java:2589) ~[api-impl.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[guava-30.1.1-jre.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[guava-30.1.1-jre.jar:?]
... 23 more
Comments
0 comments
Please sign in to leave a comment.