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

Breaking doors with villagers crashes the game

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 19w12a
    • Minecraft 19w11b
    • None
    • OS: Windows 10
      Processor: Intel CORE i5
      GFX: GeForce GTX 1050
      Computer model: MSI GL62M

      Java version: 1.8
    • Unconfirmed

      When trying to break doors controlled by villagers, the game crashes.

      To reproduce:
      Make a house with a door.
      Spawn a villager next to the door
      Try opening it. You shouldn't be able to do it
      IF unable to open it, break the door. This will crash the game.

      ---- Minecraft Crash Report ----
      // Oh - I know what I did wrong!
      
      Time: 15.03.19 15:12
      Description: Ticking entity
      
      java.lang.ClassCastException: bke cannot be cast to bmj
      	at ajm.a(SourceFile:49)
      	at ajm$$Lambda$2948/5203836.accept(Unknown Source)
      	at java.lang.Iterable.forEach(Iterable.java:75)
      	at ajm.a(SourceFile:46)
      	at ajf.b(SourceFile:38)
      	at aiu.c(SourceFile:178)
      	at aiu$$Lambda$2887/2047537625.accept(Unknown Source)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
      	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      	at java.util.Iterator.forEachRemaining(Iterator.java:116)
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      	at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1683)
      	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
      	at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2893)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      	at aiu.a(SourceFile:178)
      	at aua.K(SourceFile:238)
      	at aig.cW(SourceFile:622)
      	at aif.k(SourceFile:2202)
      	at aig.k(SourceFile:478)
      	at ahu.k(SourceFile:141)
      	at aif.h(SourceFile:2051)
      	at aig.h(SourceFile:292)
      	at vc.a(SourceFile:578)
      	at vc$$Lambda$2634/581191532.accept(Unknown Source)
      	at bfx.a(SourceFile:668)
      	at vc.a(SourceFile:381)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:755)
      	at dwb.a(SourceFile:128)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:630)
      	at java.lang.Thread.run(Thread.java:745)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Thread: Server thread
      Stacktrace:
      	at ajm.a(SourceFile:49)
      	at ajm$$Lambda$2948/5203836.accept(Unknown Source)
      	at java.lang.Iterable.forEach(Iterable.java:75)
      	at ajm.a(SourceFile:46)
      	at ajf.b(SourceFile:38)
      	at aiu.c(SourceFile:178)
      	at aiu$$Lambda$2887/2047537625.accept(Unknown Source)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
      	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      	at java.util.Iterator.forEachRemaining(Iterator.java:116)
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      	at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1683)
      	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
      	at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2893)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      	at aiu.a(SourceFile:178)
      	at aua.K(SourceFile:238)
      	at aig.cW(SourceFile:622)
      	at aif.k(SourceFile:2202)
      	at aig.k(SourceFile:478)
      	at ahu.k(SourceFile:141)
      	at aif.h(SourceFile:2051)
      	at aig.h(SourceFile:292)
      	at vc.a(SourceFile:578)
      	at vc$$Lambda$2634/581191532.accept(Unknown Source)
      
      -- Entity being ticked --
      Details:
      	Entity Type: minecraft:villager (aua)
      	Entity ID: 24460
      	Entity Name: Landsbyboer
      	Entity's Exact location: 317.50, 64.00, -1396.70
      	Entity's Block location: World: (317,64,-1397), Chunk: (at 13,4,11 in 19,-88; contains blocks 304,0,-1408 to 319,255,-1393), Region: (0,-3; contains chunks 0,-96 to 31,-65, blocks 0,0,-1536 to 511,255,-1025)
      	Entity's Momentum: 0.00, -0.08, 0.00
      	Entity's Passengers: []
      	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
      Stacktrace:
      	at bfx.a(SourceFile:668)
      	at vc.a(SourceFile:381)
      
      -- Affected level --
      Details:
      	Level name: Ny Verden
      	All players: 1 total; [vd['eirikh1996'/216, l='Ny Verden', x=315.77, y=64.00, z=-1396.41]]
      	Chunk stats: ServerChunkCache: 9250
      	Level seed: 2983508367791267130
      	Level generator: ID 00 - default, ver 1. Features enabled: true
      	Level generator options: {}
      	Level spawn location: World: (266,63,-19), Chunk: (at 10,3,13 in 16,-2; contains blocks 256,0,-32 to 271,255,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
      	Level time: 87651 game time, 105224 day time
      	Level dimension: 0
      	Level storage version: 0x04ABD - Anvil
      	Level weather: Rain time: 137567 (now: false), thunder time: 24004 (now: false)
      	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
      Stacktrace:
      	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:755)
      	at dwb.a(SourceFile:128)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:630)
      	at java.lang.Thread.run(Thread.java:745)
      
      -- System Details --
      Details:
      	Minecraft Version: 19w11b
      	Operating System: Windows 10 (amd64) version 10.0
      	Java Version: 1.8.0_51, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      	Memory: 811188608 bytes (773 MB) / 3221225472 bytes (3072 MB) up to 3221225472 bytes (3072 MB)
      	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx3G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
      	Player Count: 1 / 8; [vd['eirikh1996'/216, l='Ny Verden', x=315.77, y=64.00, z=-1396.41]]
      	Data Packs: vanilla
      	Type: Integrated Server (map_client.txt)
      	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
      

            hkniberg hkniberg
            eirikh1996 Eirik Hetland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: