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

Game crashes when villager tries to open non-door in #wooden_doors tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w03a
    • 1.18.1
    • None
    • Confirmed
    • Crash
    • Important

      How to reproduce

      1. Create a new world with the attached datapack (or use attached one)
      2. Make a circle of tall grass
      3. Place workstations outside the circle
      4. Spawn villager inside the circle
      5. Wait for villager to pathfind
      6. Crash triggers

      Stack trace

      Description: Ticking entity
      
      java.lang.ClassCastException: class cew cannot be cast to class ceu (cew and ceu are in unnamed module of loader 'app')
      	at azp.a(SourceFile:86)
      	at ayt.e(SourceFile:49)
      	at ayc.d(SourceFile:511)
      	at ayc.a(SourceFile:470)
      	at bne.R(SourceFile:273)
      	at axj.eE(SourceFile:758)
      	at axh.w_(SourceFile:2604)
      	at axj.w_(SourceFile:545)
      	at awr.w_(SourceFile:127)
      	at axh.k(SourceFile:2349)
      	at axj.k(SourceFile:345)
      	at bne.k(SourceFile:314)
      	at adi.a(SourceFile:699)
      	at cad.a(SourceFile:487)
      	at adi.a(SourceFile:360)
      	at cru.a(SourceFile:54)
      	at adi.a(SourceFile:328)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:879)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:823)
      	at fcv.a(SourceFile:99)
      	at net.minecraft.server.MinecraftServer.w(SourceFile:684)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:270)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      

            panda4994 [Mojang] Panda
            apple502j apple502j
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: