com.google.gson.stream.MalformedJsonException

Unterminated string at line 39 column 10


Samebug tips2

This means you had a syntax problem in your serialization/deserialization, check the Gson javadoc to check the right syntax: https://goo.gl/g7LnZb

This seems to be a bug in the-blue-alliance, fixed in version 4.2.3 (link for github in case you want the changelog: https://goo.gl/NQAKUf ). If you're not using it, it might be that you're parsing xml as json.

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


Solutions on the web334

Solution icon of github
via GitHub by gmcnaught
, 7 months ago
Unterminated string at line 39 column 10

Solution icon of github
via GitHub by alshabib
, 7 months ago
Unterminated string at line 39 column 10

Solution icon of web
via bukkit.org by Unknown author, 1 year ago
Unterminated array at line 10 column 2

Solution icon of web
via minecraftforge.net by Unknown author, 1 year ago
Unterminated object at line 4 column 10

Solution icon of googlegroups
via Google Groups by Royal Gaming, 2 months ago
Unterminated string at line 1492 column 11

Solution icon of github
Unterminated string at line 2999 column 80

Solution icon of web
via feed-the-beast.com by Unknown author, 1 year ago
Unterminated string at line 671 column 30

Solution icon of web
via feed-the-beast.com by Unknown author, 1 year ago
Unterminated string at line 2 column 1

Solution icon of web
via mc-server.org by Unknown author, 1 year ago
Unterminated string at line 1 column 13

Solution icon of stackoverflow
via Stack Overflow by Kash
, 5 months ago
Unterminated array at line 1 column 10 path $[1]

Stack trace

  • com.google.gson.stream.MalformedJsonException: Unterminated string at line 39 column 10 at com.google.gson.Gson.fromJson(Gson.java:734) at com.google.gson.Gson.fromJson(Gson.java:686) at com.google.gson.Gson.fromJson(Gson.java:636) at org.flowvisor.config.FVConfig.readFromFile(FVConfig.java:99) at org.flowvisor.config.LoadConfig.main(LoadConfig.java:139) Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 39 column 10 at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1158) at com.google.gson.stream.JsonReader.nextString(JsonReader.java:1014) at com.google.gson.stream.JsonReader.nextInObject(JsonReader.java:755) at com.google.gson.stream.JsonReader.quickPeek(JsonReader.java:387) at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:340) at com.google.gson.internal.bind.ObjectTypeAdapter.read(ObjectTypeAdapter.java:65) at com.google.gson.internal.bind.ObjectTypeAdapter.read(ObjectTypeAdapter.java:57) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:38) at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:141) at com.google.gson.Gson.fromJson(Gson.java:720) ... 4 more

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

Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 times, 1 month ago
Once, 2 months ago
30 more bugmates