Skip to content

Plugin BWProxy2023 v1.0 generated an exception while executing task 27 java.lang.NullPointerException: Name is null #34

@omersern

Description

@omersern

Make sure to check before creating a Bug Report

  • The issue isn't already found on the Issue tracker.
  • My issue is about BWProxy2023 and not any addon.
  • The issue isn't already fixed in a Release or Development Build.
  • I have checked all boxes without reading them.

Type of problem

Plugin Bug

What happened?

This is what happens when you enter an arena and come back to the lobby:

[17:30:23 WARN]: [BWProxy2023] Plugin BWProxy2023 v1.0 generated an exception while executing task 27
java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:291) ~[?:?]
at com.tomkeuper.bedwars.proxy.api.ArenaStatus.valueOf(ArenaStatus.java:1) ~[proxy-plugin-1.0.jar:?]
at com.tomkeuper.bedwars.proxy.connectionmanager.redis.RetrieveArenaTask.run(RetrieveArenaTask.java:62) ~[proxy-plugin-1.0.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.20.4.jar:git-Pufferfish-52]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[pufferfish-1.20.4.jar:git-Pufferfish-52]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[pufferfish-1.20.4.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Expected Behaviour

There is no problem with PlaceholderAPI.

How to Reproduce

(Redis will be connected) Join any arena in BUNGEE mode, then return to the lobby.

Console Log

No response

Errors

https://pastebin.com/38eWvdrx

Additional Info

This problem doesn't break anything, but it makes the log unnecessarily bloated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions