CraftBook 3

CraftBook 3

139k Downloads

Custom Drops Error

LadyCailinBot opened this issue ยท 4 comments

commented

CRAFTBOOK-2977 - Reported by Markjat34

I'm getting errors where Custom Drops portion of Craftbook won't load. I have no clue what's causing the errors.

[17:53:41] [Server thread/WARN]: [CraftBook] Failed to initialize mechanic: CustomDrops
java.lang.NullPointerException
at com.sk89q.craftbook.mech.drops.CustomDrops.enable(CustomDrops.java:74) ~[CraftBook.jar:3.8-SNAPSHOT]
at com.sk89q.craftbook.bukkit.CraftBookPlugin.setupCraftBook(CraftBookPlugin.java:565) [CraftBook.jar:3.8-SNAPSHOT]
at com.sk89q.craftbook.bukkit.CraftBookPlugin.reloadConfiguration(CraftBookPlugin.java:1067) [CraftBook.jar:3.8-SNAPSHOT]
at com.sk89q.craftbook.bukkit.commands.TopLevelCommands$Commands.reload(TopLevelCommands.java:55) [CraftBook.jar:3.8-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:533) [WorldEdit.jar:5.6.1]
at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:520) [WorldEdit.jar:5.6.1]
at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:475) [WorldEdit.jar:5.6.1]
at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:409) [WorldEdit.jar:5.6.1]
at com.sk89q.craftbook.bukkit.CraftBookPlugin.onCommand(CraftBookPlugin.java:760) [CraftBook.jar:3.8-SNAPSHOT]
at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:52) [WorldEdit.jar:5.6.1]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [spigot.jar:git-Spigot-1433]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:724) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:985) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:830) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:167) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:713) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:576) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:482) [spigot.jar:git-Spigot-1433]
at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1433]

commented

Comment by me4502

Please provide your custom drops file. This error means an item you had created was null.

commented

Comment by Markjat34

I figured it out, was just missing a couple things..

commented

Comment by me4502

Ah, okay.

commented

Comment by Aspharanx

I have the same error. Using 3.9 beta 3. Just enabled custom drops and giving that error with the example file loaded. Even clearing parts or an empty file gives the same error.