Since updating to anything at/after build #951, we always receive the following error message in the openhab.log when doing a http REST state update :
2017-06-19 09:20:06.831 [ERROR] [lipse.smarthome.io.rest.JSONResponse] - Error streaming JSON through PipedInpuStream/PipedOutputStream:
java.io.IOException: Incomplete document
at com.google.gson.stream.JsonWriter.close(JsonWriter.java:527)
at org.eclipse.smarthome.io.rest.JSONResponse.lambda$0(JSONResponse.java:167)
at java.lang.Thread.run(Unknown Source)[:1.8.0_91]
The http response code is 202 (not explained in api doc !) - same as before …
Any idea what the cause is ?
Do we have to change something in our app ? (same error when using PaperUI API …)
Or is it just programming error ?!?
Hi Benno, from the first look this seems to be a programming error. could you please describe in more detail what you are doing? What exactly is the situation the error occurs?
Hi Henning,
we are just doing an update via HTTP …
Can also be triggered using the PaperUI openHAB REST api page -> Update the state of an item
Insert an existing item name and an appropriate state into the body field -> try out
->> error message
Something must have changed somewhere in the REST API handling …