Development Assistance Can't find the error

Discussion in 'Plugin Help/Development/Requests' started by Hex_27, Jun 7, 2015.

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

    Hex_27

    [Server] INFO Caused by: java.lang.NullPointerException 07.06 14:59:28 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_76] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:534) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:626) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:336) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:670) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_76] 07.06 14:59:28 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_76] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(SourceFile:9) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(SourceFile:37) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:937) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerConnection.java:1077) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServer.java:625) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit35.jar:git-Bukkit-63e28b1] 07.06 14:59:28 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'k' in plugin Kingdoms v2 07.06 14:59:28 [Server] ERROR null

    --------------------------------------------------------------

    Is anyone able to see the error source? I know there's a NPE, but I can't find the source of the problem
     
    Last edited: Jun 7, 2015
  2. Offline

    mine-care

  3. Online

    timtower Administrator Administrator Moderator

    Moved to Bukkit alternatives
     
  4. Offline

    Hex_27

    @mine-care How about helping to find the error with me instead of redirecting me to a page that I've seen months ago. I've been solving stack traces for some time now, and I'm asking for help to find the error HERE. I DO NOT want a tutorial on how to find them. I've been staring at this, using find function and I can't find anything related to my plugin.
     
  5. Offline

    8jy89hui

    You should, if you ever plan on real development you will need to at least understand your errors.

    Code:
    Unhandled exception executing command 'k' in plugin Kingdoms v2 07.06 14:59:28
    Orely?

    If Kingdoms is not your plugin then its not your problem, it's incompatibility between Kingdoms and your Craftbukkit.jar (or spigot).
     
    mine-care likes this.
  6. Offline

    Hex_27

    @8jy89hui I need a line number to solve the problem. Can you guys stop focusing on burning people and focus on helping.
     
  7. Online

    timtower Administrator Administrator Moderator

    @Hex_27 Get the full log, put it in pastebin, put the link here.
     
  8. Offline

    Hex_27

    @timtower I don't have the full log anymore. I cleared all server logs already.
     
  9. Online

    timtower Administrator Administrator Moderator

    @Hex_27 Then you start and stop the server?
     
  10. Offline

    Hex_27

    @timtower I can't reproduce the same error because another guy reported it. With literally no details. I'm trying to get some from him, but he isn't replying
     
  11. Offline

    mine-care

    @Hex_27 Okay lets clear up some things:
    Since your thread was in Plugin Development i gave you a link to help you understand what is going on and what the problem is + how to solve it by reading the stack and probably solve other such problems, i couldnt guess that you have already read it. Then, that was considered as 'help' to solve a problem wasnt it?

    Really? Because what i saw in your post was a few dozens of lines of the stacktrace in a non clear form, and a line underneath saying:
    So the provided resource shows you exacly how to find the error...

    Now about your error, is the plugin "Kingdoms" yours? if so can we see the code for the command "k"?
     
  12. Offline

    Hex_27

    @mine-care sadly the command "k" has nearly 20 extra args. The code lines are literally about 900+ lines long.
     
  13. Offline

    mine-care

    @Hex_27 Then idk what to sugest... something in the boddy of command k is null :3
     
Thread Status:
Not open for further replies.

Share This Page