SAP Knowledge Base Article - Preview

1913662 - SUP 2.1.3. Synchronize MBO. Error : [-10225] Message: Failure occurred while executing user supplied code


  • The code is based on the example SUP101 for SUP 2.1.3 to initialize SUP.  
  • The registration and first synchronize work as expected
  • When you turn on the ISynchronisationGroup the next synchronization fails.

The following error is observed:

{"iAnywhere.Data.UltraLite.ULException: Synchronization failed due to an
error on the server:

[-10225] Message: Failure occurred while executing user supplied code\r\n at

iAnywhere.Data.UltraLite.ULConnection.RuntimeErrorCheck()\r\n   at
iAnywhere.Data.UltraLite.ULConnection.Synchronize()\r\n  at
com.sybase.afx.db.ConnectionUtil.Synchronize(ConnectionWrapper dbConn,
SyncStatusListener listener, Connection connection, String[] mboNames,
Hashtable tableMBOMap) in


In the SUP Server log file this error is logged :

2013-09-12 13:49:34.279 WARN    Other        Thread-209
[Mobile.server.MobileDB] [] []
"java.sql.SQLException:Value is out of range for conversion.",
synchronize","requestId":null,"timestamp":"2013-09 -12


In the SUP Server log, the SUP version used is shown as  :

SUP 2.2 SP02, build


Turning on Log level in the SCC to 'DEBUG' for the components Data Services, MMS, MSG, Mobilink shows this in the SUP server log :

Caused by: com.sybase.djc.SystemException: Value is out of range for conversion.
at com.sybase.djc.mobilink.DownloadHandler.handle(
at com.sybase.djc.mobilink.DownloadHandler_DJC.handle(

Caused by: java.sql.SQLException: Value is out of range for conversion.
at com.sybase.afx.jdbc.StatementUtil.setChar(



  • Sybase Unwired Platform 2.1.3
  • Windows Native app 
  • Microsoft Visual Studio 2012
  • Standard .NET application in C# 


Sybase Unwired Platform 2.1


Synchronize, MBO, SUP101, ISynchronisationGroup, synchronization, fail,
Synchronization failed due to an error on the server,
Value is out of range for conversion , KBA , MOB-SUP-SDK-OAP , Mobile SDK Object API , MOB-SUP , Sybase Unwired Platform , Problem

About this page

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

Search for additional results

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