mojira.dev
MC-24012

When I go into a public server and try to talk once I send anything Minecraft crashes for me.

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 bcn.a(SourceFile:518)
	at dl.a(SourceFile:49)
	at cn.b(SourceFile:350)
	at bcn.d(SourceFile:95)
	at bcu.b(SourceFile:60)
	at atn.k(SourceFile:1380)
	at atn.S(SourceFile:662)
	at atn.d(SourceFile:618)
	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 bcn.a(SourceFile:518)
	at dl.a(SourceFile:49)
	at cn.b(SourceFile:350)
	at bcn.d(SourceFile:95)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [bcx['RachGoesRawr'/136489, l='MpServer', x=19713.00, y=186.62, z=20200.00]]
	Chunk stats: MultiplayerChunkCache: 169
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: World: (19713,185,20200), Chunk: (at 1,11,8 in 1232,1262; contains blocks 19712,0,20192 to 19727,255,20207), Region: (38,39; contains chunks 1216,1248 to 1247,1279, blocks 19456,0,19968 to 19967,255,20479)
	Level time: 134444919 game time, 134726088 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
	Forced entities: 15 total; [rv['Pig'/275, l='MpServer', x=19793.47, y=63.00, z=20217.06], sr['entity.MinecartChest.name'/175, l='MpServer', x=19634.50, y=30.50, z=20154.50], rv['Pig'/174, l='MpServer', x=19642.16, y=73.00, z=20143.13], rv['Pig'/203, l='MpServer', x=19686.19, y=78.00, z=20148.91], rw['Sheep'/173, l='MpServer', x=19638.53, y=97.00, z=20122.38], sr['entity.MinecartChest.name'/276, l='MpServer', x=19793.50, y=34.50, z=20266.50], rv['Pig'/202, l='MpServer', x=19683.41, y=99.00, z=20141.47], bcx['RachGoesRawr'/136489, l='MpServer', x=19713.00, y=186.62, z=20200.00], sp['item.item.egg'/136490, l='MpServer', x=19705.81, y=64.13, z=20150.16], rn['Chicken'/212, l='MpServer', x=19706.75, y=85.00, z=20144.63], rn['Chicken'/176, l='MpServer', x=19645.56, y=62.11, z=20151.16], rv['Pig'/244, l='MpServer', x=19744.47, y=64.00, z=20143.47], ro['Cow'/245, l='MpServer', x=19744.28, y=63.00, z=20144.78], ro['Cow'/177, l='MpServer', x=19645.53, y=89.00, z=20144.56], sp['item.item.egg'/136485, l='MpServer', x=19649.97, y=62.13, z=20156.13]]
	Retry entities: 0 total; []
Stacktrace:
	at bcu.a(SourceFile:284)
	at atn.k(SourceFile:1387)
	at atn.S(SourceFile:662)
	at atn.d(SourceFile:618)
	at net.minecraft.client.main.Main.main(SourceFile:101)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [bcx['RachGoesRawr'/136489, l='MpServer', x=19713.00, y=186.62, z=20200.00]]
	Chunk stats: MultiplayerChunkCache: 169
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: World: (19713,185,20200), Chunk: (at 1,11,8 in 1232,1262; contains blocks 19712,0,20192 to 19727,255,20207), Region: (38,39; contains chunks 1216,1248 to 1247,1279, blocks 19456,0,19968 to 19967,255,20479)
	Level time: 134444919 game time, 134726088 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
	Forced entities: 15 total; [rv['Pig'/275, l='MpServer', x=19793.47, y=63.00, z=20217.06], sr['entity.MinecartChest.name'/175, l='MpServer', x=19634.50, y=30.50, z=20154.50], rv['Pig'/174, l='MpServer', x=19642.16, y=73.00, z=20143.13], rv['Pig'/203, l='MpServer', x=19686.19, y=78.00, z=20148.91], rw['Sheep'/173, l='MpServer', x=19638.53, y=97.00, z=20122.38], sr['entity.MinecartChest.name'/276, l='MpServer', x=19793.50, y=34.50, z=20266.50], rv['Pig'/202, l='MpServer', x=19683.41, y=99.00, z=20141.47], bcx['RachGoesRawr'/136489, l='MpServer', x=19713.00, y=186.62, z=20200.00], sp['item.item.egg'/136490, l='MpServer', x=19705.81, y=64.13, z=20150.16], rn['Chicken'/212, l='MpServer', x=19706.75, y=85.00, z=20144.63], rn['Chicken'/176, l='MpServer', x=19645.56, y=62.11, z=20151.16], rv['Pig'/244, l='MpServer', x=19744.47, y=64.00, z=20143.47], ro['Cow'/245, l='MpServer', x=19744.28, y=63.00, z=20144.78], ro['Cow'/177, l='MpServer', x=19645.53, y=89.00, z=20144.56], sp['item.item.egg'/136485, l='MpServer', x=19649.97, y=62.13, z=20156.13]]
	Retry entities: 0 total; []

-- System Details --
Details:
	Minecraft Version: 1.6.1
	Operating System: Windows 7 (x86) version 6.1
	Java Version: 1.7.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
	Memory: 45818336 bytes (43 MB) / 128274432 bytes (122 MB) up to 1037959168 bytes (989 MB)
	JVM Flags: 1 total; -Xmx1G
	AABB Pool Size: 9251 (518056 bytes; 0 MB) allocated, 159 (8904 bytes; 0 MB) used
	Suspicious classes: No suspicious classes found.
	IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
	Launched Version: 1.6.1
	LWJGL: 2.9.0
	OpenGL: AMD Radeon HD 6320 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 Pack: Default
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: 765 (42840 bytes; 0 MB) allocated, 48 (2688 bytes; 0 MB) used

What I expected to happen was...:
To be able to talk in the server

What actually happened was...:
I got kicked offline

Steps to Reproduce:
1. Go into a public server
2. Try to talk in the chat
3. Minecraft crashes.

I can to the /tell command and talk to people that way it just crashes when i try to say something to the whole server.

Linked issues

Comments 1

Duplicate of MC-20163, please use the search function to see if your bug has already been submitted. Currently over 58% of tickets are being closed as duplicate.

Rachel Durkin

(Unassigned)

Unconfirmed

chat, communication

Minecraft 1.6.1

Retrieved