mojira.dev
MC-20903

Minecraft crashed trying to connect to a server...

---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 7/2/13 1:23 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 bcn.a(SourceFile:518)
	at dl.a(SourceFile:49)
	at cn.b(SourceFile:350)
	at bcn.d(SourceFile:95)
	at bcp.c(SourceFile:71)
	at atn.k(SourceFile:1172)
	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: §5Welcome to the server, SuperBower118§5!
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)
	at bcp.c(SourceFile:71)

-- Affected screen --
Details:
	Screen name: bcp
Stacktrace:
	at atn.k(SourceFile:1172)
	at atn.S(SourceFile:662)
	at atn.d(SourceFile:618)
	at net.minecraft.client.main.Main.main(SourceFile:101)

-- System Details --
Details:
	Minecraft Version: 1.6.1
	Operating System: Windows 8 (x86) version 6.2
	Java Version: 1.7.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
	Memory: 63962928 bytes (60 MB) / 103297024 bytes (98 MB) up to 1037959168 bytes (989 MB)
	JVM Flags: 1 total; -Xmx1G
	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
	Suspicious classes: No suspicious classes found.
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.6.1
	LWJGL: 2.9.0
	OpenGL: Intel(R) HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.2849, Intel
	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: ~~ERROR~~ NullPointerException: null

Linked issues

Comments 2

[Bot] Spam Golem

Based on a crash report provided in this issue, I believe with high certainty that this report may be a duplicate of MC-20163. You can view all information known about this specific crash at MCX-777.

Everyone who has this problem. To fix: go to multiplayer settings change chat from commands only to all. I had the same problem... hope it fixes guys!

Nicolas Makawish

(Unassigned)

Unconfirmed

crash

Minecraft 1.6.1

Retrieved