org.json.JSONException

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

Samebug tips1

The json is invalid or you try to map to a different model.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web854

  • via GitHub by agautam-hs
    , 5 months ago
    A JSONArray text must start with '[' at 1 [character 2 line 1]
  • via GitHub by ygalblum
    , 1 year ago
    A JSONArray text must start with '[' at 1 [character 2 line 1]
  • A JSONArray text must start with '[' at 1 [character 2 line 1]
  • Stack trace

    • org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1] at org.json.JSONTokener.syntaxError(JSONTokener.java:433) at org.json.JSONArray.<init>(JSONArray.java:105) at org.json.JSONArray.<init>(JSONArray.java:144) at itdelatrisu.opsu.Utils.readJsonArrayFromUrl(Utils.java:430) at itdelatrisu.opsu.downloads.servers.HexideServer.resultList(HexideServer.java:84) at itdelatrisu.opsu.states.DownloadsMenu$SearchQuery.run(DownloadsMenu.java:213) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    77 more bugmates