Problem/Bug NullPointerException

Discussion in 'Plugin Help/Development/Requests' started by ninelives, Feb 17, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    ninelives

    6:43:42 PM [ERROR] Could not pass event PlayerInteractEvent to MCGuns v1.0.2
    6:43:42 PM org.bukkit.event.EventException
    6:43:42 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.8.jar:git-Spigot-1642]
    6:43:42 PM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.jar:git-Spigot-1642]
    6:43:42 PM at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) [spigot-1.8.jar:git-Spigot-1642]
    6:43:43 PM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) [spigot-1.8.jar:git-Spigot-1642]
    6:43:43 PM at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:242) [spigot-1.8.jar:git-Spigot-1642]
    6:43:43 PM at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:212) [spigot-1.8.jar:git-Spigot-1642]
    6:43:43 PM at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:636) [spigot-1.8.jar:git-Spigot-1642]
    6:43:43 PM at net.minecraft.server.v1_7_R4.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:50) [spigot-1.8.jar:git-Spigot-1642]
    6:43:43 PM at net.minecraft.server.v1_7_R4.PacketPlayInBlockPlace.handle(PacketPlayInBlockPlace.java:86) [spigot-1.8.jar:git-Spigot-1642]
    6:43:43 PM at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot-1.8.jar:git-Spigot-1642]
    6:43:44 PM at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot-1.8.jar:git-Spigot-1642]
    6:43:44 PM at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot-1.8.jar:git-Spigot-1642]
    6:43:44 PM at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot-1.8.jar:git-Spigot-1642]
    6:43:44 PM at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot-1.8.jar:git-Spigot-1642]
    6:43:44 PM at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot-1.8.jar:git-Spigot-1642]
    6:43:44 PM at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-1.8.jar:git-Spigot-1642]
    6:43:44 PM Caused by: java.lang.NullPointerException
    6:43:44 PM at me.joostman_nl.MCGuns.Signs.onClick(Signs.java:46) ~[?:?]
    6:43:44 PM at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) ~[?:?]
    6:43:45 PM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
    6:43:45 PM at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31]
    6:43:45 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot-1.8.jar:git-Spigot-1642]
    6:43:45 PM ... 15 more
    i hate gettin these messages all the time its annnoying help me please
    by the way the line:Caused by: java.lang.NullPointerException
    was all in black
     
  2. Offline

    TGRHavoc

    @ninelives
    First of all, use the syntax/code tags (It's much nicer) or use pastebin.com.
    Secondly, I feel this should be inside of it's own thread.
    Thirdly, you need to post all relevant classes (In this case Signs.java)
     
    Last edited: Feb 17, 2015
  3. Offline

    eyamaz

    Moved to separate thread
     
    TGRHavoc likes this.
  4. Offline

    ninelives

    be more specific its the only way i can understand and learn
     
  5. Offline

    nverdier

    @ninelives He told you to a) put the error in code tags or a pastebin, and b) to post all classes that are being used.
     
  6. Offline

    ninelives

    whats the Null thing about cause it says Caused by: java.lang.NullPointerException
    does any of that have anything to do with it
    also what is that classes
     
  7. Offline

    TGRHavoc

    @ninelives
    I honestly can't tell if you're trolling or being serious...
    Please take @eyamaz 's suggestion and learn how to program in Java before attempting to do anything with the Bukkit API.
     
    ChipDev and eyamaz like this.
  8. Offline

    nverdier

    Yeah... You need to learn Java.
     
  9. Offline

    ninelives

    ADHD-learning disablity
    and also STML-Short term memoriy loss so when i ever read alot of words like in a book i dont remember what they were or what anything was about
     
    Last edited: Feb 18, 2015
  10. Offline

    nverdier

    ...
     
  11. Offline

    ninelives

    i might quit bukkit tis 2 hard

    im actually gonna quit so bye
    (aint comin back)
     
    Last edited by a moderator: Feb 17, 2015
  12. Offline

    ChipDev

    If I were a scientist I would really want to fix that.
    Nuu! Don't quit yet, Try just a little bit and you might overcome the first quote.. (Im actually not sure :() Programming is fun if you try a little.
     
  13. Offline

    ninelives

    fine but im gonna need help (alot of it)
    plus im gonna need u to be willing to help
     
    Last edited: Feb 18, 2015
  14. Offline

    ChipDev

    First, you maybe just should TRY to learn how to use pastebin <-- Click.
    If you have an error log, Paste it in there and create a link for it. Then tell it to us (EXAMPLE: http://pastebin.com/K2cKLWD6)
    Try that.
     
  15. Offline

    ninelives

    Attached Files:

Thread Status:
Not open for further replies.

Share This Page