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

Server crash after issuing a task and then leaving the server #26

Open
knownout opened this issue Mar 6, 2024 · 0 comments
Open

Server crash after issuing a task and then leaving the server #26

knownout opened this issue Mar 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@knownout
Copy link

knownout commented Mar 6, 2024

Describe the bug
Gave a pawn a task to clear the area and build some houses, and then left the server for 15-20 minutes, after which the server crashed

To Reproduce
Steps or conditions to reproduce the behavior:

  1. Give the pawn any task (in my case - clean terrain and build some houses)
  2. Left the server for some time (15-20 mins)
  3. Server crash

Crash report

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_3222.method_51469()" because "player" is null
        at org.minefortress.tasks.ServerTaskManager.tick(ServerTaskManager.java:70) ~[minefortress-1.11.1-beta.jar:?]
        at org.minefortress.fortress.ServerFortressManager.tick(ServerFortressManager.java:167) ~[minefortress-1.11.1-beta.jar:?]
        at org.minefortress.fortress.server.FortressModServerManager.tick(FortressModServerManager.java:68) ~[minefortress-1.11.1-beta.jar:?]
        at org.minefortress.registries.FortressServerEvents.lambda$register$7(FortressServerEvents.java:94) ~[minefortress-1.11.1-beta.jar:?]
        at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$2(ServerTickEvents.java:43) ~[fabric-lifecycle-events-v1-2.2.2+c8b10480a0-cce012c5defdfdc0.jar:?]
        at net.minecraft.server.MinecraftServer.handler$zef000$fabric-lifecycle-events-v1$onEndTick(MinecraftServer.java:2371) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:843) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:667) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:263) ~[server-intermediary.jar:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

Environment info:

  • OS: Ubuntu 22
  • Minecraft version: 1.20.2
  • Mod Version 1.11.1-beta

Any other mods that you use
Only server-side mods (terrain generation)

@knownout knownout added the bug Something isn't working label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant