mojira.dev
MC-302745

Crash when debug hitboxes or chunk borders are shown / java.lang.NullPointerException: Cannot read the array length because "elementData" is null

Use the shortcut to display the chunk borders and kaboom, it crashes!

Stack trace:

java.lang.NullPointerException: Cannot read the array length because "elementData" is null
	at java.base/java.util.ArrayList$Itr.next(ArrayList.java:1054)
	at hhz.a(SourceFile:799)
	at ftp.a(SourceFile:67)
	at hhz.a(SourceFile:584)
	at hht.a(SourceFile:773)
	at hht.a(SourceFile:537)
	at gcc.c(SourceFile:1393)
	at gcc.j(SourceFile:976)
	at net.minecraft.client.main.Main.main(SourceFile:250)

Environment

Any minecraft world

Linked issues

Attachments

Comments 2

We do not have enough information to find the cause of this issue.

Please attach the crash report found in minecraft/crash-reports/crash-<DATE>-client.txt here.
If you cannot find a crash report, please attach the full launcher log found in minecraft/launcher_log.txt.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support (Technical Issues) โ€“ ๐Ÿ“ง Microsoft Support (Account Issues)
๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 2025-10-09 15:57:08
Description: Unexpected error

java.lang.NullPointerException: Cannot read the array length because "elementData" is null
at java.base/java.util.ArrayList$Itr.next(ArrayList.java:1054)
at hhz.a(SourceFile:799)
at ftp.a(SourceFile:67)
at hhz.a(SourceFile:584)
at hht.a(SourceFile:773)
at hht.a(SourceFile:537)
at gcc.c(SourceFile:1393)
at gcc.j(SourceFile:976)
at net.minecraft.client.main.Main.main(SourceFile:250)

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.ArrayList$Itr.next(ArrayList.java:1054)
at hhz.a(SourceFile:799)
at ftp.a(SourceFile:67)
at hhz.a(SourceFile:584)
at hht.a(SourceFile:773)

-- Uptime --
Details:
JVM uptime: 450.408s
Wall uptime: 428.332s
High-res time: 425.994s
Client ticks: 8240 ticks / 412.000s
Stacktrace:
at gcc.d(SourceFile:2459)
at gcc.c(SourceFile:1045)
at gcc.j(SourceFile:1000)
at net.minecraft.client.main.Main.main(SourceFile:250)

-- Affected level --
Details:
All players: 1 total; hgy{name=Maximus_3069, id=48, pos=(-1089.3944867831453, 71.84375002384186, 1070.8203671512329), mode=CREATIVE, permission=permission level: OWNERS}
Chunk stats: 961, 637
Level dimension: minecraft:overworld
Level spawn location: World: (-32,103,48), Section: (at 0,7,0 in -2,6,3; chunk contains blocks -32,-64,48 to -17,319,63), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
Level time: 337843 game time, 13000 day time
Server brand: vanilla
Server type: Integrated singleplayer server
Tracked entity count: 134

-- Last reload --
Details:
Reload number: 2
Reload reason: manual
Finished: Yes
Packs: vanilla, file/Classic Eggs, file/ยง3ยงlC418 Songs Only [All Versions]

-- System Details --
Details:
Minecraft Version: 25w41a
Minecraft Version ID: 25w41a
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.7, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 254244160 bytes (242 MiB) / 1006632960 bytes (960 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 12
Microarchitecture: Whiskey Lake
Frequency (GHz): 1.90
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: Intel(R) UHD Graphics 620
Graphics card #0 vendor: Intel Corporation
Graphics card #0 VRAM (MiB): 1024.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 31.0.101.2135
Memory slot #0 capacity (MiB): 16384.00
Memory slot #0 clockSpeed (GHz): 2.40
Memory slot #0 type: DDR4
Virtual memory max (MiB): 17215.23
Virtual memory used (MiB): 7138.30
Swap memory total (MiB): 1024.00
Swap memory used (MiB): 0.00
Space in storage for jna.tmpdir (MiB): available: 102759.90, total: 243121.00
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 102759.90, total: 243121.00
Space in storage for io.netty.native.workdir (MiB): available: 102759.90, total: 243121.00
Space in storage for java.io.tmpdir (MiB): available: 102759.90, total: 243121.00
Space in storage for workdir (MiB): available: 102759.90, total: 243121.00
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Debug Flags: 0 total;
Launched Version: 25w41a
Launcher name: minecraft-launcher
Backend library: LWJGL version 3.3.3+5
Backend API: Intel(R) UHD Graphics 620 GL version 3.3.0 - Build 31.0.101.2135, Intel
Window size: 1920x1080
GFLW Platform: win32
Render Extensions: GL_ARB_buffer_storage, GL_KHR_debug, GL_ARB_vertex_attrib_binding, GL_ARB_direct_state_access
GL debug messages:
Is Modded: Probably not. Client jar signature and brand is untouched; Server jar signature and brand is untouched
Universe: 400921fb54442d18
Type: Integrated Server (map_client.txt)
Transparency: regular
Render Distance: 12/12 chunks
Resource Packs: vanilla, file/Classic Eggs (incompatible), file/ยง3ยงlC418 Songs Only [All Versions] (incompatible)
Current Language: en_us
Locale: pt_BR
System encoding: Cp1252
File encoding: UTF-8
CPU: 8x Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
Server Running: true
Player Count: 1 / 8; [axn['Maximus_3069'/48, l='ServerLevel[Bilada no Bilu]', x=-1089.39, y=71.84, z=1070.82]]
Active Data Packs: vanilla
Available Data Packs: minecart_improvements, redstone_experiments, trade_rebalance, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: -7111249926686028188
Suppressed Exceptions: NONE

Maximus_3069

(Unassigned)

Confirmed

Platform

Very Important

Crash

25w41a

25w42a

Retrieved