com.google.gson.JsonSyntaxException

com.google.gson.stream.MalformedJsonException: Unterminated array at line 12 column 29

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 web757

  • via minecraftforge.net by Unknown author, 11 months ago
    com.google.gson.stream.MalformedJsonException: Unterminated array at line 12 column 29
  • via minecraftforge.net by Unknown author, 1 year ago
    com.google.gson.stream.MalformedJsonException: Unterminated array at line 6 column 8
  • via Stack Overflow by Neuronix
    , 1 year ago
    com.google.gson.stream.MalformedJsonException: Unterminated array at line 2 column 5
  • Stack trace

    • com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated array at line 12 column 29 at com.google.gson.internal.Streams.parse(Streams.java:56)[Streams.class:?] at com.google.gson.JsonParser.parse(JsonParser.java:84)[JsonParser.class:?] at com.google.gson.JsonParser.parse(JsonParser.java:59)[JsonParser.class:?] at cpw.mods.fml.common.MetadataCollection.from(MetadataCollection.java:55)[MetadataCollection.class:?] at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:53)[JarDiscoverer.class:?] at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42)[ContainerType.class:?] at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71)[ModCandidate.class:?] at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131)[ModDiscoverer.class:?] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364)[Loader.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:489)[Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)[FMLClientHandler.class:?] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)[bao.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)[bao.class:?] at net.minecraft.client.main.Main.main(SourceFile:148)[Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)[launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28)[launchwrapper-1.12.jar:?] Caused by: com.google.gson.stream.MalformedJsonException: Unterminated array at line 12 column 29 at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505)[JsonReader.class:?] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:465)[JsonReader.class:?] at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403)[JsonReader.class:?] at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:658)[TypeAdapters$25.class:?] at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)[TypeAdapters$25.class:?] at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)[TypeAdapters$25.class:?] at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642)[TypeAdapters$25.class:?] at com.google.gson.internal.Streams.parse(Streams.java:44)[Streams.class:?] ... 19 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

    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 1 year ago
    6 times, 9 months ago
    2 times, 11 months ago
    Unknown user
    Once, 11 months ago
    30 more bugmates