You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you leave a server during a game and there are enough players in the arena for the game not to end, when you rejoin the server you are rejoined to the arena but an error appears in the console
Error:
[16:16:14] [Server thread/ERROR]: Could not pass event PlayerReJoinEvent to BedWars1058 v24.9
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:74) ~[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:840) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "com.andrei1058.bedwars.api.arena.team.ITeam.getIdentity()" because "team" is null
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:313) ~[?:?]
at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
at com.andrei1058.bedwars.sidebar.SidebarService.handleReJoin(SidebarService.java:311) ~[?:?]
at com.andrei1058.bedwars.sidebar.ScoreboardListener.reJoin(ScoreboardListener.java:82) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor317.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: 24.9
The text was updated successfully, but these errors were encountered:
Describe the bug
When you leave a server during a game and there are enough players in the arena for the game not to end, when you rejoin the server you are rejoined to the arena but an error appears in the console
Error:
[16:16:14] [Server thread/ERROR]: Could not pass event PlayerReJoinEvent to BedWars1058 v24.9
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:74) ~[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:840) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "com.andrei1058.bedwars.api.arena.team.ITeam.getIdentity()" because "team" is null
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:313) ~[?:?]
at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
at com.andrei1058.bedwars.sidebar.SidebarService.handleReJoin(SidebarService.java:311) ~[?:?]
at com.andrei1058.bedwars.sidebar.ScoreboardListener.reJoin(ScoreboardListener.java:82) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor317.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: 24.9
The text was updated successfully, but these errors were encountered: