mojira.dev
MC-51590

Minecraft crashes when loading a World: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1

Minecraft 14w11b Crashes when selecting a World and then trying to play it

*What I expected to happen was...
For the world to load up like normal

*What actually happened was...
It goes to the world generation screen and then crashes

Steps to Reproduce:
1. Start up Minecraft 14w11b
2. Select a world and select play world, or create a world
3. The game crashes

Here's the crash report:

---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!

Time: 16/03/14 1:59 PM
Description: Starting integrated server

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
	at com.google.gson.Gson.fromJson(Gson.java:815)
	at com.google.gson.Gson.fromJson(Gson.java:768)
	at oy.b(SourceFile:141)
	at oy.<init>(SourceFile:43)
	at net.minecraft.server.MinecraftServer.<init>(SourceFile:120)
	at cek.<init>(SourceFile:34)
	at bfr.a(SourceFile:1701)
	at bja.e(SourceFile:165)
	at bja.a(SourceFile:128)
	at biz.a(SourceFile:180)
	at biz.d(SourceFile:242)
	at biz.k(SourceFile:219)
	at bfr.p(SourceFile:1387)
	at bfr.ai(SourceFile:801)
	at bfr.f(SourceFile:755)
	at net.minecraft.client.main.Main.main(SourceFile:121)
Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
	at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:338)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
	at com.google.gson.Gson.fromJson(Gson.java:803)
	... 15 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
	at com.google.gson.Gson.fromJson(Gson.java:815)
	at com.google.gson.Gson.fromJson(Gson.java:768)
	at oy.b(SourceFile:141)
	at oy.<init>(SourceFile:43)
	at net.minecraft.server.MinecraftServer.<init>(SourceFile:120)
	at cek.<init>(SourceFile:34)

-- Starting integrated server --
Details:
	Level ID: 1_8 Snapshot
	Level Name: 1.8 Showcase
Stacktrace:
	at bfr.a(SourceFile:1701)
	at bja.e(SourceFile:165)
	at bja.a(SourceFile:128)
	at biz.a(SourceFile:180)
	at biz.d(SourceFile:242)
	at biz.k(SourceFile:219)

-- Affected screen --
Details:
	Screen name: bjk
Stacktrace:
	at bfr.p(SourceFile:1387)
	at bfr.ai(SourceFile:801)
	at bfr.f(SourceFile:755)
	at net.minecraft.client.main.Main.main(SourceFile:121)

-- System Details --
Details:
	Minecraft Version: 14w11b
	Operating System: Windows 8 (x86) version 6.2
	Java Version: 1.7.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
	Memory: 56150808 bytes (53 MB) / 96677888 bytes (92 MB) up to 518979584 bytes (494 MB)
	JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 14w11b
	LWJGL: 2.9.1
	OpenGL: AMD Radeon HD 8610G + 8500M Dual Graphics GL version 4.3.12618 Compatibility Profile Context 13.251.0.0, ATI Technologies Inc.
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: []
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	Anisotropic Filtering: Off (1)

Related issues

MC-3548 bug MC-51532 Bugs everywere MC-51646 14w11b Server failure. MC-51682 Single player worlds not start MC-52611 14w11b Server start up fails to work (Won't start) MC-53923 Encountered an unexpected exception - 14w17a server crash MC-58784 I will try to create a single player world and when i hit create world it will crash. HELP!!! MC-62096 Crahing when in Singleplayer. MC-63985 Ticks taking too long - Forcibly Shutting down MC-64329 When i start a minecraft singleplayer world. minecraft crashes because it cant start an intergraded server. MC-69023 singleplayer MC-70165 Can't Play new Release MC-70838 When attempting to launch Minecraft -1.8.x the output typed in the description field below is displayed in the Game Output (CreeperDonut2) tab. MC-71567 Game won't load at all MC-71673 Single player world crashes MC-72540 Log in Bug MC-73567 1.8 Game Output MC-74720 Failed to launch Minecraft MC-77431 getting an error message upon launching the game MC-77939 Game keeps crashing MC-77940 Can't log into the game MCL-2956 Crashes when press Play MCL-3548 Can not play game

Attachments

Comments

migrated
[media]
John Minecraft

I attempted to reproduce it and it loaded like normal.

Anon Ymus

Please zip and attach your world.

Jim Parley

Here is a zip folder containing the data for my world (Check the attachments section above)

Anon Ymus

Unable to reproduce.

Jim Parley

Well it happens every time I do it

Jim Parley
kumasasa

Does this happen too if you create a new world ?

kumasasa

Please install the 64 bit version of Java: * When using a 32-bit browser on a 64-bit operating system the automatic version detection will only show the 32-bit version of Java, the 64-bit version needs to be downloaded manually: http://www.java.com/en/download/manual.jsp.

Jim Parley

Yes this also happens when creating a new world

Jim Parley

Also I downloaded it and my problem still isn't resolved

kumasasa

Does this happen too with an older version (1.7.5 or any 14wXX snapshot) ?

Jim Parley

No it only started happening with 14w11b, it hasn't affected any other Minecraft versions

kumasasa

Jim Parley,
did you see any snapshot after 14w11b ?

John Minecraft

I didn't.

Jim Parley

No 14w11b is the latest on my versions list

ChaofanJ

The same thing happened to me and I think it has to do with the user profile / server data, try this:

:: For Client ::
copy the save data to the desktop or any other folder you want then delete everything in the location of the game then start Minecraft then move the save data back to the save data folder and that should fix it.
(I only had the problem with the server so this may not work so backup your profile folder first)

:: For Server ::
Delete everything EXCEPT the world folder, the server jar and the start up batch file (if you created one)
(this fixed it for me)

Pika who

Confirmed.

Dlawso the Really Lucky Rabbit

Fixed in 14w17a.

kumasasa

Fixed in 14w17a.

According to MC-53471 et al not.

Jim Parley

It's not fixed, in fact now it's even worse, any version past 1.7.5 will not work for me

Jim Parley

This issue is resolved, I had to delete certain info from minecraft in the roaming floder (%appdata%) then delete and re-install the Minecraft launcher

Susan Bradley

I'm getting this issue-how do I resolve it? I've already reinstalled several times.

kumasasa

Is this still an issue in the current Minecraft Snapshot 15w47c or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

user-f2760

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Jim Parley

(Unassigned)

Community Consensus

crash

Minecraft 14w11b, Minecraft 14w17a, Minecraft 14w30c, Minecraft 1.8, Minecraft 1.8.1

Retrieved