The M1-SHWKT batch reports a StringIndexOutOfBoundsException
(Doc ID 2729114.1)
Last updated on SEPTEMBER 25, 2022
Applies to:
Oracle Utilities Mobile Workforce Management - Version 2.3.0.1.0 to 2.3.0.1.0 [Release 2.3]Information in this document applies to any platform.
Symptoms
In the M1-SHWKT stderr log, the following error was being encountered:
ERROR
-----------------------
[BATCHESWorker:2] ERROR (com.splwg.base.api.batch.AbstractExecutionStrategy) An exception was caught executing work for batch instance BatchThreadInstance_Id(batchThreadId: [batchRunId: [batchControlId: [M1-SHWKT], batchNumber: 1, batchRerunNumber: 0], batchThreadNumber: 2], batchInstance: 5555). The following key (-888222111) matches the value provided on the message log table.
com.splwg.base.support.grid.GridWorkAbortedException: java.lang.StringIndexOutOfBoundsException: String index out of range: 42
at com.splwg.base.support.batch.JavaBatchWork.executeThreadWork(JavaBatchWork.java:118) [spl-base-4.3.0.3.0.jar:?]
at com.splwg.base.support.batch.JavaBatchWork.access$300(JavaBatchWork.java:29) [spl-base-4.3.0.3.0.jar:?]
at com.splwg.base.support.batch.JavaBatchWork$DoExecuteWorkInSession.doBatchWorkInSession(JavaBatchWork.java:92) [spl-base-4.3.0.3.0.jar:?]
at com.splwg.base.support.batch.BatchWorkInSessionExecutable.run(BatchWorkInSessionExecutable.java:68) [spl-base-4.3.0.3.0.jar:?]
at com.splwg.base.support.batch.JavaBatchWork.doExecuteWork(JavaBatchWork.java:51) [spl-base-4.3.0.3.0.jar:?]
at com.splwg.base.support.grid.AbstractGridWork.executeWork(AbstractGridWork.java:72) [spl-base-4.3.0.3.0.jar:?]
at com.splwg.base.support.cluster.ThreadWork.processBatchWork(ThreadWork.java:54) [spl-base-4.3.0.3.0.jar:?]
at com.splwg.base.support.cluster.BatchWorkManager.processWork(BatchWorkManager.java:78) [spl-base-4.3.0.3.0.jar:?]
at com.tangosol.coherence.commonj.WorkManager$ScheduleWork.run(WorkManager.java:2250) [coherence-work-12.2.1.3.0.jar:12.2.1.3.0]
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService.onInvocationRequest(InvocationService.CDB:16) [coherence-ouaf-12.2.1.3.0.jar:12.2.1.3.0]
STEPS
-----------------------
The issue can be reproduced with the following steps:
1. Create a Shift Template with a Break for a Crew in Shift Weekly Template.
2. Delete the Break Type from the system.
3. Run the M1-SHWKT batch.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |