o A Descriptive Title (i.e. “Simulator Freezes Launching App in Eclipse”)
Widget crashes after receiving ok empty content response from web request
o The Environment:
Garmin 735XT 7.10
ConnectIQ 2.2.1
o Steps to reproduce the issue
Using the widget "IoTClient"
In Android Connect application, in widget settings defined the action URL as "http://[host]/classicui/CMD?[item_name]=ON"
Accessed the widget in the watch and triggered the defined action
Expected: target system receives the request, widget remains in the same screen
Actual: target system receives the request, widget crashes (big "IQ" text with yellow exclamation mark)
o Any applicable additional information
Target system replies with text/plain empty content, status code 200.
Response header:
Content-Length →0
Content-Type →text/plain
Info extracted from logs:
ERROR: Unexpected Type Error
DETAILS: Failed invoking symbol
....
WARNING: failed inside handle_json_callback