SAP Knowledge Base Article - Preview

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

Symptom

  • 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:

System.TypeInitializationException
{"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
u:\\codegen\\afx\\src\\cs\\com\\sybase\\afx\\db\\ConnectionUtil.cs:line244"}

 

In the SUP Server log file this error is logged :

2013-09-12 13:49:34.279 WARN    Other        Thread-209
[Mobile.server.MobileDB] [] []
{"_op":"C","level":5,"code":500,"eisCode":"","message":
"java.sql.SQLException:Value is out of range for conversion.",
"component":"MobileDB","entityKey":null,"operation":"
synchronize","requestId":null,"timestamp":"2013-09 -12
11:49:34.278","messageId":0,"_rc":0}

 

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

SUP 2.2 SP02, build 2.2.2.244

 

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(DownloadHandler.java:279)
at com.sybase.djc.mobilink.DownloadHandler_DJC.handle(DownloadHandler_DJC.java:132)

Caused by: java.sql.SQLException: Value is out of range for conversion.
at ianywhere.ml.script.MLPreparedStatement.setString(MLPreparedStatement.java:1077)
at com.sybase.afx.jdbc.StatementUtil.setChar(StatementUtil.java:561)


Read more...

Environment

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

Product

Sybase Unwired Platform 2.1

Keywords

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.