Hello, I just updated my plugins to 1.8.4 of craftbukkit but when i start my plugin i get a nullpointerexception: Code (Text): [17:38:06 ERROR]: Error occurred while enabling HMCEssentials v1.0 (Is it up to date?) java.lang.NullPointerException at me.daansander.hmcessentials.treasuregui.Menu.setItems(Menu.java:158) ~[?:?] at me.daansander.hmcessentials.treasuregui.Menu.<init>(Menu.java:68) ~[? :?] at me.daansander.hmcessentials.HMCEssentials.onEnable(HMCEssentials.java :85) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[s pigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:335) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:405) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.jav a:355) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer. java:315) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.reload(CraftServer.java:74 4) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at org.bukkit.Bukkit.reload(Bukkit.java:534) [spigot-1.8-R0.1-SNAPSHOT.j ar:git-Spigot-13716d9-0899683] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 23) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:14 1) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServe r.java:645) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchServerCommand(Craf tServer.java:631) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at net.minecraft.server.v1_8_R1.DedicatedServer.aM(DedicatedServer.java: 353) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:3 17) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:6 23) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java :526) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683] at java.lang.Thread.run(Unknown Source) [?:1.8.0_31] I looked into the code at menu line 158 and 68 but i cant seem to find the problem of it the only things that i changed was the compile bytecode version from 1.5 to 1.6 and using the new version of craftbukkit code: Code (Text): line 158: if (inventoryUtilities.getColumn(slot) <= frame) line 68: setItems(0, five); EDIT: I debugged it but everything seems to work