stormtrooper28

Check for NULL = NULL Pointer Exception

Apr 18th, 2015
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. [18:40:02 INFO]: 20b7b06f-2e0d-382b-9327-ba2e734cde7e
  2. [18:40:02 ERROR]: Could not pass event InventoryClickEvent to GuiGame v0.0.1
  3. org.bukkit.event.EventException
  4. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
  5. va:305) ~[spigot.jar:git-Spigot-dbe012b-61ef214]
  6. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
  7. a:62) ~[spigot.jar:git-Spigot-dbe012b-61ef214]
  8. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
  9. ava:502) [spigot.jar:git-Spigot-dbe012b-61ef214]
  10. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
  11. ava:487) [spigot.jar:git-Spigot-dbe012b-61ef214]
  12. at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java
  13. :1618) [spigot.jar:git-Spigot-dbe012b-61ef214]
  14. at net.minecraft.server.v1_8_R2.PacketPlayInWindowClick.a(SourceFile:31)
  15. [spigot.jar:git-Spigot-dbe012b-61ef214]
  16. at net.minecraft.server.v1_8_R2.PacketPlayInWindowClick.a(SourceFile:9)
  17. [spigot.jar:git-Spigot-dbe012b-61ef214]
  18. at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:1
  19. 3) [spigot.jar:git-Spigot-dbe012b-61ef214]
  20. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [
  21. ?:1.8.0_31]
  22. at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_31]
  23. at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [spigot.jar
  24. :git-Spigot-dbe012b-61ef214]
  25. at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:7
  26. 10) [spigot.jar:git-Spigot-dbe012b-61ef214]
  27. at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:3
  28. 68) [spigot.jar:git-Spigot-dbe012b-61ef214]
  29. at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:6
  30. 51) [spigot.jar:git-Spigot-dbe012b-61ef214]
  31. at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
  32. :554) [spigot.jar:git-Spigot-dbe012b-61ef214]
  33. at java.lang.Thread.run(Unknown Source) [?:1.8.0_31]
  34. Caused by: java.lang.NullPointerException
  35. at com.storm28.guigame.CookieClicker.openCCGUI(CookieClicker.java:28) ~[
  36. ?:?]
  37. at com.storm28.guigame.GuiGameMain.onInventoryClick(GuiGameMain.java:162
  38. ) ~[?:?]
  39. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
  40. _31]
  41. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
  42. _31]
  43. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
  44. .8.0_31]
  45. at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31]
  46. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
  47. va:301) ~[spigot.jar:git-Spigot-dbe012b-61ef214]
  48. ... 15 more
Advertisement
Add Comment
Please, Sign In to add comment