SAP Knowledge Base Article - Preview

2719189 - Rep Agent down with error 'String index out of range' - SAP SRS

Symptom

  •  Replication Agent went down with the following error and stack:

ERROR com.sybase.ra.lr.mssql.RAMTranReader String index out of range: -6
ERROR com.sybase.ra.lr.mssql.RAMTranReader java.lang.StringIndexOutOfBoundsException: String index out of range: -6
ERROR com.sybase.ra.lr.mssql.RAMTranReader java.lang.String.substring(String.java:1995)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.schema.handler.AlterUserHandler.process(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.schema.DDLChange.end(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.log.MSSqlDDLContext.endCurrentDDL(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.log.transstatus.MSSqlDDLHandling.beforeStatusChange(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.log.transstatus.MSSqlTransCtxStatus.changeStatusTo(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.log.transstatus.MSSqlTransCtxStatus.handleCommit(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.log.transstatus.MSSqlTransCtxStatus.processOp(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.log.MSSqlTransactionContext.processOp(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.log.MSSqlOperationProcessor.processXactCommit(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.log.MSSqlOperationProcessor.processOp(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ds.mssql.log.NestedOpProcessor.nextOperation(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ra.lr.mssql.RAMTranReader.processScan(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ra.lr.mssql.RAMTranReader.run(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ra.util.thread.RunnableTask.run(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader com.sybase.ra.util.thread.TPWorker.run(Unknown Source)
ERROR com.sybase.ra.lr.mssql.RAMTranReader java.lang.Thread.run(Thread.java:791)
INFORMATION com.sybase.ra.lr.mssql.RAMLogReader Transaction LogReader is Quiescing operations.
INFORMATION com.sybase.ra.ltm.LTM Replication Agent changed to <REPLICATING> state.
INFORMATION com.sybase.ra.lr.mssql.RAMSenderThread Suspending sender thread <com.sybase.ra.lr.mssql.RAMSenderThread@xxxxxx>.
INFORMATION com.sybase.ra.lr.mssql.RAMLogReader Transaction LogReader is Quiesced.
INFORMATION com.sybase.ra.lti.LTI Received request to suspend replication.
INFORMATION com.sybase.ra.lr.mssql.RAMSenderThread Transaction LogReader Internal Thread <T_LRSENDER> Exited.


Read more...

Environment

  • SAP Replication Server Option (RSO) for Microsoft SQL Server 15.7.1
  • SAP Replication Agent for Unix & Windows 15.7.1

Product

SAP Sybase Replication Server 15.7, heterogeneous edition

Keywords

RA down, sp_change_users_login, deprecated, absolete, fail to execute, RAgent cannot handle DDL command, 810559 , KBA , BC-SYB-REP , Sybase Replication Server (standalone) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.