Mojira Archive
MC-254349

Crash when putting dye into a loom on a modded server

I put a white banner in the loom, then the banner pattern "Thing" in, but when i put the red dye in, the game crashed, with an exit code of "-1". I was on a server that was available on Java and Bedrock Edition. I was playing on Java Edition. The crash report is shown below:

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

Time: 7/18/22, 9:43 PM
Description: Container click

java.lang.ArrayIndexOutOfBoundsException: Index 39 out of bounds for length 0
    at java.base/java.util.ImmutableCollections$ListN.get(ImmutableCollections.java:680)
    at bwr.a(SourceFile:184)
    at bwr$1.e(SourceFile:53)
    at azr.a(SourceFile:140)
    at bxg.d(SourceFile:61)
    at bvp.a(SourceFile:655)
    at bwr.a(SourceFile:244)
    at bvp.b(SourceFile:394)
    at bvp.a(SourceFile:293)
    at etp.a(SourceFile:446)
    at elh.a(SourceFile:569)
    at elh.a(SourceFile:361)
    at emh.a(SourceFile:226)
    at eew.b(SourceFile:94)
    at ekj.a(SourceFile:491)
    at eew.a(SourceFile:94)
    at eew.c(SourceFile:165)
    at ayc.execute(SourceFile:103)
    at eew.b(SourceFile:165)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:197)
    at dyx.e(SourceFile:310)
    at eev.f(SourceFile:1171)
    at eev.e(SourceFile:734)
    at net.minecraft.client.main.Main.main(SourceFile:237)

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

– Head –
Thread: Render thread
Stacktrace:
    at java.base/java.util.ImmutableCollections$ListN.get(ImmutableCollections.java:680)
    at bwr.a(SourceFile:184)
    at bwr$1.e(SourceFile:53)
    at azr.a(SourceFile:140)
    at bxg.d(SourceFile:61)
    at bvp.a(SourceFile:655)
    at bwr.a(SourceFile:244)
    at bvp.b(SourceFile:394)
    at bvp.a(SourceFile:293)
    at etp.a(SourceFile:446)
    at elh.a(SourceFile:569)
    at elh.a(SourceFile:361)
    at emh.a(SourceFile:226)
    at eew.b(SourceFile:94)
    at ekj.a(SourceFile:491)
    at eew.a(SourceFile:94)
    at eew.c(SourceFile:165)
    at ayc.execute(SourceFile:103)
    at eew.b(SourceFile:165)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:197)

– Click info –
Details:
    Menu Type: minecraft:loom
    Menu Class: bwr
    Slot Count: 40
    Slot: 7
    Button: 0
    Type: QUICK_MOVE
Stacktrace:
    at bvp.a(SourceFile:293)
    at etp.a(SourceFile:446)
    at elh.a(SourceFile:569)
    at elh.a(SourceFile:361)
    at emh.a(SourceFile:226)
    at eew.b(SourceFile:94)
    at ekj.a(SourceFile:491)
    at eew.a(SourceFile:94)
    at eew.c(SourceFile:165)
    at ayc.execute(SourceFile:103)
    at eew.b(SourceFile:165)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:197)
    at dyx.e(SourceFile:310)
    at eev.f(SourceFile:1171)
    at eev.e(SourceFile:734)
    at net.minecraft.client.main.Main.main(SourceFile:237)

– Affected screen –
Details:
    Screen name: emh
Stacktrace:
    at ekj.a(SourceFile:491)
    at eew.a(SourceFile:94)
    at eew.c(SourceFile:165)
    at ayc.execute(SourceFile:103)
    at eew.b(SourceFile:165)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:197)
    at dyx.e(SourceFile:310)
    at eev.f(SourceFile:1171)
    at eev.e(SourceFile:734)
    at net.minecraft.client.main.Main.main(SourceFile:237)

– Affected level –
Details:
    All players: 1 total; [ewy['TJP0325'/38114, l='ClientLevel', x=84002.11, y=160.00, z=-26397.08]]
    Chunk stats: 225, 77
    Level dimension: minecraft:oneblock_world
    Level spawn location: World: (8,-60,8), Section: (at 8,4,8 in 0,-4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
    Level time: 57646 game time, 134691267 day time
    Server brand: Waterfall <- SpeedMC
    Server type: Non-integrated multiplayer server
Stacktrace:
    at etm.a(SourceFile:453)
    at eev.d(SourceFile:2288)
    at eev.e(SourceFile:753)
    at net.minecraft.client.main.Main.main(SourceFile:237)

– Last reload –
Details:
    Reload number: 1
    Reload reason: initial
    Finished: Yes
    Packs: Default

– System Details –
Details:
    Minecraft Version: 1.19
    Minecraft Version ID: 1.19
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 17.0.3, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
    Memory: 519051120 bytes (495 MiB) / 1543503872 bytes (1472 MiB) up to 2147483648 bytes (2048 MiB)
    CPUs: 8
    Processor Vendor: GenuineIntel
    Processor Name: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Identifier: Intel64 Family 6 Model 140 Stepping 1
    Microarchitecture: Tiger Lake
    Frequency (GHz): 2.42
    Number of physical packages: 1
    Number of physical CPUs: 4
    Number of logical CPUs: 8
    Graphics card #0 name: Intel(R) Iris(R) Xe Graphics
    Graphics card #0 vendor: Intel Corporation (0x8086)
    Graphics card #0 VRAM (MB): 1024.00
    Graphics card #0 deviceId: 0x9a49
    Graphics card #0 versionInfo: DriverVersion=30.0.100.9836
    Memory slot #0 capacity (MB): 2048.00
    Memory slot #0 clockSpeed (GHz): 4.27
    Memory slot #0 type: LPDDR4
    Memory slot #1 capacity (MB): 2048.00
    Memory slot #1 clockSpeed (GHz): 4.27
    Memory slot #1 type: LPDDR4
    Memory slot #2 capacity (MB): 2048.00
    Memory slot #2 clockSpeed (GHz): 4.27
    Memory slot #2 type: LPDDR4
    Memory slot #3 capacity (MB): 2048.00
    Memory slot #3 clockSpeed (GHz): 4.27
    Memory slot #3 type: LPDDR4
    Memory slot #4 capacity (MB): 2048.00
    Memory slot #4 clockSpeed (GHz): 4.27
    Memory slot #4 type: LPDDR4
    Memory slot #5 capacity (MB): 2048.00
    Memory slot #5 clockSpeed (GHz): 4.27
    Memory slot #5 type: LPDDR4
    Memory slot #6 capacity (MB): 2048.00
    Memory slot #6 clockSpeed (GHz): 4.27
    Memory slot #6 type: LPDDR4
    Memory slot #7 capacity (MB): 2048.00
    Memory slot #7 clockSpeed (GHz): 4.27
    Memory slot #7 type: LPDDR4
    Virtual memory max (MB): 32476.18
    Virtual memory used (MB): 10223.38
    Swap memory total (MB): 16384.00
    Swap memory used (MB): 318.77
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    Launched Version: 1.19
    Backend library: LWJGL version 3.3.1 build 7
    Backend API: Intel(R) Iris(R) Xe Graphics GL version 3.2.0 - Build 30.0.100.9836, Intel
    Window size: 1920x1051
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: 
    Using VBOs: Yes
    Is Modded: Probably not. Client jar signature and brand is untouched
    Type: Client (map_client.txt)
    Graphics mode: fancy
    Resource Packs: vanilla
    Current Language: English (US)
    CPU: 8x 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz

 

What I expected to happen was...:
The banner patter "Thing" to be put on the white banner.

What actually happened was...:
It said saving world then immediately crashed the game.

Steps to Reproduce:
1. Put banner in loom.

2. Put banner pattern "Thing" in loom.

3. Put dye in loom (single, shift, or right click.)

Fixed

TJP0325

[Mojang] Panda

2022-07-19, 04:45 AM

2022-07-20, 01:37 PM

2022-07-20, 01:27 PM

1

2

Community Consensus

Important

Crash

dye, loom

1.19

1.19.1 Pre-release 6