Batch Process Constantly Fails With, 'String index out of range: -8'
(Doc ID 2439964.1)
Last updated on SEPTEMBER 23, 2022
Applies to:
Oracle Utilities Framework - Version 4.3.0.2.0 to 4.3.0.5.0 [Release 4.3]Oracle Real-Time Scheduler - Version 2.3.0.2.0 to 2.3.0.2.0 [Release 2.3]
Oracle Utilities Mobile Workforce Management - Version 2.3.0.2.0 to 2.3.0.2.0 [Release 2.3]
Information in this document applies to any platform.
Symptoms
**Examples provided in this article do not represent real life personal/confidential information. Please use proper values to your businees.**
**Disclaimer:** This KM article may include the following abbreviations:
**Disclaimer:** This KM article may include the following abbreviations:
MWM - Oracle Utilities Mobile Workforce Management
ORTS/ORS/ERTS - Oracle Real-Time Scheduler
OUAF/FW - Oracle Utilities Framework
The following error occurs in the MWM/ORS Batch Control.
ERROR
-----------------------
java.lang.StringIndexOutOfBoundsException: String index out of range: -8
Snippet from M1-SHWKT stderr batch log.
17:58:22,271 [DEFAULTWorker:18] ERROR (com.splwg.base.api.batch.AbstractExecutionStrategy) Thread execution aborted: BatchThreadInstance_Id(batchThreadId: [batchRunId: [batchControlId: [M1-SHWKT], batchNumber: 1515, batchRerunNumber: 0], batchThreadNumber: 1], batchInstance: 876955)
com.splwg.base.support.grid.GridWorkAbortedException: java.lang.StringIndexOutOfBoundsException: String index out of range: -8
at com.splwg.base.support.batch.JavaBatchWork.executeThreadWork(JavaBatchWork.java:118) [spl-base-4.3.0.4.0.jar:?]
at com.splwg.base.support.batch.JavaBatchWork.access$300(JavaBatchWork.java:29) [spl-base-4.3.0.4.0.jar:?]
at com.splwg.base.support.batch.JavaBatchWork$DoExecuteWorkInSession.doBatchWorkInSession(JavaBatchWork.java:92) [spl-base-4.3.0.4.0.jar:?]
...
...
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -8
17:58:22,271 [DEFAULTWorker:18] ERROR (com.splwg.base.api.batch.AbstractExecutionStrategy) Thread execution aborted: BatchThreadInstance_Id(batchThreadId: [batchRunId: [batchControlId: [M1-SHWKT], batchNumber: 1515, batchRerunNumber: 0], batchThreadNumber: 1], batchInstance: 876955)
com.splwg.base.support.grid.GridWorkAbortedException: java.lang.StringIndexOutOfBoundsException: String index out of range: -8
at com.splwg.base.support.batch.JavaBatchWork.executeThreadWork(JavaBatchWork.java:118) [spl-base-4.3.0.4.0.jar:?]
at com.splwg.base.support.batch.JavaBatchWork.access$300(JavaBatchWork.java:29) [spl-base-4.3.0.4.0.jar:?]
at com.splwg.base.support.batch.JavaBatchWork$DoExecuteWorkInSession.doBatchWorkInSession(JavaBatchWork.java:92) [spl-base-4.3.0.4.0.jar:?]
...
...
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -8
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! |