Skip to Content

ODataNetworkException while opening offline odata store

Hi,

I am looking into the Offline OData functionality available since SMP 3.0 SP04. I have created an Android client which is able to register itself to the SMP server using an application ID that has been configured to use offline odata functionality.

After registration, the offline store is opened for the first time using offlinestore.openStoreSync(options). This call throws an ODataNetworkException:

com.sap.smp.client.odata.offline.ODataOfflineException: [-10060] An error occured while performaning a syncrhonization. Reason: -857 (ERROR) %1:[-10255] Message: Failure occurred while executing user supplied code

Any ideas how to solve this?

Kind regards,

Mike Overmeijer

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 27, 2014 at 07:56 AM

    Hi,

    I checked the SMP server log and ran into some exceptions:

    "Exception thrown in method: 'public void com.psa.odata.offline.scripts.ODataSyncHandler.handle.UploadData(ianywhere.ml.script.UploadData) throws java.lang.Exception'. Error description: 'java.lang.IllegalArgumentException: cookie name "$Path" is a reserver token'

    Any help? Is this an issue being fixed with SP04 PL 02 ?

    Kind regards,

    Mike

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 06, 2014 at 03:06 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.