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

Minecraft crashes when typing in a block-related command in front of an entity

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed

      Description

      The bug

      Minecraft crashes when typing in a block-related command when standing in front of an entity/looking at an entity, for instance /execute store result block.
      The game crashes as soon as it tries to autocomplete the coordinates.

      Crash report

      Description: charTyped event handler
      
      java.lang.NullPointerException: charTyped event handler
      	at bwu.a(SourceFile:76)
      	at ci.listSuggestions(SourceFile:66)
      	at com.mojang.brigadier.tree.ArgumentCommandNode.listSuggestions(ArgumentCommandNode.java:65)
      	at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:345)
      	at bpi.h(SourceFile:163)
      	at bpi.a(SourceFile:97)
      	at bpi$$Lambda$591/1168769758.accept(Unknown Source)
      	at bnr.a(SourceFile:146)
      	at bnr.b(SourceFile:141)
      	at bnr.charTyped(SourceFile:375)
      	at bon.charTyped(SourceFile:40)
      	at bmj.a(SourceFile:360)
      	at bmj$$Lambda$597/1579858776.run(Unknown Source)
      	at bqg.a(SourceFile:428)
      	at bmj.a(SourceFile:360)
      	at bmj$$Lambda$107/1263927050.invoke(Unknown Source)
      	at org.lwjgl.glfw.GLFWCharModsCallbackI.callback(GLFWCharModsCallbackI.java:23)
      	at org.lwjgl.system.JNI.invokeV(Native Method)
      	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:2520)
      	at bmw.a(SourceFile:282)
      	at bmm.b(SourceFile:846)
      	at bmm.a(SourceFile:381)
      	at net.minecraft.client.main.Main.main(SourceFile:134)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Nathan Adams
                Reporter:
                MaxiHuHe04 Maximilian Herczegh
              • Votes:
                18 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: