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

Crash: java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.objects.ObjectSet.remove(Object)" because "$$4" is null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.18 Pre-release 8
    • 1.17 Release Candidate 1, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1, 21w37a, 21w39a, 21w40a, 21w41a, 21w42a, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Pre-release 7
    • None
    • Community Consensus
    • Crash
    • Very Important

      The bug

      I received the error java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.objects.ObjectSet.remove(Object)" because "$$4" is null in my game's log today. I am unsure of the cause of the issue, because I wasn't monitoring my game's log at the time.

      As of 1.18 Pre-release 7, this causes a crash.

      Exception in server tick loop
      java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.objects.ObjectSet.remove(Object)" because "$$4" is null
      	at adb.b(SourceFile:230)
      	at acv.a(SourceFile:1044)
      	at adg.a(SourceFile:457)
      	at aea.a(SourceFile:927)
      	at vp.a(SourceFile:114)
      	at vp$a.a(SourceFile:42)
      	at qt.a(SourceFile:21)
      	at yx.run(SourceFile:18)
      	at auh.c(SourceFile:151)
      	at aul.c(SourceFile:23)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:780)
      	at net.minecraft.server.MinecraftServer.c(SourceFile:162)
      	at auh.y(SourceFile:125)
      	at net.minecraft.server.MinecraftServer.bf(SourceFile:762)
      	at net.minecraft.server.MinecraftServer.y(SourceFile:756)
      	at auh.bp(SourceFile:110)
      	at net.minecraft.server.MinecraftServer.x(SourceFile:740)
      	at net.minecraft.server.MinecraftServer.w(SourceFile:688)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:270)
      	at java.base/java.lang.Thread.run(Thread.java:833)

            boq [Mojang] Bartosz Bok
            markderickson [Mod] markderickson
            Votes:
            18 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: