[SPIGOT-7526] Failed to handle packet ServerboundResourcePackPacket Created: 05/Dec/23  Updated: 25/Dec/24  Resolved: 05/Dec/23

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: David Lüdtke Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.20.3
Environment:

Linux


Attachments: File server.properties    
Version: 1.20.3
Plugin: None
Guidelines Read: Yes

 Description   

After starting a spigot server with a server resource pack, I'll get this exception after connecting:

[19:32:07] [Server thread/ERROR]: Failed to handle packet ServerboundResourcePackPacket[id=da68a20a-2a9a-3800-b3ba-330ac345312d, action=DOWNLOADED], suppressing error
java.lang.ArrayIndexOutOfBoundsException: Index 4 out of bounds for length 4
    at net.minecraft.server.network.ServerCommonPacketListenerImpl.a(ServerCommonPacketListenerImpl.java:159) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.a(ServerConfigurationPacketListenerImpl.java:99) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.network.protocol.common.ServerboundResourcePackPacket.a(SourceFile:27) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.network.protocol.common.ServerboundResourcePackPacket.a(SourceFile:8) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:33) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1197) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.server.MinecraftServer.bl(MinecraftServer.java:1176) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1169) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.server.MinecraftServer.w_(MinecraftServer.java:1153) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1060) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.3-R0.1-SNAPSHOT.jar:3952-Spigot-9d72885-8232a74]
    at java.lang.Thread.run(Thread.java:1589) ~[?:?] 

Version: This server is running CraftBukkit version 3952-Spigot-9d72885-8232a74 (MC: 1.20.3) (Implementing API version 1.20.3-R0.1-SNAPSHOT)

 


Generated at Sat Dec 13 11:53:46 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.