
[๐]: Moonlightlib makes servers unable to stop correctly
TheOnlyMann opened this issue ยท 9 comments
BEFORE CONTINUING:
- Always check you are using the latest version of these mods and its dependencies
- Remove known problematic rendering mods such as Optifine, Sodium and others
Version-Loader
1.21.1-NEOFORGE
Moonlight Lib Version
moonlight-1.21-2.17.24-neoforge.jar
Describe the Issue
server does not end when issuing stop, neoforge people says that this is related to moonlightlib
Log Attachment
Partially of latest.log
[14:20:50] [Server thread/ERROR] [minecraft/ProcessorMailbox]: Cound not schedule mailbox
java.util.concurrent.RejectedExecutionException: Task IOWorker-entities 2 false rejected from java.util.concurrent.ThreadPoolExecutor@5a941fb4[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 801]
at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081) ~[?:?] {}
at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841) ~[?:?] {}
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376) ~[?:?] {}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ProcessorMailbox.registerForExecution(ProcessorMailbox.java:135) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ProcessorMailbox.tell(ProcessorMailbox.java:124) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ProcessorHandle.askEither(ProcessorHandle.java:31) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,re:computing_frames,re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.storage.IOWorker.submitTask(IOWorker.java:240) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,re:classloading,pl:mixin:APP:ftbrifthelper.mixins.json:IOWorkerAccess from mod ftbrifthelper,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.storage.IOWorker.synchronize(IOWorker.java:203) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,re:classloading,pl:mixin:APP:ftbrifthelper.mixins.json:IOWorkerAccess from mod ftbrifthelper,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.storage.SimpleRegionStorage.synchronize(SimpleRegionStorage.java:46) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.storage.EntityStorage.flush(EntityStorage.java:131) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.PersistentEntitySectionManager.saveAll(PersistentEntitySectionManager.java:296) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ftbteambases-common.mixins.json:PersistentEntitySectionManagerAccess from mod ftbteambases,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.PersistentEntitySectionManager.close(PersistentEntitySectionManager.java:301) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ftbteambases-common.mixins.json:PersistentEntitySectionManagerAccess from mod ftbteambases,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.close(ServerLevel.java:1670) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin from mod cupboard,pl:mixin:APP:servercore.common.mixins.json:optimizations.ticking.chunk.random.ServerLevelMixin from mod servercore,pl:mixin:APP:modernfix-common.mixins.json:bugfix.chunk_deadlock.ServerLevelMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:perf.cache_strongholds.ServerLevelMixin from mod modernfix,pl:mixin:APP:supplementaries-common.mixins.json:ServerLevelMixin from mod supplementaries,pl:mixin:APP:servercore.common.mixins.json:features.activation_range.ServerLevelMixin from mod servercore,pl:mixin:APP:servercore.common.mixins.json:optimizations.sync_loads.ServerLevelMixin from mod servercore,pl:mixin:APP:immersiveengineering.mixins.json:coremods.ServerWorldMixin from mod immersiveengineering,pl:mixin:APP:weathergate.mixins.json:ServerLevelMixin from mod weathergate,pl:mixin:APP:fabric-api-lookup-api-v1.mixins.json:ServerWorldMixin from mod fabric_api_lookup_api_v1,pl:mixin:APP:ftbteambases-common.mixins.json:ServerLevelAccess from mod ftbteambases,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ServerWorldMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:kubejs.mixins.json:ServerLevelMixin from mod kubejs,pl:mixin:APP:moonlight-common.mixins.json:ServerLevelMixin from mod moonlight,pl:mixin:A}
at TRANSFORMER/[email protected]/net.mehvahdjukaar.moonlight.api.misc.fake_level.FakeLevelManager.invalidateAll(FakeLevelManager.java:30) ~[moonlight-1.21-2.17.24-neoforge.jar%23551!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.mehvahdjukaar.moonlight.neoforge.MoonlightForge.onServerStopped(MoonlightForge.java:115) ~[moonlight-1.21-2.17.24-neoforge.jar%23551!/:?] {re:classloading}
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350) ~[bus-8.0.2.jar%2367!/:?] {}
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315) ~[bus-8.0.2.jar%2367!/:?] {}
at TRANSFORMER/[email protected]/net.neoforged.neoforge.server.ServerLifecycleHooks.handleServerStopped(ServerLifecycleHooks.java:127) ~[neoforge-21.1.115-universal.jar%23379!/:?] {re:mixin,re:classloading,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:750) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:servercore.common.mixins.json:features.misc.MinecraftServerMixin from mod servercore,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:balm.neoforge.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:servercore.common.mixins.json:MinecraftServerMixin from mod servercore,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:kubejs.mixins.json:MinecraftServerMixin from mod kubejs,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin from mod ae2,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:servercore.common.mixins.json:features.misc.MinecraftServerMixin from mod servercore,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:balm.neoforge.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:servercore.common.mixins.json:MinecraftServerMixin from mod servercore,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:kubejs.mixins.json:MinecraftServerMixin from mod kubejs,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin from mod ae2,pl:mixin:A}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {re:mixin}
OPTIONAL: To Produce
- Install server
- launch server
- issue stop on server
OPTIONAL: Which mods are affected?
FTB Oceanblock 2
Please use https://mclo.gs/ to share the full content of latest.log/crash-report. Don't use copy/paste, thanks.
also, i get that latest.log is better, but i dont have a good way to actually retrieve said logs other than using nano for the entire thing and futilely copypaste ing it
actually, a full content of the latest.log and crash-report is a good way for a DEV to find out what's the problem and fix the issue if discovered.
a cropped/partially of latest.log is like telling a half of the whole picture. so yea
Please use https://mclo.gs/ to share the full content of latest.log/crash-report. Don't use copy/paste, thanks.
https://mclo.gs/UTtae3K
neat, didnt realize there is a copy paste feature.
actually, a full content of the latest.log and crash-report is a good way for a DEV to find out what's the problem and fix the issue if discovered.
a cropped/partially of latest.log is like telling a half of the whole picture. so yea
i understand how it works, but because of how i set up my server i have to move the log file to the main user, and then use sftp to extract said file to my comptuer, and then psot that log here
if there is a better solution without goiing through the sftp stuff please let me know
its like trying to write a shakespere with 2 buttons
anyway, here's the log.
latest.log
https://mclo.gs/LeHJxkS
Are you using latest version?
negative, just using the version that came with the original modpack. will try that.