mojira.dev
MC-115547

Crafting black dyed wool crashes Minecraft client

I'm on a multiplayer server. The Minecraft client crashed just as I was trying to craft some dyed wool. I had ink sacs and white wool in my inventory and I shift-clicked on the black wool entry in the new crafting interface. That is when the client crashed.

This is what the crash report says:

---- Minecraft Crash Report ----
// Don't do that.

Time: 4/6/17 4:37 PM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
	at bmc.c(SourceFile:693)
	at bkx.m(SourceFile:136)
	at bgr.a(SourceFile:860)
	at bqo.a(SourceFile:678)
	at gd.l(SourceFile:381)
	at bqp.e(SourceFile:275)
	at bgr.t(SourceFile:1547)
	at bgr.av(SourceFile:956)
	at bgr.a(SourceFile:396)
	at net.minecraft.client.main.Main.main(SourceFile:123)


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

-- System Details --
Details:
	Minecraft Version: 17w14a
	Operating System: Mac OS X (x86_64) version 10.12.3
	Java Version: 1.8.0_74, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 267292632 bytes (254 MB) / 390299648 bytes (372 MB) up to 2134114304 bytes (2035 MB)
	JVM Flags: 5 total; -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	IntCache: cache: 7, tcache: 89, allocated: 13, tallocated: 95
	Launched Version: 17w14a
	LWJGL: 2.9.2
	OpenGL: AMD Radeon R9 M370X OpenGL Engine GL version 2.1 ATI-1.48.21, ATI Technologies Inc.
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	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)
	CPU: 8x Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz

Linked issues

Comments 9

This crash is fully repeatable. The client crashes every time I do this.

Also, when I logged back in after reproducing the crash, (so this would be the third time I had started 17w14a), I noticed that a bunch of the wool and ink sacs were missing.

What I think happened there is that instead of returning the wool to my inventory when exiting the crafting table, it tossed it on the ground like in older versions, but when I tried to pick it up, I got nothing.

Cannot reproduce in 17w14a.

Not sure what to tell you. Are you doing it in multiplayer? Is there anything more detailed I can give you when I reproduce the crash?

Possibly related to MC-114961. Does this occur in singleplayer?

Did you try this with at least 64 of each wool and 64 ink sacs in your inventory? I have run out of stacks of full stacks of ink sacs in survival mode, and I couldn't reproduce the bug with only 37 ink sacs. I'll try single player and other things and get back to you. Of course, the bug report does indicate a specific line of code where the crash occurred, although I realize that's not always helpful. In any case, I did reproduce it twice in a row.

Wasnt able to reproduce. In singleplayer it crafted fine.

In multiplayer it wouldnt craft at all with doLimitedCrafting(true)

Setting it to false, it crafted.

I just went into creative, gave myself a stack of wool and ink, back into survival and attempted to craft.

The crash happened again. This time it occurred when crafting stacks of paper. I had lots of stacks of sugarcane in my inventory, went into the new interface, and shift-clicked the paper entry. I had the debug window open, so here's a pastebin of that:
https://pastebin.com/saFYQLf7

I reproduced the crash yet another time with cane. This time, I took a screenshot just before shift-clicking the paper:
http://imgur.com/a/AZL88

Timothy Miller

(Unassigned)

Unconfirmed

Minecraft 17w14a

Retrieved