Stringindexoutofbounds Exception During Sync

(Doc ID 553273.1)

Last updated on MAY 15, 2018

Applies to:

Oracle Lite - Version to [Release 10.0 to 10.3]
Information in this document applies to any platform.
***Checked for relevance on 17-Jun-2013***


You are syncing a Client and receive an error stating Stringindexoutofbounds.

When you look at the sync logs for the Client on the Mobile Server you will see an error similar to the following.

Sync session exception stack trace:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.checkBounds(
at java.lang.String.<init>(
at oracle.lite.sync.okrl4p_tField_MD.byteArray2Object(Unknown Source)
at oracle.lite.sync.OKRL4PRecord.restoreFields(Unknown Source)
at oracle.lite.sync.DmlProcessorM.executeInsertUpdate(Unknown Source)
at oracle.lite.sync.DmlProcessorM.executeInsertUpdate(Unknown Source)
at oracle.lite.sync.HeliosSession.executeIU(Unknown Source)
at oracle.lite.sync.HeliosSession.startSession(Unknown Source)
at oracle.lite.sync.resume.Client$ Source)
at oracle.lite.sync.resume.ThreadPool$ Source)

If you trace the Client you will see the following in the debug.txt file(s)

add_to_list done
EokErr=(unknown error)
mess=(String index out of range: -1)
AddLog(2000 "ERROR",2000,"02/05/2008 18:31:15","RESEND:Ein interner Fehler ist aufgetreten. String index out of range: -1")


You have modified one or more of the base tables in the application but not all Clients have synced successfully


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms