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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 17w50a, Minecraft 18w11a, Minecraft 18w21b, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4
    • Fix Version/s: Minecraft 1.13.1
    • Labels:
    • Confirmation Status:
      Community Consensus

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Nathan Adams
                Reporter:
                MadCat Mad Cat
              • Votes:
                13 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: