Symptom
Native Android Offline-OData application is being developed.
When implementing the Technical Cache the application crashes.
The application works without any problems once the technical cache is disabled.
In addition disabling the Offline store, and only relying on the Online store enables data retrieval from the technical cache without the application crashing.
The following entries appear in the device logs(Logcat):
subscribeNotification: subscribeNotification:
<?xml version="1.0" encoding="utf-8"?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code>/IWBEP/CM_MGW_RT/030</code><message xml:lang="en">
Duplicateresource.</message><innererror><application><component_id/><service_namespace>/IWWRK/</service_namespace><service_id>WFSERVICE</service_id><service_version>0001</service_version>
</application>
<transactionid>F5C77CE7AA91F1F5A093005056C00008</transactionid><timestamp>20170809055952.9210000</timestamp><Error_Resolution><SAP_Transaction>Run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details</SAP_Transaction>
<SAP_Note>See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)</SAP_Note></Error_Resolution>
<errordetails><errordetail><code>/IWBEP/CX_MGW_BUSI_EXCEPTION</code><message>Duplicate resource</message><propertyref/><severity>error</severity><target/></errordetail>
</errordetails></innererror></error>
Could not find method com.sap.smp.client.etm.ElapsedTimeMeter.getInstance, referenced from method com.sap.smp.client.httpc.HttpConversationManager$ConversationFlow.run
Read more...
Environment
-
SMP 3.0 SP 12 and above
-
SMP 3.0 SP14 PL03 and above
-
Android OS(version agnostic)
Product
Keywords
Android Technical Cache; Offline; Online; URL_KEY; , KBA , MOB-SDK-ODP , SAP Mobile SDK Odata SDK , 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.