Mojira Archive
MC-17156

"Give" Command throws ArrayIndexOutOfBoundsException on high Item ID values

/give @a 1000000000
2013-06-02 11:58:37 [INFO] An unknown error occurred while attempting to perform
 this command
java.lang.ArrayIndexOutOfBoundsException: 1000000000
        at ak.b(SourceFile:38)
        at y.a(SourceFile:43)
        at hz.an(SourceFile:289)
        at hz.r(SourceFile:257)
        at net.minecraft.server.MinecraftServer.q(SourceFile:397)
        at net.minecraft.server.MinecraftServer.run(SourceFile:331)
        at gp.run(SourceFile:573)

The stacktrace is serverside only, but this still looks bad.
Not a crash though.

Fixed

[Mod] Pokechu22

2013-06-02, 10:11 PM

2017-04-30, 04:08 PM

2014-01-22, 10:48 PM

2

5

Confirmed

command, language, output, stacktrace, text

Minecraft 1.5.2 - Minecraft 1.6.2Minecraft 1.5.2, Snapshot 13w21b, Snapshot 13w22a, Minecraft 1.6.1, Minecraft 1.6.2

Minecraft 14w03b