com.google.gson.JsonSyntaxException

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

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 web755

  • com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 8194
  • via stackexchange.com by Unknown author, 1 year ago
    com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 8194
  • via minecraftforge.net by Unknown author, 1 year ago
    com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 8194
  • Stack trace

    • com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 8194 at com.google.gson.internal.Streams.parse(Streams.java:56) at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:54) 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) at com.google.gson.Gson.fromJson(Gson.java:768) at net.minecraft.server.management.PlayerProfileCache.func_152657_b(SourceFile:156) at net.minecraft.server.management.PlayerProfileCache.<init>(SourceFile:42) at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:142) at net.minecraft.server.integrated.IntegratedServer.<init>(IntegratedServer.java:45) at net.minecraft.client.Minecraft.func_71371_a(Minecraft.java:2080) at net.minecraft.client.gui.GuiCreateWorld.func_146284_a(GuiCreateWorld.java:230) at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:225) at net.minecraft.client.gui.GuiCreateWorld.func_73864_a(GuiCreateWorld.java:377) at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:296) at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1629) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 8194 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.TypeAdapters$25.read(TypeAdapters.java:666) at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) at com.google.gson.internal.Streams.parse(Streams.java:44) ... 26 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