com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 7 column 5


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


6 months ago
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.


5 months ago
Expert tip

Solutions on the web96

Solution icon of web
via minecraftforge.net by Unknown author, 1 year ago
com.google.gson.stream.MalformedJsonException: Unterminated object at line 7 column 5

Solution icon of github
via GitHub by Blue64
, 1 year ago
com.google.gson.stream.MalformedJsonException: Unterminated object at line 7 column 5

Solution icon of github
via GitHub by vcgd
, 8 months ago
com.google.gson.stream.MalformedJsonException: Unterminated object at line 7 column 5

Solution icon of web
com.google.gson.stream.MalformedJsonException: Unterminated array at line 11 column 5

Solution icon of web
via feed-the-beast.com by Unknown author, 1 year ago
com.google.gson.stream.MalformedJsonException: Unterminated object at line 4 column 4

Solution icon of web
via feed-the-beast.com by Unknown author, 1 year ago
com.google.gson.stream.MalformedJsonException: Unterminated object at line 15 column 4

Solution icon of web
via feed-the-beast.com by Unknown author, 1 year ago
com.google.gson.stream.MalformedJsonException: Unterminated object at line 15 column 4

Solution icon of web
via minecraftforge.net by Unknown author, 1 year ago
com.google.gson.stream.MalformedJsonException: Expected ':' at line 11 column 36

Solution icon of web
com.google.gson.stream.MalformedJsonException: Expected ':' at line 11 column 36

Solution icon of web
via minecraft-france.fr by Unknown author, 1 year ago
com.google.gson.stream.MalformedJsonException: Expected name at line 13 column 4

Stack trace

com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 7 column 5
	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_91]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_91]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_91]
	at java.lang.reflect.Method.invoke(Unknown Source)[?:1.8.0_91]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)[launchwrapper-1.11.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)[launchwrapper-1.11.jar:?]
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 7 column 5
	at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505)[JsonReader.class:?]
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:480)[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:666)[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

Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
30 more bugmates