Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

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

Solutions on the web

via GitHub by andreybratus
, 1 year ago
Expected a ',' or ']' at 766 [character 767 line 1]
via Stack Overflow by Shivam Aggarwal
, 9 months ago
Expected a ',' or ']' at 4141 [character 1 line 138]
via Stack Overflow by Anush
, 2 years ago
Expected a ',' or ']' at character 35
via GitHub by shmish111
, 2 months ago
A JSONArray text must start with '[' at 1 [character 2 line 1]
via Google Groups by Jenkins, 3 months ago
A JSONArray text must start with '[' at 1 [character 2 line 1]
org.json.JSONException: Expected a ',' or ']' at 766 [character 767 line 1]	at org.json.JSONTokener.syntaxError(JSONTokener.java:423)	at org.json.JSONArray.(JSONArray.java:143)	at org.json.JSONTokener.nextValue(JSONTokener.java:356)	at org.json.JSONObject.(JSONObject.java:210)	at org.json.JSONTokener.nextValue(JSONTokener.java:352)	at org.json.JSONArray.(JSONArray.java:125)	at org.json.JSONTokener.nextValue(JSONTokener.java:356)	at org.json.JSONObject.(JSONObject.java:210)	at org.json.JSONTokener.nextValue(JSONTokener.java:352)	at org.json.JSONArray.(JSONArray.java:125)	at org.json.JSONTokener.nextValue(JSONTokener.java:356)	at com.google.refine.util.ParsingUtilities.evaluateJsonStringToArray(ParsingUtilities.java:137)