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

Error in console Cannot invoke "java.util.List.contains(Object)" because "this.players" is null #1051

Open
krystian987 opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@krystian987
Copy link

[18:23:22] [Server thread/WARN]: [BedWars1058] Task #679186 for BedWars1058 v24.9 generated an exception
java.lang.NullPointerException: Cannot invoke "java.util.List.contains(Object)" because "this.players" is null
at com.andrei1058.bedwars.arena.Arena.isPlayer(Arena.java:1576) ~[?:?]
at com.andrei1058.bedwars.arena.Arena.lambda$addPlayer$4(Arena.java:575) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1620]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1620]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1620]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1620]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1620]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1620]
at java.lang.Thread.run(Thread.java:840) [?:?]

Describe the bug
The error occurs randomly, I don't know what it depends on

System:

  • OS: Linux
  • Server software: Paper
  • Server Version: 1.12.2
  • Plugin Version: 24.9
@krystian987 krystian987 added the bug Something isn't working label Oct 7, 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