/sg tpdmspawn throws exceptions #46


  • Defect
  • Accepted
Open
Assigned to _ForgeUser7845127
  • _ForgeUser11935752 created this issue Sep 13, 2013

    What steps will reproduce the problem?
    1. Use /sg tpdmspawn

    What is the expected output? What do you see instead?
    Expected to teleport to the deathmatch arena in the map, instead client sees "An internal error occurred while attempting to perform this command"

    What version of the product are you using?
    Survival Games X v1.0.4-Beta

    Do you have an error log of what happened?
    Yes

    Please provide any additional information below.
    Log dump from server:

    10:28:43 [INFO] NetCaptive issued server command: /sg tpdmspawn
    10:28:43 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sg'
    in plugin SurvivalGames v1.0.4-Beta
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
            at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:527)
            at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:971)
            at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:882)
            at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:829)
            at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49)
            at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230)
            at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116)
            at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
            at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:132)
            at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592)
            at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239)
            at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481)
            at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413)
            at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
            at net.shockverse.survivalgames.commands.SGCmd.onCommand(SGCmd.java:766)

            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
            ... 15 more

  • _ForgeUser11935752 added the tags New Defect Sep 13, 2013
  • _ForgeUser7441457 posted a comment Oct 5, 2013

    This seemed to happen because you don't have a spawn with the id of 1.

    Make sure you have a spawn with the id you provide and that you are using the command correctly.

    /sg tpdmspawn [spawnid]

    This is still a bug however and should give more helpful feedback.

  • _ForgeUser7441457 removed a tag New Oct 5, 2013
  • _ForgeUser7441457 added a tag Accepted Oct 5, 2013

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