healthy maps converts into "unknown map" #399

Open
opened 2025-09-27 10:45:14 +02:00 by KosyakMakc · 1 comment
KosyakMakc commented 2025-09-27 10:45:14 +02:00 (Migrated from github.com)

Expected behavior

The map created by the player lives forever and happily

Observed/Actual behavior

Players report that cards often break and become "unknown cards"

Steps/models to reproduce

i do not have 100% repro, but maps often breaks in time, maybe hard reset is trigger (server power lost)

Plugin and Datapack List

Server Plugins (21):
Paper Plugins (1):

  • PlugManX
    Bukkit Plugins (20):
  • AuthMe, AutoTreeChop, BlueBridgeCore, BlueBridgeWG, BlueMap, Chunky, CoreProtect, EasyPayments, Essentials, LuckPerms
    PlaceholderAPI, ProtocolLib, SkinsRestorer, spark, TAB, tgbridge, Vault, voicechat, WorldEdit, WorldGuard

Folia version

This server is running Folia version 1.21.8-2-ver/1.21.8@4ed5b66 (2025-08-10T00:33:31Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT)
You are 3 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: 1.21.4-DEV-8af1aef (MC: 1.21.4)

Other

I have this problem over year, folia runs on 1.21.0, 1.21.1, 1.21.4 and 1.21.8 - problem not solved by updates...
But today i see this stack trace of error first time.
Error loading saved data: SavedDataType[map_187]
java.lang.ArrayIndexOutOfBoundsException: arraycopy: length -1 is negative
at java.base/java.lang.System.arraycopy(Native Method) ~[?:?]
at java.base/java.io.PushbackInputStream.unread(PushbackInputStream.java:247) ~[?:?]
at net.minecraft.world.level.storage.DimensionDataStorage.isGzip(DimensionDataStorage.java:146) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.world.level.storage.DimensionDataStorage.readTagFromDisk(DimensionDataStorage.java:119) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.world.level.storage.DimensionDataStorage.readSavedData(DimensionDataStorage.java:90) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.world.level.storage.DimensionDataStorage.get(DimensionDataStorage.java:77) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.server.level.ServerLevel.getMapData(ServerLevel.java:2272) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.world.item.MapItem.getSavedData(MapItem.java:52) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.server.level.ServerEntity.sendChanges(ServerEntity.java:135) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.server.level.ChunkMap.newTrackerTick(ChunkMap.java:1027) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.server.level.ChunkMap.tick(ChunkMap.java:1038) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:512) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:773) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1833) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1667) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:418) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[concurrentutil-0.0.3.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

### Expected behavior The map created by the player lives forever and happily ### Observed/Actual behavior Players report that cards often break and become "unknown cards" ### Steps/models to reproduce i do not have 100% repro, but maps often breaks in time, maybe hard reset is trigger (server power lost) ### Plugin and Datapack List Server Plugins (21): Paper Plugins (1): - PlugManX Bukkit Plugins (20): - AuthMe, AutoTreeChop, BlueBridgeCore, BlueBridgeWG, BlueMap, Chunky, CoreProtect, EasyPayments, Essentials, LuckPerms PlaceholderAPI, ProtocolLib, SkinsRestorer, spark, TAB, tgbridge, Vault, voicechat, WorldEdit, WorldGuard ### Folia version This server is running Folia version 1.21.8-2-ver/1.21.8@4ed5b66 (2025-08-10T00:33:31Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT) You are 3 version(s) behind Download the new version at: https://papermc.io/downloads/paper Previous version: 1.21.4-DEV-8af1aef (MC: 1.21.4) ### Other I have this problem over year, folia runs on 1.21.0, 1.21.1, 1.21.4 and 1.21.8 - problem not solved by updates... But today i see this stack trace of error first time. Error loading saved data: SavedDataType[map_187] java.lang.ArrayIndexOutOfBoundsException: arraycopy: length -1 is negative at java.base/java.lang.System.arraycopy(Native Method) ~[?:?] at java.base/java.io.PushbackInputStream.unread(PushbackInputStream.java:247) ~[?:?] at net.minecraft.world.level.storage.DimensionDataStorage.isGzip(DimensionDataStorage.java:146) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.world.level.storage.DimensionDataStorage.readTagFromDisk(DimensionDataStorage.java:119) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.world.level.storage.DimensionDataStorage.readSavedData(DimensionDataStorage.java:90) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.world.level.storage.DimensionDataStorage.get(DimensionDataStorage.java:77) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.server.level.ServerLevel.getMapData(ServerLevel.java:2272) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.world.item.MapItem.getSavedData(MapItem.java:52) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.server.level.ServerEntity.sendChanges(ServerEntity.java:135) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.server.level.ChunkMap.newTrackerTick(ChunkMap.java:1027) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.server.level.ChunkMap.tick(ChunkMap.java:1038) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:512) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:773) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1833) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1667) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:418) ~[folia-1.21.8.jar:1.21.8-2-4ed5b66] at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[concurrentutil-0.0.3.jar:?] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Circlepuller commented 2025-09-28 17:03:19 +02:00 (Migrated from github.com)

I think this issue is possibly related to this one. Hoping to see this be addressed soon by the developers as it's very frustrating.

I think this issue is possibly related to [this one](https://github.com/PaperMC/Folia/issues/372). Hoping to see this be addressed soon by the developers as it's very frustrating.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Minecraft/Folia#399
No description provided.