Command causes java error #14


  • New
  • Defect
Open
Assigned to dpasi
  • _ForgeUser11259633 created this issue Jun 12, 2014

    What version of RandomTP are you running on?
    4.0.0

    What is the expected output?
    A random teleport.

    What do you see instead?
    "An internal error occurred while attempting to perform this command"

    Do you have an error log of what happened?

    Quote:

    [22:41:05 INFO]: <player> issued server command: /randomteleport:randomtp
    [22:41:05 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'randomteleport:randomtp' in plugin RandomTeleport vmaven-version-number
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot.jar:git-Spigot-1487]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [spigot.jar:git-Spigot-1487]
    at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:726) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:999) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:830) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:180) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:720) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:583) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:489) [spigot.jar:git-Spigot-1487]
    at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1487]
    Caused by: java.lang.NullPointerException
    at org.bukkit.Location.getBlock(Location.java:82) [spigot.jar:git-Spigot-1487]
    at com.atomic.rtp.Handlers.TeleportHandler.safeize(TeleportHandler.java:78) [?:?]
    at com.atomic.rtp.Handlers.TeleportHandler.getLocation(TeleportHandler.java:71) [?:?]
    at com.atomic.rtp.Handlers.TeleportHandler.teleport(TeleportHandler.java:38) [?:?]
    at com.atomic.rtp.Commands.RTPCommand.onCommand(RTPCommand.java:85) [?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-1487]
    ... 13 more

    Please provide any additional information below.
    Sign still works, just not the command

  • _ForgeUser11259633 added the tags New Defect Jun 12, 2014
  • Forge_User_91850680 posted a comment Jun 19, 2014

    It may be a possibility that you need to update or downgrade your spigot.jar, here is a short version of your error below

    [spigot.jar:git-Spigot-1487]

    As you look in your error most of it is todo with spigot or you may need to update java.


To post a comment, please login or register a new account.