Hi, I have an issue with Java API on Android for IoTivity 1.1.1:
A client calling post <https://api-docs.iotivity.org/latest-java/org/iotivity/base/OcResource.html#post(org.iotivity.base.OcRepresentation,%20java.util.Map,%20org.iotivity.base.OcResource.OnPostListener)> method of any OcResource object (representing a discovered resource) always gets to onPostFailed instead of onPostFailed - although the POST request execution is a success on the server side. The exception seen at Java level does not say much: org.iotivity.base.OcException: stack error in onPostCallback JNI_INVALID_VALUE Now, it looks like I succeeded to reproduce a very similar problem, using only the *Simulator Tool*, so it can be checked without a single line of my code. In the Simualor server, define any resource, and in the Simualtor client, find the resource and perform a POST request. On the server, everything is OK. But in the client log, you will see an error: ERROR: [SIMULATOR_ERROR] Received error response for POST request. Hope it's an issue that can be fixed for the coming release. Best regards, Max Software Architect - Tekoia Ltd. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160921/4a78aeee/attachment.html>
