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: Could not pass event PlayerReJoinEvent #988

Open
krystian987 opened this issue Mar 3, 2024 · 0 comments
Open

Error in console: Could not pass event PlayerReJoinEvent #988

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

Comments

@krystian987
Copy link

Describe the bug
When you leave the server during the game, and there are enough people in the arena to prevent the game from ending, when you re-enter the server, you are rejoined to the arena, but an error appears in the console

Error:
[14:23:27] [Server thread/ERROR]: Could not pass event PlayerReJoinEvent to BedWars1058 v23.12.2
org.bukkit.event.EventException: null
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1620]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1620]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1620]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.12.2.jar:git-Paper-1620]
at com.andrei1058.bedwars.arena.Arena.reJoin(Arena.java:1136) ~[?:?]
at com.andrei1058.bedwars.arena.ReJoin.reJoin(ReJoin.java:157) ~[?:?]
at com.andrei1058.bedwars.listeners.joinhandler.JoinListenerMultiArena.lambda$onJoin$0(JoinListenerMultiArena.java:73) ~[?:?]
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:829) [?:?]
Caused by: java.lang.NullPointerException
at com.andrei1058.bedwars.sidebar.BwTabList.getCreateTeamTabOrderPrefix(BwTabList.java:409) ~[?:?]
at com.andrei1058.bedwars.sidebar.BwTabList.getPlayerTabIdentifierAliveInTeam(BwTabList.java:463) ~[?:?]
at com.andrei1058.bedwars.sidebar.BwTabList.giveUpdateTabFormat(BwTabList.java:347) ~[?:?]
at com.andrei1058.bedwars.sidebar.BwSidebar.giveUpdateTabFormat(BwSidebar.java:242) ~[?:?]
at com.andrei1058.bedwars.api.sidebar.ISidebar.giveUpdateTabFormat(ISidebar.java:62) ~[?:?]
at com.andrei1058.bedwars.sidebar.SidebarService.lambda$handleReJoin$14(SidebarService.java:308) ~[?:?]
at java.util.HashMap.forEach(HashMap.java:1337) ~[?:?]
at com.andrei1058.bedwars.sidebar.SidebarService.handleReJoin(SidebarService.java:306) ~[?:?]
at com.andrei1058.bedwars.sidebar.ScoreboardListener.reJoin(ScoreboardListener.java:82) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor346.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1620]
... 13 more

System:

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