Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception stopping the server #3857

Open
Mrgaton opened this issue Mar 18, 2024 · 7 comments
Open

Exception stopping the server #3857

Mrgaton opened this issue Mar 18, 2024 · 7 comments
Labels
type: issue The issue identifies a bug/problem with the software.

Comments

@Mrgaton
Copy link

Mrgaton commented Mar 18, 2024

Description

[17:41:26] [Server thread/ERROR]: Exception stopping the server
java.util.concurrent.RejectedExecutionException: null
at java.util.concurrent.ForkJoinPool.externalPush(ForkJoinPool.java:2179) ~[?:?]
at java.util.concurrent.ForkJoinPool.externalSubmit(ForkJoinPool.java:2196) ~[?:?]
at java.util.concurrent.ForkJoinPool.execute(ForkJoinPool.java:2664) ~[?:?]
at me.lucko.luckperms.common.plugin.scheduler.SchedulerAdapter.executeAsync(SchedulerAdapter.java:56) ~[LuckPerms-Fabric-5.4.102.jar:?]
at me.lucko.luckperms.common.plugin.util.AbstractConnectionListener.handleDisconnect(AbstractConnectionListener.java:120) ~[LuckPerms-Fabric-5.4.102.jar:?]
at me.lucko.luckperms.fabric.listeners.FabricConnectionListener.onDisconnect(FabricConnectionListener.java:135) ~[LuckPerms-Fabric-5.4.102.jar:?]
at net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents.lambda$static$4(ServerPlayConnectionEvents.java:59) ~[fabric-networking-api-v1-1.3.11+1802ada577-4657550f9c265bf4.jar:?]
at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.invokeDisconnectEvent(ServerPlayNetworkAddon.java:136) ~[fabric-networking-api-v1-1.3.11+1802ada577-4657550f9c265bf4.jar:?]
at net.fabricmc.fabric.impl.networking.AbstractNetworkAddon.handleDisconnect(AbstractNetworkAddon.java:131) ~[fabric-networking-api-v1-1.3.11+1802ada577-4657550f9c265bf4.jar:?]
at net.minecraft.class_3244.handler$zmd001$fabric-networking-api-v1$handleDisconnection(class_3244.java:2007) ~[server-intermediary.jar:?]
at net.minecraft.class_3244.method_10839(class_3244.java) ~[server-intermediary.jar:?]
at net.minecraft.class_2535.method_10768(class_2535.java:450) ~[server-intermediary.jar:?]
at net.minecraft.class_1255.method_19537(class_1255.java:87) ~[server-intermediary.jar:?]
at net.minecraft.class_3244.method_14367(class_3244.java:356) ~[server-intermediary.jar:?]
at net.minecraft.class_3324.method_14597(class_3324.java:800) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3782(MinecraftServer.java:584) ~[server-intermediary.jar:?]
at net.minecraft.class_3176.method_3782(class_3176.java:537) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:703) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[server-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:842) ~[?:?]

Reproduction Steps

use the command stop

Expected Behaviour

stop the server

Server Details

fabric 1.20.1

LuckPerms Version

LuckPerms-Fabric-5.4.102.jar

Logs and Configs

No response

Extra Details

No response

@Mrgaton Mrgaton added the type: issue The issue identifies a bug/problem with the software. label Mar 18, 2024
@ac101m
Copy link

ac101m commented Mar 21, 2024

I'm also seeing this error.
I've also had instances of entities disappearing off the server when this happens, though this seems to be due to an interaction with a plugin which I'm writing and could be my fault.

@BNTFryingPan
Copy link

BNTFryingPan commented Mar 21, 2024

I've also had instances of entities disappearing off the server when this happens

luckperms does not touch the world, so its incredibly unlikely that luckperms would cause entities to disappear. also you say you are writing a plugin, which implies you are running on a bukkit based platform, where this exact error could not possibly occur. If you are in fact running a bukkit based platform, please open a new issue with the exact error (or ideally a full log, uploaded to a pastebin)

@Mrgaton
Copy link
Author

Mrgaton commented Mar 21, 2024

I'm also seeing this error. I've also had instances of entities disappearing off the server when this happens, though this seems to be due to an interaction with a plugin which I'm writing and could be my fault.

I'm not using plugin's I'm on the fabric version of the mod

@ac101m
Copy link

ac101m commented Mar 21, 2024

luckperms does not touch the world, so its incredibly unlikely that luckperms would cause entities to disappear. also you say you are writing a plugin, which implies you are running on a bukkit based platform, where this exact error could not possibly occur. If you are in fact running a bukkit based platform, please open a new issue with the exact error (or ideally a full log, uploaded to a pastebin)

I'm using fabric. The plugin (or mod if you prefer) I mentioned is trivial. It's only function is to create chunk tickets which follow minecarts around the world. Sometimes when this crash occurs, entities tracked by the plugin disappear from the world. It's definitely correlated with the crash, but as neither LP nor my mod modify the state of entities, I suspect that it has more to do with the timing of the crash than it does with anything either plugin is actually doing. See here for server logs.

Happy to attempt to reproduce on a clean server if you think that would be helpful.

@ac101m ac101m mentioned this issue Apr 5, 2024
@Mrgaton
Copy link
Author

Mrgaton commented Apr 5, 2024

Ok if it crashes again I will upload full crash log and normal logs

@ac101m
Copy link

ac101m commented Apr 5, 2024

Something else I've noticed is that it only ever seems to happen when someone is online. If nobody is on the server when it's stopped, the crash doesn't occur. A workaround might be to kick all players before issuing the stop command.

Another thing that might work is running save-all and save-off before stop, to prevent the crash from interfering with save state (which it seems to do sometimes).

@willroxby
Copy link

Something else I've noticed is that it only ever seems to happen when someone is online. If nobody is on the server when it's stopped, the crash doesn't occur. A workaround might be to kick all players before issuing the stop command.

Another thing that might work is running save-all and save-off before stop, to prevent the crash from interfering with save state (which it seems to do sometimes).

My Forge servers are having this issue as well. Did the above work around have success?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: issue The issue identifies a bug/problem with the software.
Projects
None yet
Development

No branches or pull requests

4 participants