Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-17156

"Give" Command throws ArrayIndexOutOfBoundsException on high Item ID values

XMLWordPrintable

    • Confirmed

      /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.

            Unassigned Unassigned
            pokechu22 [Mod] Pokechu22
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: