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

GitHub | edvardasast | 9 months 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

    Crashing on query.whereContainedIn("pointer", listOfParseObjects);

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

    Conflicts when overriding Maven dependency with local changes

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

    Unknown langCode: '' after downloading wikipedia articles

    GitHub | 3 months ago | saisubramaniam
    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

    GitHub comment 271#284400508

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

    parser JSON file JSONARRAY AND JSONOBJECT in java

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

  1. Hiren 2 times, last 3 days ago
  2. Indri Yunita 4 times, last 1 month ago
  3. Dunmer 1 times, last 1 month ago
  4. justCodeit 12 times, last 2 months ago
  5. filpgame 2 times, last 3 months ago
19 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:451)
    2. org.json.JSONObject.<init>(JSONObject.java:195)
    3. org.json.JSONObject.<init>(JSONObject.java:319)
    3 frames
  3. org.parse4j.command
    ParseResponse.getException
    1. org.parse4j.command.ParseResponse.getJsonObject(ParseResponse.java:83)
    2. org.parse4j.command.ParseResponse.getException(ParseResponse.java:71)
    2 frames
  4. org.parse4j
    ParseQuery$FindInBackgroundThread.run
    1. org.parse4j.ParseQuery.find(ParseQuery.java:598)
    2. org.parse4j.ParseQuery.find(ParseQuery.java:469)
    3. org.parse4j.ParseQuery$FindInBackgroundThread.run(ParseQuery.java:618)
    3 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames