zDevelopers / UHPlugin

Plugin UltraHardcore (“Kill the Patrick”), augmenté. | UHC (“KTP”) plugin, improved.
Other
32 stars 24 forks source link

Exception in thread "Craft Scheduler Thread" #130

Closed ghost closed 8 years ago

ghost commented 8 years ago

Environment

It just spams the console with this error and the scoreboard doesn't work:

[07:08:34 WARN]: Exception in thread "Craft Scheduler Thread - 48"
[07:08:34 WARN]: org.apache.commons.lang.UnhandledException: Plugin UHPlugin v1.3 ºcdev generated an exception while executing task 6
        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at eu.carrade.amaury.UHCReloaded.scoreboard.GameSidebar.preRender(GameSidebar.java:184)
        at me.azenet.UHPlugin.components.scoreboard.Sidebar.refresh(Sidebar.java:277)
        at me.azenet.UHPlugin.components.scoreboard.Sidebar$1.run(Sidebar.java:342)
        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
        ... 3 more

Steps to reproduce

/uh spawns generate random /uh start

ghost commented 8 years ago

I found the source

episodes:
    enabled: false
AmauryCarrade commented 8 years ago

Fixed, thanks for reporting!