Skip to content

Crash on worker thread: Unexpected palette resize in Anti-Xray #14178

Description

@KTH103

Stack trace

https://mclo.gs/Y1hxdd9

Plugin and Datapack List

PerfoBooster, PunisherX, AntiSeedCracker, AntiSpammer, AutoMessage, BedrockCombatCompat, Chunky, ChunkyBorder, CommandAPI, DeathCoords, DynamicLights, floodgate, GroupChat, Hurricane, JoinCommands, KillCommand, LagShield, LocatorToggle, LuckPerms, NoChatReports, Penguin, playerKeepInventory, ProtocolLib, SimpleDeathCoordinates, SkinsRestorers, UltimateAutoRestart, Vanish, WorldEdit, WorldGuard

Actions to reproduce (if known)

  1. Migrate a world that previously contained modded blocks to a Paper server.
  2. Enable Anti-Xray (Engine Mode 1 or 2).
  3. Fly around or teleport to trigger the generation/loading of these specific old chunks.

Paper version

This server is running Paper version 26.2-111-main@f570646 (2026-08-07T16:16:19Z) (Implementing API version 26.2.build.111-stable)
You are running the latest version
Previous version: 26.2-91-281bd76 (MC: 26.2)

Other

Description

The server randomly crashes on a worker thread with an Unexpected palette resize exception during chunk loading.

Context: This world was originally generated and used on a modded server (Forge/Fabric). It was recently migrated to Paper. The crashes occur specifically when players move around and trigger the loading of these previously modded chunks. It seems the Anti-Xray controller encounters unexpected or corrupted block palette data left over from modded blocks, causing a race condition or an unhandled exception on the ForkJoinPool worker thread.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions