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 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?
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 …
Thanks for the quick reply, its a bug which will be fixed any minute
We’ll try again tomorrow, when the new snapshots are built …
When is this build available.
FYI: The latest distro #956 should have the fix included - if you still see errors, please scream loudly!