Skip to content

ArrayIndexOutOfBoundsException when autocompleting #153

Description

@nosefish

/give someblock TAB results in this and disconnects the player typing the command:

2013-05-17 12:27:30 [WARNING] Failed to handle packet for nosefish/79.224.89.132: java.l$
java.lang.ArrayIndexOutOfBoundsException: 3
        at PlayerCommands$8.autoComplete(PlayerCommands.java:491)
        at Player.autoComplete(Player.java:1057)
        at ONetServerHandler.a(ONetServerHandler.java:918)
        at OPacket203AutoComplete.a(SourceFile:29)
        at OTcpConnection.b(SourceFile:350)
        at ONetServerHandler.d(ONetServerHandler.java:44)
        at ONetworkListenThread.b(SourceFile:35)
        at ODedicatedServerListenThread.b(SourceFile:30)
        at OMinecraftServer.r(OMinecraftServer.java:465)
        at ODedicatedServer.r(SourceFile:256)
        at OMinecraftServer.q(OMinecraftServer.java:375)
        at OMinecraftServer.run(OMinecraftServer.java:314)
        at OThreadMinecraftServer.run(SourceFile:573)

Note that I pressed tab in a position that is invalid for autocompletion, because a number goes there, not a selection from a list.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions