java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject
at cw.a(SourceFile:14)
at cw.deserialize(SourceFile:10)
at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)
at com.google.gson.Gson.fromJson(Gson.java:795)
at com.google.gson.Gson.fromJson(Gson.java:761)
at com.google.gson.Gson.fromJson(Gson.java:710)
at com.google.gson.Gson.fromJson(Gson.java:682)
at cu.c(SourceFile:220)
at bct.a(SourceFile:522)
at dl.a(SourceFile:49)
at cn.b(SourceFile:354)
at bct.e(SourceFile:98)
at bda.b(SourceFile:60)
at ats.k(SourceFile:1386)
at ats.S(SourceFile:663)
at ats.d(SourceFile:619)
at net.minecraft.client.main.Main.main(SourceFile:101)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at cw.a(SourceFile:14)
at cw.deserialize(SourceFile:10)
at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)
at com.google.gson.Gson.fromJson(Gson.java:795)
at com.google.gson.Gson.fromJson(Gson.java:761)
at com.google.gson.Gson.fromJson(Gson.java:710)
at com.google.gson.Gson.fromJson(Gson.java:682)
-- Serialized Message --
Details:
JSON string: Cannot send chat message.
Stacktrace:
at cu.c(SourceFile:220)
at bct.a(SourceFile:522)
at dl.a(SourceFile:49)
at cn.b(SourceFile:354)
at bct.e(SourceFile:98)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [bdf['Babysnatcher17'/7304961, l='MpServer', x=3195.46, y=72.62, z=-1433.20]]
Chunk stats: MultiplayerChunkCache: 169
Level seed: 0
Level generator: ID 02 - largeBiomes, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (5621,98,5985), Chunk: (at 5,6,1 in 351,374; contains blocks 5616,0,5984 to 5631,255,5999), Region: (10,11; contains chunks 320,352 to 351,383, blocks 5120,0,5632 to 5631,255,6143)
Level time: 11755194 game time, 11938337 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: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 3 total; [bdf['Babysnatcher17'/7304961, l='MpServer', x=3195.46, y=72.62, z=-1433.20], rp['Chicken'/-2147483638, l='MpServer', x=4496.39, y=71.47, z=2082.52], rq['Cow'/7304963, l='MpServer', x=3183.47, y=71.00, z=-1458.59]]
Retry entities: 0 total; []
Server brand: craftbukkit
Server type: Non-integrated multiplayer server
Stacktrace:
at bda.a(SourceFile:284)
at ats.k(SourceFile:1393)
at ats.S(SourceFile:663)
at ats.d(SourceFile:619)
at net.minecraft.client.main.Main.main(SourceFile:101)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [bdf['Babysnatcher17'/7304961, l='MpServer', x=3195.46, y=72.62, z=-1433.20]]
Chunk stats: MultiplayerChunkCache: 169
Level seed: 0
Level generator: ID 02 - largeBiomes, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (5621,98,5985), Chunk: (at 5,6,1 in 351,374; contains blocks 5616,0,5984 to 5631,255,5999), Region: (10,11; contains chunks 320,352 to 351,383, blocks 5120,0,5632 to 5631,255,6143)
Level time: 11755194 game time, 11938337 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: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 3 total; [bdf['Babysnatcher17'/7304961, l='MpServer', x=3195.46, y=72.62, z=-1433.20], rp['Chicken'/-2147483638, l='MpServer', x=4496.39, y=71.47, z=2082.52], rq['Cow'/7304963, l='MpServer', x=3183.47, y=71.00, z=-1458.59]]
Retry entities: 0 total; []
Server brand: craftbukkit
Server type: Non-integrated multiplayer server
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 249654720 bytes (238 MB) / 351600640 bytes (335 MB) up to 954466304 bytes (910 MB)
JVM Flags: 1 total; -Xmx1G
AABB Pool Size: 466 (26096 bytes; 0 MB) allocated, 41 (2296 bytes; 0 MB) used
Suspicious classes: No suspicious classes found.
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 71
Launched Version: 1.6.2
LWJGL: 2.9.0
OpenGL: AMD Radeon HD 6750M GL version 4.1.10428 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 648 (36288 bytes; 0 MB) allocated, 25 (1400 bytes; 0 MB) used
--- Minecraft Crash Report ----
// I just don't know what went wrong
Time: 7/9/13 4:40 PM
Description: Deserializing Message
java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject
at cw.a(SourceFile:14)
at cw.deserialize(SourceFile:10)
at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)
at com.google.gson.Gson.fromJson(Gson.java:795)
at com.google.gson.Gson.fromJson(Gson.java:761)
at com.google.gson.Gson.fromJson(Gson.java:710)
at com.google.gson.Gson.fromJson(Gson.java:682)
at cu.c(SourceFile:220)
at bct.a(SourceFile:522)
at dl.a(SourceFile:49)
at cn.b(SourceFile:354)
at bct.e(SourceFile:98)
at bda.b(SourceFile:60)
at ats.k(SourceFile:1386)
at ats.S(SourceFile:663)
at ats.d(SourceFile:619)
at net.minecraft.client.main.Main.main(SourceFile:101)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at cw.a(SourceFile:14)
at cw.deserialize(SourceFile:10)
at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)
at com.google.gson.Gson.fromJson(Gson.java:795)
at com.google.gson.Gson.fromJson(Gson.java:761)
at com.google.gson.Gson.fromJson(Gson.java:710)
at com.google.gson.Gson.fromJson(Gson.java:682)
-- Serialized Message --
Details:
JSON string: Cannot send chat message.
Stacktrace:
at cu.c(SourceFile:220)
at bct.a(SourceFile:522)
at dl.a(SourceFile:49)
at cn.b(SourceFile:354)
at bct.e(SourceFile:98)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [bdf['Babysnatcher17'/7304961, l='MpServer', x=3195.46, y=72.62, z=-1433.20]]
Chunk stats: MultiplayerChunkCache: 169
Level seed: 0
Level generator: ID 02 - largeBiomes, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (5621,98,5985), Chunk: (at 5,6,1 in 351,374; contains blocks 5616,0,5984 to 5631,255,5999), Region: (10,11; contains chunks 320,352 to 351,383, blocks 5120,0,5632 to 5631,255,6143)
Level time: 11755194 game time, 11938337 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: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 3 total; [bdf['Babysnatcher17'/7304961, l='MpServer', x=3195.46, y=72.62, z=-1433.20], rp['Chicken'/-2147483638, l='MpServer', x=4496.39, y=71.47, z=2082.52], rq['Cow'/7304963, l='MpServer', x=3183.47, y=71.00, z=-1458.59]]
Retry entities: 0 total; []
Server brand: craftbukkit
Server type: Non-integrated multiplayer server
Stacktrace:
at bda.a(SourceFile:284)
at ats.k(SourceFile:1393)
at ats.S(SourceFile:663)
at ats.d(SourceFile:619)
at net.minecraft.client.main.Main.main(SourceFile:101)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [bdf['Babysnatcher17'/7304961, l='MpServer', x=3195.46, y=72.62, z=-1433.20]]
Chunk stats: MultiplayerChunkCache: 169
Level seed: 0
Level generator: ID 02 - largeBiomes, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (5621,98,5985), Chunk: (at 5,6,1 in 351,374; contains blocks 5616,0,5984 to 5631,255,5999), Region: (10,11; contains chunks 320,352 to 351,383, blocks 5120,0,5632 to 5631,255,6143)
Level time: 11755194 game time, 11938337 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: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 3 total; [bdf['Babysnatcher17'/7304961, l='MpServer', x=3195.46, y=72.62, z=-1433.20], rp['Chicken'/-2147483638, l='MpServer', x=4496.39, y=71.47, z=2082.52], rq['Cow'/7304963, l='MpServer', x=3183.47, y=71.00, z=-1458.59]]
Retry entities: 0 total; []
Server brand: craftbukkit
Server type: Non-integrated multiplayer server
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 249654720 bytes (238 MB) / 351600640 bytes (335 MB) up to 954466304 bytes (910 MB)
JVM Flags: 1 total; -Xmx1G
AABB Pool Size: 466 (26096 bytes; 0 MB) allocated, 41 (2296 bytes; 0 MB) used
Suspicious classes: No suspicious classes found.
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 71
Launched Version: 1.6.2
LWJGL: 2.9.0
OpenGL: AMD Radeon HD 6750M GL version 4.1.10428 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 648 (36288 bytes; 0 MB) allocated, 25 (1400 bytes; 0 MB) used
Re-installed, same problem occurred. Any ideas?
Still didnt work :/
This man has it all sorted out. Just go to multiplayer settings and change chat to shown.