Failed to read data from file: Market_data.dat
Elaina69 opened this issue ยท 5 comments
after i restart my server, i get this error and all trade item i add removed
Failed to read data from file: Market_data.dat
net.minecraft.nbt.NbtAccounterException: Tried to read NBT tag that was too big; tried to allocate: 2097148 + 27 bytes where max allowed: 2097152
at TRANSFORMER/[email protected]/net.minecraft.nbt.NbtAccounter.accountBytes(NbtAccounter.java:31)
at TRANSFORMER/[email protected]/net.minecraft.nbt.NbtAccounter.readUTF(NbtAccounter.java:80)
at TRANSFORMER/[email protected]/net.minecraft.nbt.StringTag$1.readAccounted(StringTag.java:23)
at TRANSFORMER/[email protected]/net.minecraft.nbt.StringTag$1.load(StringTag.java:12)
at TRANSFORMER/[email protected]/net.minecraft.nbt.StringTag$1.load(StringTag.java:10)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag.readNamedTagData(CompoundTag.java:513)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.loadCompound(CompoundTag.java:62)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:41)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:35)
at TRANSFORMER/[email protected]/net.minecraft.nbt.ListTag$1.loadList(ListTag.java:48)
at TRANSFORMER/[email protected]/net.minecraft.nbt.ListTag$1.load(ListTag.java:31)
at TRANSFORMER/[email protected]/net.minecraft.nbt.ListTag$1.load(ListTag.java:26)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag.readNamedTagData(CompoundTag.java:513)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.loadCompound(CompoundTag.java:62)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:41)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:35)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag.readNamedTagData(CompoundTag.java:513)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.loadCompound(CompoundTag.java:62)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:41)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:35)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag.readNamedTagData(CompoundTag.java:513)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.loadCompound(CompoundTag.java:62)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:41)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:35)
at TRANSFORMER/[email protected]/net.minecraft.nbt.ListTag$1.loadList(ListTag.java:48)
at TRANSFORMER/[email protected]/net.minecraft.nbt.ListTag$1.load(ListTag.java:31)
at TRANSFORMER/[email protected]/net.minecraft.nbt.ListTag$1.load(ListTag.java:26)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag.readNamedTagData(CompoundTag.java:513)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.loadCompound(CompoundTag.java:62)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:41)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:35)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag.readNamedTagData(CompoundTag.java:513)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.loadCompound(CompoundTag.java:62)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:41)
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag$1.load(CompoundTag.java:35)
at TRANSFORMER/[email protected]/net.minecraft.nbt.NbtIo.readTagSafe(NbtIo.java:193)
at TRANSFORMER/[email protected]/net.minecraft.nbt.NbtIo.readUnnamedTag(NbtIo.java:187)
at TRANSFORMER/[email protected]/net.minecraft.nbt.NbtIo.read(NbtIo.java:121)
at TRANSFORMER/[email protected]/net.kroia.stockmarket.util.StockMarketDataHandler.readDataCompound(StockMarketDataHandler.java:195)
at TRANSFORMER/[email protected]/net.kroia.stockmarket.util.StockMarketDataHandler.load_market(StockMarketDataHandler.java:132)
at TRANSFORMER/[email protected]/net.kroia.stockmarket.util.StockMarketDataHandler.loadAll(StockMarketDataHandler.java:94)
at TRANSFORMER/[email protected]/net.kroia.stockmarket.command.StockMarketCommands.lambda$register$53(StockMarketCommands.java:731)
at TRANSFORMER/connector$brigadier/com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:29)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:8)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:107)
at TRANSFORMER/[email protected]/net.minecraft.commands.Commands.executeCommandInContext(Commands.java:363)
at TRANSFORMER/[email protected]/net.minecraft.commands.Commands.performCommand(Commands.java:284)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:1282)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$7(ServerGamePacketListenerImpl.java:1269)
at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:148)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:872)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:170)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:855)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:849)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:111)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:825)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:712)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267)
at java.base/java.lang.Thread.run(Thread.java:1570)
Can you send me that file?
If possible send me a zip file that contains the folder you can find here:
SaveGameFolder/Finance
This contains all files from my mod.
Did you change anything before you have restarted the server?
Can you send me that file? If possible send me a zip file that contains the folder you can find here: SaveGameFolder/Finance This contains all files from my mod.
Did you change anything before you have restarted the server?
nuh uh
i didn't change anything
the file just too large
im trying to use NBTexplorer to see what made it so heavy, and i saw buy/sell trade take a lot file size
so im try delete those trade, save it, load it again and it work
the modified one i put it in data-backup folder
Thank you,
Yes I see, there are lots of bot orders saved.
Since I already work on a new version where I have changed the bot fundamentaly, this will not happen on a future version.