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

Typo in exception message: "EmtyPoolElement"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.1, 21w37a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Pre-release 6, 1.18 Pre-release 7, 1.18 Pre-release 8, 1.18 Release Candidate 1, 1.18 Release Candidate 3, 1.18 Release Candidate 4, 1.18, 1.18.1 Release Candidate 2, 1.18.1, 22w03a, 1.18.2, 22w11a, 22w16b, 1.19 Pre-release 1, 1.19.1 Pre-release 5, 1.19.2, 22w44a, 23w03a
    • None
    • Confirmed
    • Text

      The bug

      While reproducing MC-227202 and MC-227945, a frequent error is logged:

      Exception loading structure piece with id minecraft:jigsaw
      java.lang.IllegalStateException: Invalid call to EmtyPoolElement.getBoundingBox, filter me!
      

      This is a typo, the word is missing a "p". It is supposed to be EmptyPoolElement.

      Analysis

      There's a typo in the exception message.

      net.minecraft.world.level.levelgen.feature.structures.EmptyPoolElement.java (Mojang mappings, 1.18-pre1)
      ...
      @Override
          public BoundingBox getBoundingBox(...) {
              throw new IllegalStateException("Invalid call to EmtyPoolElement.getBoundingBox, filter me!");
          }
      ...
      

            Unassigned Unassigned
            ampolive [Mod] ampolive
            Votes:
            7 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: