com.google.gson.JsonSyntaxException

com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 35933

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 web753

  • com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 35933
  • via GitHub by robertotru
    , 8 months ago
    com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 26 path $.message
  • via GitHub by BrentDouglas
    , 8 months ago
    com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 26 path $.message
  • Stack trace

    • com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 35933 at com.google.gson.Gson.fromJson(Gson.java:818) at com.google.gson.Gson.fromJson(Gson.java:768) at cn.lambdalib.util.version.Fetcher.run(CheckManger.java:141) at java.lang.Thread.run(Unknown Source) Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 35933 at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:480) at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:184) at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81) at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) at com.google.gson.Gson.fromJson(Gson.java:803) ... 3 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

    9 times, 2 weeks ago
    Once, 1 month ago
    Unknown user
    Once, 11 months ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    30 more bugmates