BentoBoxWorld / Challenges

Add-on for BentoBox to add challenges for BSkyBlock and AcidIsland
Eclipse Public License 2.0
13 stars 32 forks source link

ERROR Could not pass event WorldSaveEvent to BentoBox v1.4.0 #104

Closed Audrerose closed 5 years ago

Audrerose commented 5 years ago

Description

Describe the bug

Each 5 minutes i got this message on my consol following with bunch of info. I put a link for screen below. I just want to know how to fix that pls because this is make my server crash since a updated to 1.4.0

ERROR Could not pass event WorldSaveEvent to BentoBox v1.4.0

Steps to reproduce the behavior

I just put the last release of Bentobox and restarted my server and i started to get this error.

Screenshots and videos

http://zupimages.net/viewer.php?id=19/14/fef9.png

Expected behavior

Environment

Server

Plugins

AreaShop
bentobox-1.4.0
BottledExp2.2.5.0
Citizens-2.0.24-b1605
CoreProtect_2.14.2
Dynmap-3.0-beta-3-spigot
EssentialsX-2.16.0.34
EssentialsXAntiBuild-2.16.0.34
EssentialsXChat-2.16.0.34
EssentialsXProtect-2.16.0.34
EssentialsXSpawn-2.16.0.34
HealthBar
HolographicDisplays
Jobs4.9.5
Lift
MinePacks
MobCapture
Modern-LWC-2.1.2
Multiverse-Core-2.6.0
Multiverse-Portals-2.5.2-SNAPSHOT
nuvotifier-2.5.0
PermissionsEx-1.33.8
perworldinventory-kt-2.2.2
QuickShop-1.13-0.9.39-beta
Resurrection
RifleChairs
SignEditor
SkinsRestorer
TitleManager-2.1.3
TreeAssist-6.0.9
TreeTwerkReloaded
Vault
votifier-1.9
VotingPlugin
worldedit-bukkit-7.0.0-beta-04
WorldGuardExtraFlags
worldguard-legacy-7.0.0-beta-02

BentoBox setup

BentoBox and Addons
commands.bentobox.version.server
Bentobox version: [name]
Loaded Game Worlds:
BSkyBlock_world (BSkyBlock)
CaveBlock-world (CaveBlock)
Loaded Add-Ons
BSkyBlock 1.4.0
CaveBlock 1.4.0-#0
Challenges 0.6.5-SNAPSHOT-#145
Level 1.4.0
WelcomeWarps 0.1.0-SNAPSHOT
Configuration

Additional context

Poslovitch commented 5 years ago

We need the full error stacktrace.

Audrerose commented 5 years ago

org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.WorldServer.save(WorldServer.java:853) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.craftbukkit.v1_13_R2.CraftWorld.save(CraftWorld.java:874) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:856) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: java.lang.NullPointerException
    at world.bentobox.challenges.ChallengesManager.getAllChallenges(ChallengesManager.java:1059) ~[?:?]
    at world.bentobox.challenges.listeners.SaveListener.onWorldSave(SaveListener.java:26) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:312) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    ... 8 more
[22:32:32] [Server thread/INFO]: CONSOLE issued server command: /list 
[22:32:32] [Server thread/INFO]: Il y a 1 joueurs en ligne sur 200 au total.
[22:32:32] [Server thread/INFO]: Joueurs : theknightpred
[22:35:26] [Server thread/ERROR]: Could not pass event WorldSaveEvent to BentoBox v1.4.0
org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.WorldServer.save(WorldServer.java:853) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.craftbukkit.v1_13_R2.CraftWorld.save(CraftWorld.java:874) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:856) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: java.lang.NullPointerException
    at world.bentobox.challenges.ChallengesManager.getAllChallenges(ChallengesManager.java:1059) ~[?:?]
    at world.bentobox.challenges.listeners.SaveListener.onWorldSave(SaveListener.java:26) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:312) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    ... 8 more
[22:37:39] [Server thread/INFO]: CONSOLE issued server command: /list 
[22:37:39] [Server thread/INFO]: Il y a 1 joueurs en ligne sur 200 au total.
[22:37:39] [Server thread/INFO]: Joueurs : theknightpred
[22:40:26] [Server thread/ERROR]: Could not pass event WorldSaveEvent to BentoBox v1.4.0
org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.WorldServer.save(WorldServer.java:853) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.craftbukkit.v1_13_R2.CraftWorld.save(CraftWorld.java:874) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:856) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: java.lang.NullPointerException
    at world.bentobox.challenges.ChallengesManager.getAllChallenges(ChallengesManager.java:1059) ~[?:?]
    at world.bentobox.challenges.listeners.SaveListener.onWorldSave(SaveListener.java:26) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:312) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    ... 8 more
[22:42:45] [Server thread/INFO]: CONSOLE issued server command: /list 
[22:42:45] [Server thread/INFO]: Il y a 1 joueurs en ligne sur 200 au total.
[22:42:45] [Server thread/INFO]: Joueurs : theknightpred
[22:45:27] [Server thread/ERROR]: Could not pass event WorldSaveEvent to BentoBox v1.4.0
org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.WorldServer.save(WorldServer.java:853) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at org.bukkit.craftbukkit.v1_13_R2.CraftWorld.save(CraftWorld.java:874) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:856) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: java.lang.NullPointerException
    at world.bentobox.challenges.ChallengesManager.getAllChallenges(ChallengesManager.java:1059) ~[?:?]
    at world.bentobox.challenges.listeners.SaveListener.onWorldSave(SaveListener.java:26) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:312) ~[spigot-1.13.2.jar:git-Spigot-5629554-4c8327f]
    ... 8 more
Audrerose commented 5 years ago

I dont really know if it was you needed but i got this all time on my console and now i was forced to remove caveblock and even acidisland....

BONNe commented 5 years ago

It is challenges addon related.

Audrerose commented 5 years ago

My challenges addon is the last release 1.4.0 so how i can fix that prob pls?

Poslovitch commented 5 years ago

We need to investigate that. It seems to be caused by the database saving

BONNe commented 5 years ago

So, you need to update to snapshot build (0.7.0-SNAPSHOT-# 148). But I think that it should not affect anything, even when it "crashes". It just spams your console, and that's all.

tastybento commented 5 years ago

@BONNe Should this issue be transferred to Challenges tracker? How should we deal with it?

BONNe commented 5 years ago

So, it should be fixed now. And yes, I think better to put it in Challenges tracker

Audrerose commented 5 years ago

Sorry but its not fixed and i have the last challenges addon you put here....

BONNe commented 5 years ago

0.7.0-SNAPSHOT-# 148?

BONNe commented 5 years ago

I rework SaveListener for challenges addon. This should not happen anymore.