org.json.JSONException: A JSONObject text must begin with '{' at character 0

GitHub | pushpavatirathod | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error occured while communicating with selendroid server on the device

    GitHub | 2 years ago | SunitaMK
    org.json.JSONException: A JSONObject text must begin with '{' at character 0
  2. 0

    aused by: org.json.JSONException: A JSONObject text must begin with '{' at character 0

    GitHub | 3 years ago | pushpavatirathod
    org.json.JSONException: A JSONObject text must begin with '{' at character 0
  3. 0

    FrameSwitchHandler does not support POST session/:sessionId/frame/parent

    GitHub | 3 years ago | csnover
    io.selendroid.exceptions.SelendroidException: Error occured while communicating with selendroid server on the device:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with executeScript

    GitHub | 3 years ago | danielwagner
    io.selendroid.exceptions.SelendroidException: Error occured while communicating with selendroid server on the device:
  6. 0

    WEBVIEW get io.selendroid.exceptions.SelendroidException: Error occured while communicating with selendroid server on the device:

    GitHub | 4 years ago | EliseLebeau
    io.selendroid.exceptions.SelendroidException: Error occured while communicating with selendroid server on the device:

  1. Indri Yunita 4 times, last 1 week ago
  2. Dunmer 1 times, last 3 weeks ago
  3. justCodeit 12 times, last 2 months ago
  4. filpgame 2 times, last 2 months ago
  5. gamebusterz 6 times, last 3 months ago
18 more registered users
33 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.json.JSONException

    A JSONObject text must begin with '{' at character 0

    at org.json.JSONTokener.syntaxError()
  2. Android Platform
    JSONObject.<init>
    1. org.json.JSONTokener.syntaxError(JSONTokener.java:410)
    2. org.json.JSONObject.<init>(JSONObject.java:179)
    3. org.json.JSONObject.<init>(JSONObject.java:402)
    3 frames
  3. Selendroid
    RequestRedirectHandler.handle
    1. io.selendroid.server.util.HttpClientUtil.parseJsonResponse(HttpClientUtil.java:57)
    2. io.selendroid.server.handler.RequestRedirectHandler.redirectRequest(RequestRedirectHandler.java:121)
    3. io.selendroid.server.handler.RequestRedirectHandler.handle(RequestRedirectHandler.java:64)
    3 frames