org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

Stack Overflow | ricardoramos | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java - Org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

    howtobuildsoftware.com | 11 months ago
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  2. 0

    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

    Stack Overflow | 2 years ago | ricardoramos
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  3. 0

    Doesnt appear to be a working build

    GitHub | 2 years ago | dtpowers
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RESTful web service with Zend Framework 2

    Stack Overflow | 3 years ago
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  6. 0

    Java 7:: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure (Security forum at Coderanch)

    coderanch.com | 9 months ago
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

  1. Indri Yunita 2 times, last 4 days ago
  2. justCodeit 12 times, last 2 weeks ago
  3. filpgame 2 times, last 1 month ago
  4. gamebusterz 6 times, last 2 months ago
  5. eti22 3 times, last 3 months ago
17 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 1 [character 2 line 1]

    at org.json.JSONTokener.syntaxError()
  2. Android Platform
    JSONObject.<init>
    1. org.json.JSONTokener.syntaxError(JSONTokener.java:433)
    2. org.json.JSONObject.<init>(JSONObject.java:197)
    3. org.json.JSONObject.<init>(JSONObject.java:324)
    3 frames
  3. br.usp.icmc
    TestePrincipal.main
    1. br.usp.icmc.teste.ConnectionRestClient.getSaucelabsGetJobs(ConnectionRestClient.java:80)
    2. br.usp.icmc.teste.TestePrincipal.main(TestePrincipal.java:9)
    2 frames