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

Stack Overflow | Belal | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    A JSONArray text must start with '[' at 1 [character 2 line 1]

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

    Unable to parse JSON from url

    Stack Overflow | 1 year ago | user2077648
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 106#243031183

    GitHub | 8 months ago | Jogib
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  5. 0

    GitHub comment 106#243323704

    GitHub | 8 months ago | Jogib
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

  1. Indri Yunita 2 times, last 1 month ago
  2. justCodeit 12 times, last 2 months ago
  3. filpgame 2 times, last 2 months ago
  4. gamebusterz 6 times, last 3 months ago
  5. eti22 3 times, last 4 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:195)
    3. org.json.JSONObject.<init>(JSONObject.java:319)
    3 frames
  3. amazondataset
    AmazonDataset.main
    1. amazondataset.AmazonDataset.main(AmazonDataset.java:11)
    1 frame