com.google.gson.stream.MalformedJsonException: Unterminated string at line 39 column 10

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

,
Expert tip

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

,
Expert tip

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.

Solutions on the web

via GitHub by alshabib
, 11 months ago
Unterminated string at line 39 column 10
via GitHub by gmcnaught
, 11 months ago
Unterminated string at line 39 column 10
via Google Groups by Royal Gaming, 6 months ago
Unterminated string at line 1492 column 11
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)
at com.google.gson.Gson.fromJson(Gson.java:686)
at org.flowvisor.config.FVConfig.readFromFile(FVConfig.java:99)
at org.flowvisor.config.LoadConfig.main(LoadConfig.java:139)

Users with the same issue

Once, 2 weeks ago
9 times, 5 months ago
Once, 5 months ago
Once, 11 months ago
6 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.