mojira.dev
MC-136888

Game crashes when shift-right-clicking a shulker box while holding bone meal

The bug

Holding bone meal in your main hand, shift-right-click a shulker box.  The game crashes with NullPointerException.

Crash report

1.13.1\: [^crash-2018-09-14_07.47.20-client.txt]

---- Minecraft Crash Report ----
// Daisy, daisy...

Time: 9/14/18 7:47 AM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
	at bhh.a(SourceFile:338)
	at blb.c(SourceFile:293)
	at arl.a(SourceFile:44)
	at atd.a(SourceFile:187)
	at cre.a(SourceFile:333)
	at cfs.au(SourceFile:1177)
	at cfs.aw(SourceFile:1410)
	at cfs.m(SourceFile:1251)
	at cfs.c(SourceFile:821)
	at cfs.a(SourceFile:395)
	at net.minecraft.client.main.Main.main(SourceFile:144)


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

-- Head --
Thread: Client thread
Stacktrace:
	at bhh.a(SourceFile:338)
	at blb.c(SourceFile:293)
	at arl.a(SourceFile:44)
	at atd.a(SourceFile:187)
	at cre.a(SourceFile:333)
	at cfs.au(SourceFile:1177)
	at cfs.aw(SourceFile:1410)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [cti['Covert_Miner'/50, l='MpServer', x=123.84, y=4.00, z=127.01]]
	Chunk stats: MultiplayerChunkCache: 439, 439
	Level seed: 0
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: {}
	Level spawn location: World: (192,4,48), Chunk: (at 0,0,0 in 12,3; contains blocks 192,0,48 to 207,255,63), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 3233756 game time, 1000 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: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 22 total; [ajq['Chicken'/0, l='MpServer', x=73.11, y=4.00, z=132.90], aml['Egg'/1, l='MpServer', x=79.23, y=4.00, z=137.63], aml['Kelp'/2, l='MpServer', x=122.75, y=3.69, z=134.69], aml['Kelp'/3, l='MpServer', x=123.52, y=3.69, z=134.69], aml['Kelp'/5, l='MpServer', x=122.24, y=4.00, z=134.69], aml['Kelp'/6, l='MpServer', x=123.23, y=4.00, z=134.69], ajq['Chicken'/10, l='MpServer', x=157.32, y=4.00, z=158.14], akp['Horse'/17, l='MpServer', x=187.89, y=4.00, z=93.03], ajq['Chicken'/18, l='MpServer', x=185.53, y=4.00, z=107.18], ajs['Cow'/19, l='MpServer', x=176.83, y=4.00, z=104.40], aml['Egg'/20, l='MpServer', x=184.61, y=4.00, z=108.13], akp['Horse'/21, l='MpServer', x=191.14, y=4.00, z=107.33], ake['Sheep'/22, l='MpServer', x=185.20, y=4.00, z=118.72], akp['Horse'/23, l='MpServer', x=191.15, y=4.00, z=117.85], ajq['Chicken'/24, l='MpServer', x=191.10, y=4.00, z=133.71], ajs['Cow'/25, l='MpServer', x=188.74, y=4.00, z=133.40], aml['Egg'/26, l='MpServer', x=186.24, y=4.00, z=136.86], ajq['Chicken'/27, l='MpServer', x=177.36, y=4.00, z=155.11], akp['Horse'/30, l='MpServer', x=192.07, y=4.00, z=97.13], ajs['Cow'/31, l='MpServer', x=194.49, y=4.00, z=109.22], aml['Egg'/49, l='MpServer', x=157.79, y=4.00, z=158.02], cti['Covert_Miner'/50, l='MpServer', x=123.84, y=4.00, z=127.01]]
	Retry entities: 0 total; []
	Server brand: vanilla
	Server type: Integrated singleplayer server
Stacktrace:
	at crf.a(SourceFile:418)
	at cfs.b(SourceFile:1815)
	at cfs.a(SourceFile:408)
	at net.minecraft.client.main.Main.main(SourceFile:144)

-- System Details --
Details:
	Minecraft Version: 1.13.1
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 241687392 bytes (230 MB) / 506904576 bytes (483 MB) up to 2134114304 bytes (2035 MB)
	JVM Flags: 7 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	Launched Version: 1.13.1
	LWJGL: 3.1.6 build 14
	OpenGL: Quadro K5000M/PCIe/SSE2 GL version 4.5.0 NVIDIA 382.16, NVIDIA Corporation
	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.
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: vanilla, file/Faithful+1.13-rv3.zip
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	CPU: 4x Intel(R) Core(TM) i7-3540M CPU @ 3.00GHz

 

 

Attachments

Comments 3

Instructions:

  1. Creating new world in the superflat preset

  2. Get shulker boxes and bone meal out

  3. Place shulker boxes and place bone meal and crash

  4. Bug found!

"Future version - 1.14+" can be removed as it is fixed in 1.13.2-pre2

capfan

Erik Broes

Confirmed

Minecraft 1.13.1, Minecraft 1.13.2-pre1

Minecraft 1.13.2-pre2

Retrieved