Skip to Content
avatar image
Former Member

com.sap.smp.client.odata.exception.ODataParserException: Error deserializing data

Hi,

I am getting below error while consuming OData (online mode) from Android device using this url http://services.odata.org/TripPinRESTierService/(S(0upeillafovvmqm0l0pdsr22))/

I am using SMP SDK OData libraries to consume these services.

SMP SDK Version : 3.0.10.0.

Android Device: Samsung S6 (6.0.1).

Backend : HANA Cloud Platform Mobile Services. In Logs it is showing "HTTP status from the back end is 200.#"

Error in Android studio is:

W/System.err: com.sap.smp.client.odata.exception.ODataParserException: Error deserializing data W/System.err: at com.sap.smp.client.odata.online.PayloadHandler$JSONHandlerBase.handle(PayloadHandler.java:153) W/System.err: at com.sap.smp.client.odata.online.ODataOnlineStrategyAsync.processResult(ODataOnlineStrategyAsync.java:719) W/System.err: at com.sap.smp.client.odata.online.ODataOnlineStrategyAsync$CommunicationListener.onResponseReceived(ODataOnlineStrategyAsync.java:181) W/System.err: at com.sap.smp.client.httpc.HttpConversationManager$ConversationFlow.processResponse(HttpConversationManager.java:1611) W/System.err: at com.sap.smp.client.httpc.HttpConversationManager$ConversationFlow.run(HttpConversationManager.java:1082) W/System.err: at com.sap.smp.client.httpc.HttpConversationManager$DelegatingRunnable.run(HttpConversationManager.java:2145) W/System.err: at java.lang.Thread.run(Thread.java:818) W/System.err: Caused by: com.sap.xscript.json.JsonException: expected token start character, found 'F' W/System.err: at com.sap.xscript.json.JsonTokenStream.read(JsonTokenStream.java:257) W/System.err: at com.sap.xscript.json.JsonTokenStream.endArray(JsonTokenStream.java:64) W/System.err: at com.sap.xscript.json.JsonContentStream.readValue(JsonContentStream.java:307) W/System.err: at com.sap.xscript.json.JsonReader.read(JsonReader.java:9) W/System.err: at com.sap.xscript.data.DataValue.cloneMutable(DataValue.java:42) W/System.err: at com.sap.xscript.data.EntityValue.rememberOld(EntityValue.java:938) W/System.err: at com.sap.xscript.json.JsonValue.getEntity(JsonValue.java:1306) W/System.err: at com.sap.xscript.json.JsonDeltaStream.parseItem(JsonDeltaStream.java:301) W/System.err: at com.sap.xscript.json.JsonValue.getEntityList(JsonValue.java:1372) W/System.err: at com.sap.xscript.json.JsonValue.getValue(JsonValue.java:1830) W/System.err: at com.sap.xscript.json.JsonValue.parseDocument(JsonValue.java:1884) W/System.err: at com.sap.smp.client.odata.online.PayloadHandler$EntitySetJSONHandler.doHandle(PayloadHandler.java:221) W/System.err: at com.sap.smp.client.odata.online.PayloadHandler$JSONHandlerBase.handle(PayloadHandler.java:148) W/System.err: ... 6 more

Please help me in this regard.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers