com.google.gson.JsonSyntaxException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • JSON crashes on simple string if there are spaces
    via Stack Overflow by Jim
    ,
  • Gson json parsing is not working
    via Stack Overflow by user3198674
    ,
  • This is an automatically generated report based from the following crash: http://hopper.minecraft.net/crashes/minecraft/MCX-466029/ Crash: {code} com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 at com.google.gson.JsonParser.parse(JsonParser.java:65) at bqf.a(SourceFile:62) at bqg.a(SourceFile:74) at bgj.a(SourceFile:37) at bgi.a(SourceFile:86) at bat.a(SourceFile:26) at bay.b(SourceFile:382) at bay.a(SourceFile:259) at bgh.a(SourceFile:173) {code} The following is the first clean report made public about this crash: {code} ---- Minecraft Crash Report ---- // You should try our sister game, Minceraft! Time: 16/11/13 10:32 AM Description: Rendering screen com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 20 at com.google.gson.JsonParser.parse(JsonParser.java:65) at bqf.a(SourceFile:62) at bqg.a(SourceFile:74) at bgj.a(SourceFile:37) at bgi.a(SourceFile:86) at bat.a(SourceFile:26) at bay.b(SourceFile:382) at bay.a(SourceFile:259) at bgh.a(SourceFile:173) at bll.b(SourceFile:851) at azd.ad(SourceFile:780) at azd.e(SourceFile:704) at net.minecraft.client.main.Main.main(SourceFile:103) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 20 at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1386) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:531) at com.google.gson.stream.JsonReader.peek(JsonReader.java:414) at com.google.gson.JsonParser.parse(JsonParser.java:60) ... 12 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at com.google.gson.JsonParser.parse(JsonParser.java:65) at bqf.a(SourceFile:62) at bqg.a(SourceFile:74) at bgj.a(SourceFile:37) at bgi.a(SourceFile:86) at bat.a(SourceFile:26) at bay.b(SourceFile:382) at bay.a(SourceFile:259) at bgh.a(SourceFile:173) -- Screen render details -- Details: Screen name: bgh Mouse location: Scaled: (312, 202). Absolute: (625, 301) Screen size: Scaled: (683, 353). Absolute: (1366, 706). Scale factor of 2 -- Affected level -- Details: Level name: MpServer All players: 1 total; [bje['random869'/19, l='MpServer', x=-556.85, y=65.64, z=163.29]] Chunk stats: MultiplayerChunkCache: 225, 225 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: World: (-587,4,72), Chunk: (at 5,0,8 in -37,4; contains blocks -592,0,64 to -577,255,79), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,0,0 to -513,255,511) Level time: 229417 game time, 8687 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 14 total; [uq['Bat'/0, l='MpServer', x=-555.45, y=59.86, z=192.71], uq['Bat'/1, l='MpServer', x=-550.29, y=56.44, z=182.41], uq['Bat'/2, l='MpServer', x=-548.36, y=56.93, z=174.71], uq['Bat'/3, l='MpServer', x=-546.69, y=59.59, z=179.81], uq['Bat'/4, l='MpServer', x=-538.25, y=70.10, z=175.91], uq['Bat'/5, l='MpServer', x=-514.16, y=59.03, z=203.61], bje['random869'/19, l='MpServer', x=-556.85, y=65.64, z=163.29], uq['Bat'/6, l='MpServer', x=-510.50, y=64.92, z=211.68], uq['Bat'/7, l='MpServer', x=-513.61, y=61.85, z=236.03], uq['Bat'/8, l='MpServer', x=-483.48, y=57.99, z=153.19], uq['Bat'/9, l='MpServer', x=-495.46, y=56.56, z=196.57], uq['Bat'/10, l='MpServer', x=-482.20, y=55.81, z=94.78], uq['Bat'/11, l='MpServer', x=-477.07, y=60.01, z=173.42], uq['Bat'/12, l='MpServer', x=-486.79, y=59.15, z=198.46]] Retry entities: 0 total; [] Server brand: vanilla Server type: Integrated singleplayer server Stacktrace: at biz.a(SourceFile:284) at azd.b(SourceFile:1951) at azd.e(SourceFile:713) at net.minecraft.client.main.Main.main(SourceFile:103) -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.7.0_45, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation Memory: 32283184 bytes (30 MB) / 171331584 bytes (163 MB) up to 518979584 bytes (494 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M AABB Pool Size: 9251 (518056 bytes; 0 MB) allocated, 4 (224 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 Launched Version: 1.7.2 LWJGL: 2.9.0 OpenGL: AMD Radeon HD 6250 Graphics GL version 4.1.10834 Compatibility Profile Context, ATI Technologies Inc. Is Modded: Probably not. Jar signature remains and client brand is untouched. Type: Client (map_client.txt) Resource Packs: [] Current Language: ~~ERROR~~ NullPointerException: null Profiler Position: N/A (disabled) Vec3 Pool Size: 251 (14056 bytes; 0 MB) allocated, 57 (3192 bytes; 0 MB) used Anisotropic Filtering: Off (1) {code} You can see this full report at http://hopper.minecraft.net/crashes/minecraft/MCX-466029/28520405/
    via by [Bot] Hopper,
  • GSON - Json Parsing Error
    via Stack Overflow by MCCCS
    ,
    • com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 25 at com.google.gson.JsonParser.parse(JsonParser.java:65) at com.google.gson.JsonParser.parse(JsonParser.java:45) at com.kevyporter.pixelplus.stats.MWStats.getStats(MWStats.java:127) at com.kevyporter.pixelplus.stats.MWStats.display(MWStats.java:16) at com.kevyporter.pixelplus.commands.GetStatsCommand$3.run(GetStatsCommand.java:78)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    RajeshRajesh
    7 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,