mojira.dev
MC-107409

Game Crashes When Llama Is Equipped With Carpet And Carpet Is In Chest Inventory.

Whenever I equip a llama with a carpet, and a chest, and put a carpet in the chest as well as on the llama, the game instantly crashes. I am not sure if it needs to be the same color carpet or not, but it crashed when i used the light blue carpet, I have not tried any others.

Linked issues

Attachments

Comments 8

Cannot Reproduce, please attach the crash report.

---- Minecraft Crash Report ----
// There are four lights!

Time: 28/09/16 7:30 AM
Description: Updating screen events

java.lang.ArrayIndexOutOfBoundsException: 5
	at java.util.Arrays$ArrayList.set(Arrays.java:3846)
	at dd.set(SourceFile:47)
	at rm.a(SourceFile:100)
	at adg.d(SourceFile:76)
	at acg.a(SourceFile:162)
	at bni.a(SourceFile:413)
	at bhz.a(SourceFile:512)
	at bhz.b(SourceFile:474)
	at bhh.k(SourceFile:409)
	at bhh.p(SourceFile:380)
	at bel.t(SourceFile:1583)
	at bel.av(SourceFile:967)
	at bel.a(SourceFile:395)
	at net.minecraft.client.main.Main.main(SourceFile:124)


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

-- Head --
Thread: Client thread
Stacktrace:
	at java.util.Arrays$ArrayList.set(Arrays.java:3846)
	at dd.set(SourceFile:47)
	at rm.a(SourceFile:100)
	at adg.d(SourceFile:76)
	at acg.a(SourceFile:162)
	at bni.a(SourceFile:413)
	at bhz.a(SourceFile:512)
	at bhz.b(SourceFile:474)
	at bhh.k(SourceFile:409)
	at bhh.p(SourceFile:380)

-- Affected screen --
Details:
	Screen name: bip

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [bpl['Jonny5j'/318, l='MpServer', x=29.81, y=63.83, z=263.52]]
	Chunk stats: MultiplayerChunkCache: 289, 289
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: World: (-28,64,256), Chunk: (at 4,4,0 in -2,16; contains blocks -32,0,256 to -17,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Level time: 37406 game time, 37406 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: 53 total; [aaj['Zombie'/131, l='MpServer', x=-11.50, y=29.00, z=293.50], aab['Skeleton'/137, l='MpServer', x=12.72, y=41.00, z=267.48], xk['Llama'/138, l='MpServer', x=3.66, y=63.00, z=263.44], xk['Llama'/139, l='MpServer', x=6.35, y=63.00, z=262.25], xk['Llama'/140, l='MpServer', x=4.83, y=63.00, z=262.62], wo['Bat'/396, l='MpServer', x=-42.44, y=45.09, z=228.68], xl['Mule'/141, l='MpServer', x=2.10, y=70.00, z=299.81], wo['Bat'/397, l='MpServer', x=-31.44, y=46.74, z=230.25], xo['Zombie Horse'/142, l='MpServer', x=5.93, y=70.00, z=297.76], xo['Zombie Horse'/143, l='MpServer', x=3.58, y=70.00, z=298.21], wx['Polar Bear'/144, l='MpServer', x=8.25, y=70.00, z=294.48], xo['Zombie Horse'/145, l='MpServer', x=5.48, y=72.00, z=318.95], wo['Bat'/407, l='MpServer', x=29.78, y=27.39, z=260.97], aab['Skeleton'/152, l='MpServer', x=30.50, y=55.00, z=233.30], wo['Bat'/408, l='MpServer', x=34.64, y=33.10, z=272.25], aab['Skeleton'/153, l='MpServer', x=29.50, y=53.00, z=241.23], aab['Skeleton'/154, l='MpServer', x=29.48, y=51.00, z=248.72], aaj['Zombie'/155, l='MpServer', x=30.50, y=20.00, z=257.50], xk['Llama'/156, l='MpServer', x=29.35, y=63.00, z=261.15], xk['Llama'/157, l='MpServer', x=29.70, y=63.00, z=263.24], xo['Zombie Horse'/158, l='MpServer', x=30.46, y=70.00, z=333.15], aab['Skeleton'/166, l='MpServer', x=32.69, y=45.00, z=245.49], aaj['Zombie'/167, l='MpServer', x=43.48, y=45.00, z=249.20], wo['Bat'/168, l='MpServer', x=40.47, y=44.46, z=246.44], aak['Zombie Villager'/169, l='MpServer', x=40.57, y=29.00, z=261.83], aab['Skeleton'/170, l='MpServer', x=32.49, y=45.00, z=270.27], wo['Bat'/171, l='MpServer', x=41.01, y=45.10, z=276.34], aaj['Zombie'/178, l='MpServer', x=50.50, y=53.00, z=233.50], zk['Creeper'/179, l='MpServer', x=52.44, y=53.00, z=236.70], zk['Creeper'/180, l='MpServer', x=54.67, y=53.00, z=236.70], wo['Bat'/181, l='MpServer', x=49.70, y=47.10, z=247.70], aab['Skeleton'/182, l='MpServer', x=48.26, y=46.00, z=257.46], aab['Skeleton'/183, l='MpServer', x=49.50, y=51.00, z=319.50], xh['Donkey'/184, l='MpServer', x=51.01, y=71.00, z=308.15], wx['Polar Bear'/185, l='MpServer', x=53.35, y=71.00, z=322.65], wx['Polar Bear'/186, l='MpServer', x=52.62, y=71.00, z=324.34], xo['Zombie Horse'/187, l='MpServer', x=51.80, y=71.00, z=327.48], bpl['Jonny5j'/318, l='MpServer', x=29.81, y=63.83, z=263.52], aab['Skeleton'/207, l='MpServer', x=83.50, y=21.00, z=202.50], aaj['Zombie'/208, l='MpServer', x=88.50, y=22.00, z=276.50], aaj['Zombie'/218, l='MpServer', x=105.47, y=31.00, z=268.38], zk['Creeper'/219, l='MpServer', x=101.47, y=21.00, z=282.84], aaj['Zombie'/220, l='MpServer', x=91.52, y=19.00, z=304.72], aaj['Zombie'/221, l='MpServer', x=98.50, y=20.00, z=310.50], zk['Creeper'/222, l='MpServer', x=98.50, y=20.00, z=310.50], wo['Bat'/110, l='MpServer', x=-47.25, y=32.10, z=191.25], zl['Elder Guardian'/111, l='MpServer', x=-36.38, y=61.00, z=227.00], zk['Creeper'/112, l='MpServer', x=-35.50, y=62.00, z=298.50], zk['Creeper'/113, l='MpServer', x=-32.20, y=62.00, z=302.27], zk['Creeper'/114, l='MpServer', x=-34.50, y=62.00, z=300.50], xh['Donkey'/119, l='MpServer', x=-17.93, y=73.00, z=223.16], xm['Skeleton Horse'/120, l='MpServer', x=-17.17, y=75.00, z=229.78], aaj['Zombie'/121, l='MpServer', x=-20.50, y=67.00, z=298.50]]
	Retry entities: 0 total; []
	Server brand: vanilla
	Server type: Integrated singleplayer server
Stacktrace:
	at bnj.a(SourceFile:365)
	at bel.b(SourceFile:2536)
	at bel.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:124)

-- System Details --
Details:
	Minecraft Version: 16w39a
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 95178776 bytes (90 MB) / 326635520 bytes (311 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
	Launched Version: 16w39a
	LWJGL: 2.9.4
	OpenGL: Intel(R) HD Graphics 520 GL version 4.4.0 - Build 20.19.15.4360, Intel
	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: 
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	CPU: 4x Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz

It works repeatedly for me, not sure why you are not able to get it...

Confirmed, but with different items. I used a shulker box (with a block of sand inside of it), a shulker box with nothing in it, and a block of sand to test. I was about to report a "duplicate" bug, but then realized that your crash was also updating screen events like mine was, with the same classes. However, I have different hardware and a newer Java version than the reporter of this bug.

I can occasionally crash when placing items in a llama's inventory, but I had assumed that this was because I had altered the NBT data for the Strength tag. Perhaps not....

Confirmed the crash, but it's not the carpet's fault. Some specific llamas have broken inventories, and attempting to place items in the CHEST side, not the CARPET side, will cause a crash. I'm attaching a crash log caused by the inventory.

crash-2016-09-28_12.53.21-client.txt is a forced (F3-C) crash with only the broken llama in the world.

I think I found the problem: llamas that work fine become broken after saving and reloading. The llama has no NBT data in the Items tag for its inventory. The game is creating the tags, but not saving them, causing crashes if you try to use the inventory after reloading the save file.

See MC-107536

Jonny5j

(Unassigned)

Unconfirmed

Minecraft 16w39a

Retrieved