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.


LartenLarten

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

Solutions on the web401

  • via GitHub by Menci
    ,
  • via GitHub by H4ck3d
    ,
  • 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 visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    77 more bugmates