Refined Storage Disks Vanish After Server Restart
Dagdandris opened this issue ยท 4 comments
Issue description: Refined Storage disks vanish from disk drives when the server restarts.
What happens: Any time the server is restarted, all disks will vanish from disk drives.
What you expected to happen: The disks should stay in the disk drives.
Steps to reproduce:
- Restart the Minecraft Server
- All of the Refined Storage disks will vanish from their respective disk drives.
...
Version (make sure you are on the latest version before reporting):
- Minecraft: 1.16.5
- Forge: 36.2.6
- Refined Storage: 1.9.15
Does this issue occur on a server? Yes
Hi Darkere,
I'm not sure which logs in particular to provide. Here is the logs folder out of my server files
logs.zip
My server is also running the All the Mods 6 modpack if that helps.
Hmm, I'm not certain what is going on here. It might be that Compact crafting is loading a chunk too early or in a wrong order or something like that?
Doesn't look like your disks are gone, at least.
java.lang.NullPointerException: null
at com.refinedmods.refinedstorage.apiimpl.API.getStorageDiskManager(API.java:198) ~[?:1.9.15]
at com.refinedmods.refinedstorage.util.StackUtils.createStorages(StackUtils.java:174) ~[?:1.9.15]
at com.refinedmods.refinedstorage.apiimpl.network.node.diskdrive.DiskDriveNetworkNode.lambda$new$2(DiskDriveNetworkNode.java:68) ~[?:1.9.15]
at com.refinedmods.refinedstorage.apiimpl.network.node.diskdrive.DiskDriveNetworkNode$$Lambda$38725/562192317.onChanged(Unknown Source) ~[?:?]
at com.refinedmods.refinedstorage.inventory.item.BaseItemHandler.lambda$onChanged$0(BaseItemHandler.java:61) ~[?:1.9.15]
at com.refinedmods.refinedstorage.inventory.item.BaseItemHandler$$Lambda$38718/1015257016.accept(Unknown Source) ~[?:?]
at java.util.ArrayList.forEach(Unknown Source) ~[?:1.8.0_51]
at com.refinedmods.refinedstorage.inventory.item.BaseItemHandler.onChanged(BaseItemHandler.java:61) ~[?:1.9.15]
at com.refinedmods.refinedstorage.inventory.item.BaseItemHandler.onContentsChanged(BaseItemHandler.java:56) ~[?:1.9.15]
at net.minecraftforge.items.ItemStackHandler.setStackInSlot(ItemStackHandler.java:60) ~[?:?]
at com.refinedmods.refinedstorage.util.StackUtils.readItems(StackUtils.java:221) ~[?:1.9.15]
at com.refinedmods.refinedstorage.util.StackUtils.readItems(StackUtils.java:234) ~[?:1.9.15]
at com.refinedmods.refinedstorage.apiimpl.network.node.diskdrive.DiskDriveNetworkNode.read(DiskDriveNetworkNode.java:181) ~[?:1.9.15]
at com.refinedmods.refinedstorage.setup.CommonSetup.readAndReturn(CommonSetup.java:136) ~[?:1.9.15]
at com.refinedmods.refinedstorage.setup.CommonSetup.lambda$onCommonSetup$0(CommonSetup.java:69) ~[?:1.9.15]
at com.refinedmods.refinedstorage.setup.CommonSetup$$Lambda$29032/1515759389.create(Unknown Source) ~[?:?]
at com.refinedmods.refinedstorage.apiimpl.network.NetworkNodeManager.func_76184_a(NetworkNodeManager.java:61) [?:1.9.15]
at net.minecraft.world.storage.DimensionSavedDataManager.func_223409_c(DimensionSavedDataManager.java:69) [?:?]
at net.minecraft.world.storage.DimensionSavedDataManager.func_215753_b(DimensionSavedDataManager.java:52) [?:?]
at net.minecraft.world.storage.DimensionSavedDataManager.func_215752_a(DimensionSavedDataManager.java:37) [?:?]
at com.refinedmods.refinedstorage.apiimpl.API.getNetworkNodeManager(API.java:131) [?:1.9.15]
at com.refinedmods.refinedstorage.tile.NetworkNodeTile.func_145829_t(NetworkNodeTile.java:76) [?:1.9.15]
at net.minecraft.world.chunk.Chunk.func_177426_a(Chunk.java:409) [?:?]
at net.minecraft.world.chunk.Chunk.func_150813_a(Chunk.java:399) [?:?]
at net.minecraft.world.chunk.storage.ChunkSerializer.func_222650_a(ChunkSerializer.java:402) [?:?]
at net.minecraft.world.chunk.storage.ChunkSerializer.md9aa6a5$lambda$replacePostLoad$0$0(ChunkSerializer.java:2082) [?:?]
at net.minecraft.world.chunk.storage.ChunkSerializer$$Lambda$38592/434305272.accept(Unknown Source) [?:?]
at net.minecraft.world.chunk.Chunk.func_217318_w(Chunk.java:457) [?:?]
at net.minecraft.world.server.ChunkManager.func_219237_a_(ChunkManager.java:582) [?:?]
at net.minecraft.world.server.ChunkManager$$Lambda$38650/438408671.apply(Unknown Source) [?:?]
at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162) [?:?]
at com.mojang.datafixers.util.Either$$Lambda$38651/802922294.apply(Unknown Source) [?:?]
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) [?:?]
at com.mojang.datafixers.util.Either.mapLeft(Either.java:162) [?:?]
at net.minecraft.world.server.ChunkManager.func_219193_a_(ChunkManager.java:569) [?:?]
at net.minecraft.world.server.ChunkManager$$Lambda$38647/1362927211.apply(Unknown Source) [?:?]
at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) [?:1.8.0_51]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) [?:1.8.0_51]
at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) [?:1.8.0_51]
at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter.func_219083_b(SourceFile:58) [?:?]
at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter$$Lambda$38551/276301138.run(Unknown Source) [?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) [?:?]
at net.minecraft.world.server.ServerChunkProvider$ChunkExecutor.func_213166_h(ServerChunkProvider.java:519) [?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) [?:?]
at net.minecraft.world.server.ServerChunkProvider$ChunkExecutor.func_213168_p(ServerChunkProvider.java:527) [?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) [?:?]
at net.minecraft.world.server.ServerChunkProvider.func_212849_a_(ServerChunkProvider.java:135) [?:?]
at net.minecraft.world.World.func_217353_a(World.java:167) [?:?]
at net.minecraft.world.IWorldReader.func_217348_a(IWorldReader.java:112) [?:?]
at net.minecraft.world.World.func_212866_a_(World.java:163) [?:?]
at net.minecraft.world.World.func_175726_f(World.java:159) [?:?]
at net.minecraft.world.World.func_175625_s(World.java:598) [?:?]
at dev.compactmods.crafting.field.ActiveWorldFields.lambda$registerField$1(ActiveWorldFields.java:76) [?:1.0.0-beta.6]
at dev.compactmods.crafting.field.ActiveWorldFields$$Lambda$38506/1559829797.accept(Unknown Source) [?:1.0.0-beta.6]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) [?:1.8.0_51]
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) [?:1.8.0_51]
at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) [?:1.8.0_51]
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) [?:1.8.0_51]
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) [?:1.8.0_51]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) [?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) [?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) [?:1.8.0_51]
at java.util.stream.AbstractPipeline.evaluate(Unknown Source) [?:1.8.0_51]
at java.util.stream.ReferencePipeline.forEach(Unknown Source) [?:1.8.0_51]
at dev.compactmods.crafting.field.ActiveWorldFields.registerField(ActiveWorldFields.java:75) [?:1.0.0-beta.6]
at dev.compactmods.crafting.field.capability.CapabilityActiveWorldFields$1.lambda$readNBT$0(CapabilityActiveWorldFields.java:58) [?:1.0.0-beta.6]
at dev.compactmods.crafting.field.capability.CapabilityActiveWorldFields$1$$Lambda$38498/85195943.accept(Unknown Source) [?:1.0.0-beta.6]
at java.lang.Iterable.forEach(Unknown Source) [?:1.8.0_51]
at dev.compactmods.crafting.field.capability.CapabilityActiveWorldFields$1.readNBT(CapabilityActiveWorldFields.java:47) [?:1.0.0-beta.6]
at dev.compactmods.crafting.field.capability.CapabilityActiveWorldFields$1.readNBT(CapabilityActiveWorldFields.java:28) [?:1.0.0-beta.6]
at dev.compactmods.crafting.field.capability.events.CapabilitySetupForgeEvents$1.deserializeNBT(CapabilitySetupForgeEvents.java:42) [?:1.0.0-beta.6]
at dev.compactmods.crafting.field.capability.events.CapabilitySetupForgeEvents$1.deserializeNBT(CapabilitySetupForgeEvents.java:34) [?:1.0.0-beta.6]
at net.minecraftforge.common.capabilities.CapabilityDispatcher.deserializeNBT(CapabilityDispatcher.java:139) [?:?]
at net.minecraftforge.common.capabilities.CapabilityDispatcher.deserializeNBT(CapabilityDispatcher.java:48) [?:?]
at net.minecraftforge.common.util.WorldCapabilityData.func_76184_a(WorldCapabilityData.java:51) [?:?]
at net.minecraft.world.storage.DimensionSavedDataManager.func_223409_c(DimensionSavedDataManager.java:69) [?:?]
at net.minecraft.world.storage.DimensionSavedDataManager.func_215753_b(DimensionSavedDataManager.java:52) [?:?]
at net.minecraft.world.storage.DimensionSavedDataManager.func_215752_a(DimensionSavedDataManager.java:37) [?:?]
at net.minecraft.world.server.ServerWorld.initCapabilities(ServerWorld.java:1452) [?:?]
at net.minecraft.world.server.ServerWorld.<init>(ServerWorld.java:204) [?:?]
at net.minecraft.server.MinecraftServer.func_240787_a_(MinecraftServer.java:335) [?:?]
at net.minecraft.server.MinecraftServer.func_240800_l__(MinecraftServer.java:308) [?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:168) [?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:621) [?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) [?:?]
at net.minecraft.server.MinecraftServer$$Lambda$38232/543607623.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_51]```
Hey Darkere,
Thank you for getting back to me.
I've been able to restore the disks with /refinedstorage disk create.
I've never even heard of that mod so I had to double check what it was. Turns out compact machines uses the compact crafting mod to create compact machines. Looking back on the past few days, I created my first compact machine right before this happened.
I went into my basement and broke all the compact crafting blocks and restarted the server. My disks are still in the drives!
I cannot thank you enough. Cheers!