Skip to content

healthy maps converts into "unknown map" #399

@KosyakMakc

Description

@KosyakMakc

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) ~[?:?]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions