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

Crash when pressing certain buttons while on spectator mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w43a
    • 22w42a
    • None
    • Confirmed
    • Crash
    • Very Important
    • Platform

      The bug

      A crash occurs when pressing certain buttons while on spectator mode.

      [14:51:20] [Render thread/ERROR]: Unreported exception thrown!
      java.lang.NullPointerException: Cannot invoke "exp.a()" because "$$0" is null
      	at esn.a(SourceFile:25) ~[22w42a.jar:?]
      	at com.google.common.collect.ComparatorOrdering.compare(ComparatorOrdering.java:40) ~[guava-31.0.1-jre.jar:?]
      	at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355) ~[?:?]
      	at java.util.TimSort.sort(TimSort.java:220) ~[?:?]
      	at java.util.Arrays.sort(Arrays.java:1233) ~[?:?]
      	at com.google.common.collect.Ordering.sortedCopy(Ordering.java:854) ~[guava-31.0.1-jre.jar:?]
      	at esn.<init>(SourceFile:34) ~[22w42a.jar:?]
      	at esh.<init>(SourceFile:15) ~[22w42a.jar:?]
      	at esi.<init>(SourceFile:53) ~[22w42a.jar:?]
      	at eld.b(SourceFile:161) ~[22w42a.jar:?]
      	at eii.a(SourceFile:111) ~[22w42a.jar:?]
      	at eii.c(SourceFile:165) ~[22w42a.jar:?]
      	at bak.execute(SourceFile:103) ~[22w42a.jar:?]
      	at eii.b(SourceFile:165) ~[22w42a.jar:?]
      	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar:build 7]
      	at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar:build 7]
      	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403) ~[lwjgl-glfw-3.3.1.jar:build 7]
      	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:204) ~[22w42a.jar:?]
      	at ech.e(SourceFile:310) ~[22w42a.jar:?]
      	at eih.f(SourceFile:1207) ~[22w42a.jar:?]
      	at eih.e(SourceFile:776) [22w42a.jar:?]
      	at net.minecraft.client.main.Main.a(SourceFile:244) [22w42a.jar:?]
      	at net.minecraft.client.main.Main.main(SourceFile:51) [22w42a.jar:?]
      

            boq [Mojang] Bartosz Bok
            CrumbledHam CrumbledHam
            Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: