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

Crash when typing empty selector "[x_rotation=]" or "[y_rotation=]"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 17w45a
    • Fix Version/s: Minecraft 17w47a
    • Labels:
      None
    • Environment:
      macOS Sierra
    • Confirmation Status:
      Confirmed

      Description

      How to reproduce:
      Type the following command in chat:

      /tp @p[x_rotation]

      or

      /tp @p[x_rotation=

      By completing the selector with a "=" or "}":

      /tp @e [x_rotation=]

      , it will crash the game.

      Crash message:

      The game crashed whilst chartyped event handler
      Error: java.lang.NullPointerException: charTyped event handler
      

      Crash report included.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Nathan Adams
                Reporter:
                SaziumR Roy Sajima
              • Votes:
                5 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: