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

data get command causes indexOutOfBounds and stackOverflow exceptions, client and server crashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.13.1
    • Minecraft 17w50a, Minecraft 18w11a, Minecraft 18w21b, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4
    • Community Consensus

      Trying to get data values for a player (myself) would crash the game and the server. This bug is present since 17w48a.

      Exact Steps to reproduce:

      • On a multiplayer server run the command
      • Give yourself all recipes /recipe give @s *
      • Run /data get entity @s

      Expected Result:
      Obtain the data structure for the player

      Actual Result:
      Game crash with IndexOutOfBounds Exception followed by server crash with the following logs (also check attached crash logs from server and client):

      [12:32:50] [Server Watchdog/FATAL]: A single server tick took 60.00 seconds (should be max 0.05)
      [12:32:50] [Server Watchdog/FATAL]: Considering it to be crashed, server will forcibly shutdown.
      [12:32:50] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 60618ms behind, skipping 1212 tick(s)
      [12:32:51] [Server Watchdog/ERROR]: This crash report has been saved to: D:\Games\MCServerSnapshot\.\crash-reports\crash-2017-12-12_12.32.51-server.txt
      [12:32:51] [Server Shutdown Thread/INFO]: Stopping server
      

        1. crash-2017-12-12_12.29.42-client.txt
          29 kB
          Mad Cat
        2. crash-2017-12-12_12.32.51-server.txt
          12 kB
          Mad Cat

            dinnerbone [Mojang] Nathan Adams
            MadCat Mad Cat
            Votes:
            13 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: