[CraftBook] java.lang.NullPointerException
LadyCailinBot opened this issue ยท 5 comments
CRAFTBOOK-2442 - Reported by Diver
I have CraftBukkit version git-Bukkit-1.4.7-R1.0-9-g65324d6-b2631jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.1-SNAPSHOT)
Use Plugins (14): bPermissionsWebGUI, bPermissions, Shopkeepers, iConomy, Vault, LoginSecurity, motd, LWC, MyHome, dynmap, Lift, Jobs
I copy jar files: CraftBook and WorldEdit. Restart server and got error:
2013-02-26 20:45:27 [INFO] [CraftBook] Enabling CraftBook v1828-b65eb54
2013-02-26 20:45:27 [INFO] [CraftBook] Default configuration file written: D:\Games\Minecraft-server\plugins\CraftBook\config.yml
2013-02-26 20:45:27 [INFO] [CraftBook] Default configuration file written: D:\Games\Minecraft-server\plugins\CraftBook\custom-block-drops.txt
2013-02-26 20:45:27 [INFO] [CraftBook] Default configuration file written: D:\Games\Minecraft-server\plugins\CraftBook\custom-mob-drops.txt
2013-02-26 20:45:27 [INFO] [CraftBook] Default configuration file written: D:\Games\Minecraft-server\plugins\CraftBook\ic-config.yml
2013-02-26 20:45:27 [INFO] [CraftBook] Default configuration file written: D:\Games\Minecraft-server\plugins\CraftBook\books.txt
2013-02-26 20:45:27 [INFO] [CraftBook] Default configuration file written: D:\Games\Minecraft-server\plugins\CraftBook\cauldron-recipes.txt
2013-02-26 20:45:27 [INFO] 1 cauldron recipe(s) loaded
2013-02-26 20:45:27 [INFO] [CraftBook] Default configuration file written: D:\Games\Minecraft-server\plugins\CraftBook\cauldron-recipes.yml
2013-02-26 20:45:27 [INFO] [CraftBook] Default configuration file written: D:\Games\Minecraft-server\plugins\CraftBook\crafting-recipes.yml
2013-02-26 20:45:27 [INFO] [CraftBook] Registered a new shapeless recipe!
2013-02-26 20:45:27 [SEVERE] [CraftBook] Failed to load recipe!
2013-02-26 20:45:27 [SEVERE] [CraftBook] java.lang.NullPointerException
at com.sk89q.craftbook.mech.crafting.RecipeManager$Recipe.getShape(RecipeManager.java:214)
at com.sk89q.craftbook.mech.crafting.CustomCrafting.(CustomCrafting.java:59)
at com.sk89q.craftbook.bukkit.MechanicalCore.registerEvents(MechanicalCore.java:136)
at com.sk89q.craftbook.bukkit.MechanicalCore.enable(MechanicalCore.java:80)
at com.sk89q.craftbook.bukkit.CraftBookPlugin.startComponents(CraftBookPlugin.java:361)
at com.sk89q.craftbook.bukkit.CraftBookPlugin.onEnable(CraftBookPlugin.java:251)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
2013-02-26 20:45:27 [INFO] [CraftBook] Registered a new furnace recipe!
2013-02-26 20:45:27 [INFO] [CraftBook] Registered 2 custom recipes!
2013-02-26 20:45:27 [WARNING] [CraftBook] Chairs require ProtocolLib! They will not function without it!
2013-02-26 20:45:27 [INFO] [CraftBook] Enumerating chunks for self-triggered components...
2013-02-26 20:45:27 [INFO] [WorldEdit] Using inbuilt NmsBlock for this version.
2013-02-26 20:45:27 [INFO] [CraftBook] 1875 chunk(s) for 3 world(s) processed (52ms elapsed)
Comment by me4502
It looks like you have an invalid recipe in the recipes file.
Comment by me4502
Oh... Can I get a copy of your recipe file? To see what version of default recipes it is.
Comment by Diver
I try latest build. And plugin work fine! You fixed this error.
14:20:14 [INFO] [CraftBook] Default configuration file written: D:\Games\MinecraftBook\crafting-recipes.yml
14:20:14 [INFO] [CraftBook] Registered a new shapeless recipe!
'''14:20:14 [INFO] [CraftBook] Registered a new shaped recipe!'''
14:20:14 [INFO] [CraftBook] Registered a new furnace recipe!
14:20:14 [INFO] [CraftBook] Registered 3 custom recipes!
May close this ticket. Thx!