com.google.gson.JsonParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • com.google.gson.JsonParseException: Failed parsing JSON source: java.io.StringReader@911f71 to Json at com.google.gson.JsonParser.parse(JsonParser.java:59) at com.google.gson.Gson.fromJson(Gson.java:443) at com.google.gson.Gson.fromJson(Gson.java:396) at json.Main.main(Main.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115) Caused by: com.google.gson.ParseException: Encountered " "\"" "\" "" at line 1, column 10. Was expecting one of: <DIGITS> ... "null" ... "NaN" ... "Infinity" ... <BOOLEAN> ... <SINGLE_QUOTE_LITERAL> ... <DOUBLE_QUOTE_LITERAL> ... "{" ... "[" ... "-" ... at com.google.gson.JsonParserJavacc.generateParseException(JsonParserJavacc.java:705) at com.google.gson.JsonParserJavacc.jj_consume_token(JsonParserJavacc.java:587) at com.google.gson.JsonParserJavacc.JsonValue(JsonParserJavacc.java:229) at com.google.gson.JsonParserJavacc.Pair(JsonParserJavacc.java:112) at com.google.gson.JsonParserJavacc.JsonObject(JsonParserJavacc.java:76) at com.google.gson.JsonParserJavacc.parse(JsonParserJavacc.java:36) at com.google.gson.JsonParser.parse(JsonParser.java:54) ... 8 more
No Bugmate found.