DarkShadow_TNT
- DarkShadow_TNT
- darkshadow_tnt
- Europe/Amsterdam
- Yes
- No
Some experience orbs are grey when they are dropped (by bottles o' enchanting) and summoned (by command block).
__________________________
What I expected to happen:
Every XP-orb has the same yellow-green colorWhat I saw:
Some (around 5%) XP-orbs are grey.
__________________________
Steps to reproduce:
1. Give yourself a command block (works faster, bottles o' enchanting work too, but it is slower)
2. Put in the command block '/summon XPOrb <number of choice>'
3. Put the command block on 'Repeat' and 'Always Active'
__________________________
If everything goes right, then you can see some grey XP Orbs between the normal ones. If not then I'm probably the only one =PEDIT: Is probably a dupe of
MC-92915
A little bit off-topic, but is this bug report going to be one of the most followed or upvoted ones if this continues at this rate?
Villagers with a job and from a villager with a job crash the game
Setting: World used for testing in all the 1.14 snapshots.
First run (reproduced once): After killing a baby villager, the game crashed with a ticking entity crash. After re-joining that same world, the baby villager in question is still there. (log 2019-03-13_17.12.35-server & 2019-03-13_17.20.58-server)
Second run (reproduced once): After spawning in a villager and thereafter placing a stonecutter, the villager converts to a mason. When removing the stonecutter, the game also crashes with a ticking entity crash. (log 2019-03-13_17.23.53-server & 2019-03-13_17.27.59-server)
I have also attached the world in question.
UPDATE: After doing another test, it appears the game crashes when a villager is within at least 1 block of a 'work space'.
Setting: World used for testing in all the 1.14 snapshots.
First run (reproduced once): After killing a baby villager, the game crashed with a ticking entity crash. After re-joining that same world, the baby villager in question is still there. (log 2019-03-13_17.12.35-server & 2019-03-13_17.20.58-server)
Second run (reproduced once): After spawning in a villager and thereafter placing a stonecutter, the villager converts to a mason. When removing the stonecutter, the game also crashes with a ticking entity crash. (log 2019-03-13_17.23.53-server & 2019-03-13_17.27.59-server)
I have also attached the world in question.
UPDATE: After doing
anothertest, it appears the game crashes when a villager is within at least 1 block of a 'work space'.Setting: World used for testing in all the 1.14 snapshots.
First run (reproduced once): After killing a baby villager, the game crashed with a ticking entity crash. After re-joining that same world, the baby villager in question is still there. (log 2019-03-13_17.12.35-server & 2019-03-13_17.20.58-server)
Second run (reproduced once): After spawning in a villager and thereafter placing a stonecutter, the villager converts to a mason. When removing the stonecutter, the game also crashes with a ticking entity crash. (log 2019-03-13_17.23.53-server & 2019-03-13_17.27.59-server)
I have also attached the world in question.
UPDATE: After doing two tests, it appears the game crashes when a villager is within at least 1 block of a 'work space'. See log 2019-03-13_17.39.25-server & 2019-03-13_17.42.37-server
Villagers with a joband from a villager with a jobcrash the game
Villagers with a job near a workspace crash the game
Setting: World used for testing in all the 1.14 snapshots. After another test, appears to be any world, even a newly-created one.
First run (reproduced once): After killing a baby villager, the game crashed with a ticking entity crash. After re-joining that same world, the baby villager in question is still there. (log 2019-03-13_17.12.35-server & 2019-03-13_17.20.58-server)
Second run (reproduced once): After spawning in a villager and thereafter placing a stonecutter, the villager converts to a mason. When removing the stonecutter, the game also crashes with a ticking entity crash. (log 2019-03-13_17.23.53-server & 2019-03-13_17.27.59-server)
I have also attached the world in question.
UPDATE: After doing two tests, it appears the game crashes when a villager is within at least 1 block of a 'work space'. See log 2019-03-13_17.39.25-server & 2019-03-13_17.42.37-server
Villagers with a job nearaworkspace crash the gameVillagers with a job near their workspace when it's destroyed, crash the game
Setting: World used for testing in all the 1.14 snapshots. After another test, appears to be any world, even a newly-created one.
First run (reproduced once): After killing a baby villager, the game crashed with a ticking entity crash. After re-joining that same world, the baby villager in question is still there. (log 2019-03-13_17.12.35-server & 2019-03-13_17.20.58-server)
Second run (reproduced once): After spawning in a villager and thereafter placing a stonecutter, the villager converts to a mason. When removing the stonecutter, the game also crashes with a ticking entity crash. (log 2019-03-13_17.23.53-server & 2019-03-13_17.27.59-server)
I have also attached the world in question.UPDATE: After doing two tests, it appears the game crashes when a villager is within at least 1 block of a 'work space'. See log 2019-03-13_17.39.25-server & 2019-03-13_17.42.37-server
---- Minecraft Crash Report ---- // Sorry :( Time: 13-3-19 17:42 Description: Ticking entity java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2813/951296277.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2811/963922896.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2644/2071577603.accept(Unknown Source) at bfy.a(SourceFile:668) at vc.a(SourceFile:382) at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) 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 java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2813/951296277.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2811/963922896.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2644/2071577603.accept(Unknown Source) -- Entity being ticked -- Details: Entity Type: minecraft:villager (atz) Entity ID: 10399 Entity Name: Dorpeling Entity's Exact location: 39.47, 56.00, 18.17 Entity's Block location: World: (39,56,18), Chunk: (at 7,3,2 in 2,1; contains blocks 32,0,16 to 47,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at bfy.a(SourceFile:668) at vc.a(SourceFile:382) -- Affected level -- Details: Level name: Testing All players: 1 total; [vd['DarkShadow_TNT'/4, l='Testing', x=36.53, y=57.79, z=17.50]] Chunk stats: ServerChunkCache: 2158 Level seed: 2253500656129032334 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: {biome:"minecraft:desert",layers:[{block:"minecraft:bedrock",height:1b},{block:"minecraft:stone",height:3b},{block:"minecraft:sandstone",height:52b}],structures:{}} Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 152660 game time, 6000 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 16480 (now: false), thunder time: 7245 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 19w11a 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: 1477946496 bytes (1409 MB) / 2046820352 bytes (1952 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [vd['DarkShadow_TNT'/4, l='Testing', x=36.53, y=57.79, z=17.50]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.Setup
Go into creative mode and have a workstation (tested with stonecutter and cartography table) and a villager spawn egg in your inventory. Place workstation first. Then spawn villager (or vice versa) and wait for it to change its texture (meaning it has taken a job) and immediately thereafter destroy the block.All my tests had the villager within a one-block radius of the workstation.
Expectation
The game doesn't crash, but instead causes the villager to stop working at that station.Observation
The game crashes with a ticking entity crash described as java.util.NoSuchElementException.Crash log (attached as well crash-2019-03-28_15.32.10-server.txt
)
19w11a: crash-2019-03-13_17.42.37-server.txt---- Minecraft Crash Report ---- // Sorry :( Time: 13-3-19 17:42 Description: Ticking entity java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2813/951296277.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2811/963922896.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2644/2071577603.accept(Unknown Source) at bfy.a(SourceFile:668) at vc.a(SourceFile:382) at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) 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 java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2813/951296277.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2811/963922896.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2644/2071577603.accept(Unknown Source) -- Entity being ticked -- Details: Entity Type: minecraft:villager (atz) Entity ID: 10399 Entity Name: Dorpeling Entity's Exact location: 39.47, 56.00, 18.17 Entity's Block location: World: (39,56,18), Chunk: (at 7,3,2 in 2,1; contains blocks 32,0,16 to 47,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at bfy.a(SourceFile:668) at vc.a(SourceFile:382) -- Affected level -- Details: Level name: Testing All players: 1 total; [vd['DarkShadow_TNT'/4, l='Testing', x=36.53, y=57.79, z=17.50]] Chunk stats: ServerChunkCache: 2158 Level seed: 2253500656129032334 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: {biome:"minecraft:desert",layers:[{block:"minecraft:bedrock",height:1b},{block:"minecraft:stone",height:3b},{block:"minecraft:sandstone",height:52b}],structures:{}} Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 152660 game time, 6000 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 16480 (now: false), thunder time: 7245 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 19w11a 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: 1477946496 bytes (1409 MB) / 2046820352 bytes (1952 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [vd['DarkShadow_TNT'/4, l='Testing', x=36.53, y=57.79, z=17.50]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
Setup
Go into creative mode and have a workstation (tested with stonecutter and cartography table) and a villager spawn egg in your inventory. Place workstation first. Then spawn villager (or vice versa) and wait for it to change its texture (meaning it has taken a job) and immediately thereafter destroy the block.All my tests had the villager within a one-block radius of the workstation.
Expectation
The game doesn't crash, but instead causes the villager to stop working at that station.Observation
The game crashes with a ticking entity crash described as java.util.NoSuchElementException.Crash log (attached as well crash-2019-03-28_15.32.10-server.txt
)
19w11a: crash-2019-03-13_17.42.37-server.txt---- Minecraft Crash Report ---- //Sorry :(Time: 13-3-19 17:42 Description: Ticking entity java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2813/951296277.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2811/963922896.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2644/2071577603.accept(Unknown Source) at bfy.a(SourceFile:668) at vc.a(SourceFile:382) at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) 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 java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2813/951296277.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2811/963922896.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2644/2071577603.accept(Unknown Source) -- Entity being ticked -- Details: Entity Type: minecraft:villager (atz) Entity ID: 10399Entity Name: Dorpeling Entity's Exact location:39.47, 56.00,18.17Entity's Block location: World: (39,56,18), Chunk: (at7,3,2in2,1; contains blocks32,0,16 to47,255,31), Region: (0,0; contains chunks0,0to31,31, blocks0,0,0to511,255,511) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at bfy.a(SourceFile:668) at vc.a(SourceFile:382) -- Affected level -- Details: Level name: Testing All players: 1 total; [vd['DarkShadow_TNT'/4, l='Testing', x=36.53, y=57.79, z=17.50]] Chunk stats: ServerChunkCache: 2158Level seed: 2253500656129032334 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: {biome:"minecraft:desert",layers:[{block:"minecraft:bedrock",height:1b},{block:"minecraft:stone",height:3b},{block:"minecraft:sandstone",height:52b}],structures:{}} Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 152660game time, 6000 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 16480(now: false), thunder time:7245(now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 19w11a 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:1477946496bytes (1409MB) /2046820352bytes (1952MB) up to 2147483648 bytes (2048 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [vd['DarkShadow_TNT'/4, l='Testing', x=36.53, y=57.79, z=17.50]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.Setup
Go into creative mode and have a workstation (tested with stonecutter and cartography table) and a villager spawn egg in your inventory. Place workstation first. Then spawn villager (or vice versa) and wait for it to change its texture (meaning it has taken a job) and immediately thereafter destroy the block.All my tests had the villager within a one-block radius of the workstation.
Expectation
The game doesn't crash, but instead causes the villager to stop working at that station.Observation
The game crashes with a ticking entity crash described as java.util.NoSuchElementException.Crash log (attached as well crash-2019-03-28_15.32.10-server.txt
)
19w13a: crash-2019-03-28_15.32.10-server.txt---- Minecraft Crash Report ---- // Daisy, daisy... Time: 13-3-19 17:23 Description: Ticking entity java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) at bfy.a(SourceFile:668) at vc.a(SourceFile:382) at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) 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 java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) -- Entity being ticked -- Details: Entity Type: minecraft:villager (atz) Entity ID: 165834 Entity Name: Dorpeling Entity's Exact location: -90.50, 56.00, -87.50 Entity's Block location: World: (-91,56,-88), Chunk: (at 5,3,8 in -6,-6; contains blocks -96,0,-96 to -81,255,-81), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at bfy.a(SourceFile:668) at vc.a(SourceFile:382) -- Affected level -- Details: Level name: Testing All players: 1 total; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Chunk stats: ServerChunkCache: 2535 Level seed: 2253500656129032334 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: {biome:"minecraft:desert",layers:[{block:"minecraft:bedrock",height:1b},{block:"minecraft:stone",height:3b},{block:"minecraft:sandstone",height:52b}],structures:{}} Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 151541 game time, 6000 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 17599 (now: false), thunder time: 8364 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 19w11a 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: 989206528 bytes (943 MB) / 1946157056 bytes (1856 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.Log (anonimised and attached as well)
19w13a: 2019-03-28-4.log[15:32:10] [Server thread/ERROR]: Encountered an unexpected exception m: Ticking entity at net.minecraft.server.MinecraftServer.b(SourceFile:820) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:755) ~[19w13a.jar:?] at dwo.a(SourceFile:128) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:630) [19w13a.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_51] at alj.c(SourceFile:72) ~[19w13a.jar:?] at alj.g(SourceFile:22) ~[19w13a.jar:?] at ajq.c(SourceFile:45) ~[19w13a.jar:?] at ajq$$Lambda$2871/903543169.test(Unknown Source) ~[?:?] at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_51] at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) ~[?:1.8.0_51] at ajq.g(SourceFile:45) ~[19w13a.jar:?] at ajj.c(SourceFile:61) ~[19w13a.jar:?] at aix.a(SourceFile:285) ~[19w13a.jar:?] at aix$$Lambda$2869/1951457415.accept(Unknown Source) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_51] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2893) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51] at aix.e(SourceFile:285) ~[19w13a.jar:?] at aix.a(SourceFile:233) ~[19w13a.jar:?] at auz.K(SourceFile:254) ~[19w13a.jar:?] at aij.cX(SourceFile:623) ~[19w13a.jar:?] at aii.k(SourceFile:2206) ~[19w13a.jar:?] at aij.k(SourceFile:479) ~[19w13a.jar:?] at ahx.k(SourceFile:141) ~[19w13a.jar:?] at aii.h(SourceFile:2051) ~[19w13a.jar:?] at aij.h(SourceFile:293) ~[19w13a.jar:?] at ve.a(SourceFile:581) ~[19w13a.jar:?] at ve$$Lambda$2709/1546971920.accept(Unknown Source) ~[?:?] at bgv.a(SourceFile:668) ~[19w13a.jar:?] at ve.a(SourceFile:384) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.b(SourceFile:816) ~[19w13a.jar:?] ... 4 more
Setup
Go into creative mode and have a workstation (tested with stonecutter and cartography table) and a villager spawn egg in your inventory. Place workstation first. Then spawn villager (or vice versa) and wait for it to change its texture (meaning it has taken a job) and immediately thereafter destroy the block.All my tests had the villager within a one-block radius of the workstation.
Expectation
The game doesn't crash, but instead causes the villager to stop working at that station.Observation
The game crashes with a ticking entity crash described as java.util.NoSuchElementException.Crash log (attached as well crash-2019-03-28_15.32.10-server.txt
)
19w13a: crash-2019-03-28_15.32.10-server.txt---- Minecraft Crash Report ---- // Daisy, daisy... Time: 13-3-19 17:23 Description: Ticking entity java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) at bfy.a(SourceFile:668) at vc.a(SourceFile:382) at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) 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 java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) -- Entity being ticked -- Details: Entity Type: minecraft:villager (atz) Entity ID: 165834 Entity Name: Dorpeling Entity's Exact location: -90.50, 56.00, -87.50 Entity's Block location: World: (-91,56,-88), Chunk: (at 5,3,8 in -6,-6; contains blocks -96,0,-96 to -81,255,-81), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at bfy.a(SourceFile:668) at vc.a(SourceFile:382) -- Affected level -- Details: Level name: Testing All players: 1 total; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Chunk stats: ServerChunkCache: 2535 Level seed: 2253500656129032334 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: {biome:"minecraft:desert",layers:[{block:"minecraft:bedrock",height:1b},{block:"minecraft:stone",height:3b},{block:"minecraft:sandstone",height:52b}],structures:{}} Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 151541 game time, 6000 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 17599 (now: false), thunder time: 8364 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 19w11a 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: 989206528 bytes (943 MB) / 1946157056 bytes (1856 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.Log (anonimised and attached as well
)19w13a: 2019-03-28-4.log[15:32:10] [Server thread/ERROR]: Encountered an unexpected exception m: Ticking entity at net.minecraft.server.MinecraftServer.b(SourceFile:820) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:755) ~[19w13a.jar:?] at dwo.a(SourceFile:128) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:630) [19w13a.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_51] at alj.c(SourceFile:72) ~[19w13a.jar:?] at alj.g(SourceFile:22) ~[19w13a.jar:?] at ajq.c(SourceFile:45) ~[19w13a.jar:?] at ajq$$Lambda$2871/903543169.test(Unknown Source) ~[?:?] at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_51] at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) ~[?:1.8.0_51] at ajq.g(SourceFile:45) ~[19w13a.jar:?] at ajj.c(SourceFile:61) ~[19w13a.jar:?] at aix.a(SourceFile:285) ~[19w13a.jar:?] at aix$$Lambda$2869/1951457415.accept(Unknown Source) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_51] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2893) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51] at aix.e(SourceFile:285) ~[19w13a.jar:?] at aix.a(SourceFile:233) ~[19w13a.jar:?] at auz.K(SourceFile:254) ~[19w13a.jar:?] at aij.cX(SourceFile:623) ~[19w13a.jar:?] at aii.k(SourceFile:2206) ~[19w13a.jar:?] at aij.k(SourceFile:479) ~[19w13a.jar:?] at ahx.k(SourceFile:141) ~[19w13a.jar:?] at aii.h(SourceFile:2051) ~[19w13a.jar:?] at aij.h(SourceFile:293) ~[19w13a.jar:?] at ve.a(SourceFile:581) ~[19w13a.jar:?] at ve$$Lambda$2709/1546971920.accept(Unknown Source) ~[?:?] at bgv.a(SourceFile:668) ~[19w13a.jar:?] at ve.a(SourceFile:384) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.b(SourceFile:816) ~[19w13a.jar:?] ... 4 moreSetup
Go into creative mode and have a workstation (tested with stonecutter and cartography table) and a villager spawn egg in your inventory. Place workstation first. Then spawn villager (or vice versa) and wait for it to change its texture (meaning it has taken a job) and immediately thereafter destroy the block.All my tests had the villager within a one-block radius of the workstation.
Expectation
The game doesn't crash, but instead causes the villager to stop working at that station.Observation
The game crashes with a ticking entity crash described as java.util.NoSuchElementException.Crash log (attached as well - crash-2019-03-28_15.32.10-server.txt
)
19w13a: crash-2019-03-28_15.32.10-server.txt---- Minecraft Crash Report ---- // Daisy, daisy... Time: 13-3-19 17:23 Description: Ticking entity java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) at bfy.a(SourceFile:668) at vc.a(SourceFile:382) at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) 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 java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) -- Entity being ticked -- Details: Entity Type: minecraft:villager (atz) Entity ID: 165834 Entity Name: Dorpeling Entity's Exact location: -90.50, 56.00, -87.50 Entity's Block location: World: (-91,56,-88), Chunk: (at 5,3,8 in -6,-6; contains blocks -96,0,-96 to -81,255,-81), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at bfy.a(SourceFile:668) at vc.a(SourceFile:382) -- Affected level -- Details: Level name: Testing All players: 1 total; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Chunk stats: ServerChunkCache: 2535 Level seed: 2253500656129032334 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: {biome:"minecraft:desert",layers:[{block:"minecraft:bedrock",height:1b},{block:"minecraft:stone",height:3b},{block:"minecraft:sandstone",height:52b}],structures:{}} Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 151541 game time, 6000 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 17599 (now: false), thunder time: 8364 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 19w11a 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: 989206528 bytes (943 MB) / 1946157056 bytes (1856 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.Log (anonimised and attached as well - 2019-03-28-4.log
)
19w13a: 2019-03-28-4.log[15:32:10] [Server thread/ERROR]: Encountered an unexpected exception m: Ticking entity at net.minecraft.server.MinecraftServer.b(SourceFile:820) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:755) ~[19w13a.jar:?] at dwo.a(SourceFile:128) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:630) [19w13a.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_51] at alj.c(SourceFile:72) ~[19w13a.jar:?] at alj.g(SourceFile:22) ~[19w13a.jar:?] at ajq.c(SourceFile:45) ~[19w13a.jar:?] at ajq$$Lambda$2871/903543169.test(Unknown Source) ~[?:?] at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_51] at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) ~[?:1.8.0_51] at ajq.g(SourceFile:45) ~[19w13a.jar:?] at ajj.c(SourceFile:61) ~[19w13a.jar:?] at aix.a(SourceFile:285) ~[19w13a.jar:?] at aix$$Lambda$2869/1951457415.accept(Unknown Source) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_51] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2893) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51] at aix.e(SourceFile:285) ~[19w13a.jar:?] at aix.a(SourceFile:233) ~[19w13a.jar:?] at auz.K(SourceFile:254) ~[19w13a.jar:?] at aij.cX(SourceFile:623) ~[19w13a.jar:?] at aii.k(SourceFile:2206) ~[19w13a.jar:?] at aij.k(SourceFile:479) ~[19w13a.jar:?] at ahx.k(SourceFile:141) ~[19w13a.jar:?] at aii.h(SourceFile:2051) ~[19w13a.jar:?] at aij.h(SourceFile:293) ~[19w13a.jar:?] at ve.a(SourceFile:581) ~[19w13a.jar:?] at ve$$Lambda$2709/1546971920.accept(Unknown Source) ~[?:?] at bgv.a(SourceFile:668) ~[19w13a.jar:?] at ve.a(SourceFile:384) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.b(SourceFile:816) ~[19w13a.jar:?] ... 4 more
Villagers with a job near their workspace when it's destroyed, crash the gamejava.util.NoSuchElementException ticking entity crash when a workstation is destroyed immediately after a villager within a 1-block radius has taken the job matching the workstation
Setup
Go into creative mode and have a workstation (tested with stonecutter and cartography table) and a villager spawn egg in your inventory. Place workstation first. Then spawn villager (or vice versa) and wait for it to change its texture (meaning it has taken a job) and immediately thereafter destroy the block.All my tests had the villager within a one-block radius of the workstation.
Expectation
The game doesn't crash, but instead causes the villager to stop working at that station.Observation
The game crashes with a ticking entity crash described as java.util.NoSuchElementException.Crash log (attached as well - crash-2019-03-28_15.32.10-server.txt
)
19w13a: crash-2019-03-28_15.32.10-server.txt---- Minecraft Crash Report ---- // Daisy, daisy... Time: 13-3-19 17:23 Description: Ticking entity java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) at bfy.a(SourceFile:668) at vc.a(SourceFile:382) at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) 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 java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) -- Entity being ticked -- Details: Entity Type: minecraft:villager (atz) Entity ID: 165834 Entity Name: Dorpeling Entity's Exact location: -90.50, 56.00, -87.50 Entity's Block location: World: (-91,56,-88), Chunk: (at 5,3,8 in -6,-6; contains blocks -96,0,-96 to -81,255,-81), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at bfy.a(SourceFile:668) at vc.a(SourceFile:382) -- Affected level -- Details: Level name: Testing All players: 1 total; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Chunk stats: ServerChunkCache: 2535 Level seed: 2253500656129032334 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: {biome:"minecraft:desert",layers:[{block:"minecraft:bedrock",height:1b},{block:"minecraft:stone",height:3b},{block:"minecraft:sandstone",height:52b}],structures:{}} Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 151541 game time, 6000 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 17599 (now: false), thunder time: 8364 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 19w11a 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: 989206528 bytes (943 MB) / 1946157056 bytes (1856 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.Log (anonimised and attached as well - 2019-03-28-4.log
)
19w13a: 2019-03-28-4.log[15:32:10] [Server thread/ERROR]: Encountered an unexpected exception m: Ticking entity at net.minecraft.server.MinecraftServer.b(SourceFile:820) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:755) ~[19w13a.jar:?] at dwo.a(SourceFile:128) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:630) [19w13a.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_51] at alj.c(SourceFile:72) ~[19w13a.jar:?] at alj.g(SourceFile:22) ~[19w13a.jar:?] at ajq.c(SourceFile:45) ~[19w13a.jar:?] at ajq$$Lambda$2871/903543169.test(Unknown Source) ~[?:?] at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_51] at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) ~[?:1.8.0_51] at ajq.g(SourceFile:45) ~[19w13a.jar:?] at ajj.c(SourceFile:61) ~[19w13a.jar:?] at aix.a(SourceFile:285) ~[19w13a.jar:?] at aix$$Lambda$2869/1951457415.accept(Unknown Source) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_51] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2893) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51] at aix.e(SourceFile:285) ~[19w13a.jar:?] at aix.a(SourceFile:233) ~[19w13a.jar:?] at auz.K(SourceFile:254) ~[19w13a.jar:?] at aij.cX(SourceFile:623) ~[19w13a.jar:?] at aii.k(SourceFile:2206) ~[19w13a.jar:?] at aij.k(SourceFile:479) ~[19w13a.jar:?] at ahx.k(SourceFile:141) ~[19w13a.jar:?] at aii.h(SourceFile:2051) ~[19w13a.jar:?] at aij.h(SourceFile:293) ~[19w13a.jar:?] at ve.a(SourceFile:581) ~[19w13a.jar:?] at ve$$Lambda$2709/1546971920.accept(Unknown Source) ~[?:?] at bgv.a(SourceFile:668) ~[19w13a.jar:?] at ve.a(SourceFile:384) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.b(SourceFile:816) ~[19w13a.jar:?] ... 4 moreSetup
Go into creative mode and have a workstation (tested with stonecutter and cartography table) and a villager spawn egg in your inventory. Place workstation first and then spawn villager (or vice versa) and wait for it to change its texture (meaning it has taken a job) and immediately thereafter destroy the block.All my tests had the villager within a one-block radius of the workstation.
Expectation
The game doesn't crash, but instead causes the villager to stop working at that station as it no longer exists.Observation
The game crashes with a ticking entity crash described as java.util.NoSuchElementException.Crash log (attached as well - crash-2019-03-28_15.32.10-server.txt
)
19w13a: crash-2019-03-28_15.32.10-server.txt---- Minecraft Crash Report ---- // Daisy, daisy... Time: 13-3-19 17:23 Description: Ticking entity java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) at bfy.a(SourceFile:668) at vc.a(SourceFile:382) at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) 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 java.util.Optional.get(Optional.java:135) at akn.c(SourceFile:54) at akn.g(SourceFile:17) at ajk.e(SourceFile:43) at ajk$$Lambda$2795/893830713.test(Unknown Source) at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) at ajk.g(SourceFile:43) at ajf.c(SourceFile:52) at aiu.b(SourceFile:185) at aiu$$Lambda$2793/540347566.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.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) 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:185) at atz.K(SourceFile:229) 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:579) at vc$$Lambda$2634/1560289409.accept(Unknown Source) -- Entity being ticked -- Details: Entity Type: minecraft:villager (atz) Entity ID: 165834 Entity Name: Dorpeling Entity's Exact location: -90.50, 56.00, -87.50 Entity's Block location: World: (-91,56,-88), Chunk: (at 5,3,8 in -6,-6; contains blocks -96,0,-96 to -81,255,-81), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at bfy.a(SourceFile:668) at vc.a(SourceFile:382) -- Affected level -- Details: Level name: Testing All players: 1 total; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Chunk stats: ServerChunkCache: 2535 Level seed: 2253500656129032334 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: {biome:"minecraft:desert",layers:[{block:"minecraft:bedrock",height:1b},{block:"minecraft:stone",height:3b},{block:"minecraft:sandstone",height:52b}],structures:{}} Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 151541 game time, 6000 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 17599 (now: false), thunder time: 8364 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:814) at net.minecraft.server.MinecraftServer.a(SourceFile:753) at dwc.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:628) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 19w11a 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: 989206528 bytes (943 MB) / 1946157056 bytes (1856 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [vd['DarkShadow_TNT'/3, l='Testing', x=-90.54, y=57.42, z=-85.66]] Data Packs: vanilla Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.Log (anonimised and attached as well - 2019-03-28-4.log
)
19w13a: 2019-03-28-4.log[15:32:10] [Server thread/ERROR]: Encountered an unexpected exception m: Ticking entity at net.minecraft.server.MinecraftServer.b(SourceFile:820) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:755) ~[19w13a.jar:?] at dwo.a(SourceFile:128) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:630) [19w13a.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_51] at alj.c(SourceFile:72) ~[19w13a.jar:?] at alj.g(SourceFile:22) ~[19w13a.jar:?] at ajq.c(SourceFile:45) ~[19w13a.jar:?] at ajq$$Lambda$2871/903543169.test(Unknown Source) ~[?:?] at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_51] at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) ~[?:1.8.0_51] at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449) ~[?:1.8.0_51] at ajq.g(SourceFile:45) ~[19w13a.jar:?] at ajj.c(SourceFile:61) ~[19w13a.jar:?] at aix.a(SourceFile:285) ~[19w13a.jar:?] at aix$$Lambda$2869/1951457415.accept(Unknown Source) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_51] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_51] at java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2893) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51] at aix.e(SourceFile:285) ~[19w13a.jar:?] at aix.a(SourceFile:233) ~[19w13a.jar:?] at auz.K(SourceFile:254) ~[19w13a.jar:?] at aij.cX(SourceFile:623) ~[19w13a.jar:?] at aii.k(SourceFile:2206) ~[19w13a.jar:?] at aij.k(SourceFile:479) ~[19w13a.jar:?] at ahx.k(SourceFile:141) ~[19w13a.jar:?] at aii.h(SourceFile:2051) ~[19w13a.jar:?] at aij.h(SourceFile:293) ~[19w13a.jar:?] at ve.a(SourceFile:581) ~[19w13a.jar:?] at ve$$Lambda$2709/1546971920.accept(Unknown Source) ~[?:?] at bgv.a(SourceFile:668) ~[19w13a.jar:?] at ve.a(SourceFile:384) ~[19w13a.jar:?] at net.minecraft.server.MinecraftServer.b(SourceFile:816) ~[19w13a.jar:?] ... 4 more
NOTE: This bug is different from
MC-145686, but could be related.MC-145686was about java.util.Optional.get(Optional.java:135), this one is about it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet.removeFirstLong (LongLinkedOpenHashSet.java:470) gotten in a near-similar environment.Environment
Have a villager with a job near a workstation (preferably within a 1-block radius). Attached (Testing.zip) is the world I used. At -83 / -12 is a pit with a villager. This is where I performed my testing.
How to reproduce
To trigger the crash, one commonly needs to quickly destroy and place the workstation. This will cause the villager to quickly switch from being a nitwit and the job belonging to the workstation.In the snapshots of 1.14, this crash seems to be fairly easy to reproduce, as the villager keeps its job for longer or even doesn't become a nitwit once its workstation is destroyed. In 1.14.2, villagers switch quickly between nitwit and having a job, thus it requires more destroying and placing (and more time to reproduce). Suggestion is, taken from the comments about this bug on
MC-145686about this crash, to map the place and destroy buttons to keys near each other, for example E and F for placing and destroying, respectively.Crash logs
1.14.2 server crash log: crash-2019-05-29_16.34.45-server.txt
---- Minecraft Crash Report ---- // Don't be sad, have a hug! <3 Time: 29-5-19 16:34 Description: Exception ticking world java.util.NoSuchElementException at it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet.removeFirstLong(LongLinkedOpenHashSet.java:470) at ckn.b(SourceFile:194) at aqh$a.a(SourceFile:247) at aqh.a(SourceFile:154) at us.a(SourceFile:384) at ve.a(SourceFile:295) at vg.a(SourceFile:310) at net.minecraft.server.MinecraftServer.b(SourceFile:827) at net.minecraft.server.MinecraftServer.a(SourceFile:764) at dxk.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:632) at java.lang.Thread.run(Thread.java:745)1.14.2 game log (anonimised): 2019-05-29-5.log
[16:34:45] [Server thread/ERROR]: Encountered an unexpected exception m: Exception ticking world at net.minecraft.server.MinecraftServer.b(SourceFile:831) ~[1.14.2.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:764) ~[1.14.2.jar:?] at dxk.a(SourceFile:128) ~[1.14.2.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:632) [1.14.2.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.util.NoSuchElementException at it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet.removeFirstLong(LongLinkedOpenHashSet.java:470) ~[fastutil-8.2.1.jar:?] at ckn.b(SourceFile:194) ~[1.14.2.jar:?] at aqh$a.a(SourceFile:247) ~[1.14.2.jar:?] at aqh.a(SourceFile:154) ~[1.14.2.jar:?] at us.a(SourceFile:384) ~[1.14.2.jar:?] at ve.a(SourceFile:295) ~[1.14.2.jar:?] at vg.a(SourceFile:310) ~[1.14.2.jar:?] at net.minecraft.server.MinecraftServer.b(SourceFile:827) ~[1.14.2.jar:?] ... 4 moreOther remarks
This bug has been present since at least 19w14b, but doesn't seem to be in the game in 19w14a.
NOTE: This bug is different from
MC-145686, but could be related.MC-145686was about java.util.Optional.get(Optional.java:135), this one is about it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet.removeFirstLong (LongLinkedOpenHashSet.java:470) gotten in a near-similar environment.Environment
Have a villager with a job near a workstation (preferably within a 1-block radius). Attached (Testing.zip) is the world I used. At -83 / -12 is a pit with a villager. This is where I performed my testing.
How to reproduce
To trigger the crash, one commonly needs to quickly destroy and place the workstation. This will cause the villager to quickly switch from being a nitwit and the job belonging to the workstation.In the snapshots of 1.14, this crash seems to be fairly easy to reproduce, as the villager keeps its job for longer or even doesn't become a nitwit once its workstation is destroyed. In 1.14.2, villagers switch quickly between nitwit and having a job, thus it requires more destroying and placing (and more time to reproduce). Suggestion is, taken from the comments about this bug on
MC-145686about this crash, to map the place and destroy buttons to keys near each other, for example E and F for placing and destroying, respectively.Crash logs
1.14.2 server crash log: crash-2019-05-29_16.34.45-server.txt
---- Minecraft Crash Report ---- // Don't be sad, have a hug! <3 Time: 29-5-19 16:34 Description: Exception ticking world java.util.NoSuchElementException at it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet.removeFirstLong(LongLinkedOpenHashSet.java:470) at ckn.b(SourceFile:194) at aqh$a.a(SourceFile:247) at aqh.a(SourceFile:154) at us.a(SourceFile:384) at ve.a(SourceFile:295) at vg.a(SourceFile:310) at net.minecraft.server.MinecraftServer.b(SourceFile:827) at net.minecraft.server.MinecraftServer.a(SourceFile:764) at dxk.a(SourceFile:128) at net.minecraft.server.MinecraftServer.run(SourceFile:632) at java.lang.Thread.run(Thread.java:745)1.14.2 game log (anonimised): 2019-05-29-5.log
[16:34:45] [Server thread/ERROR]: Encountered an unexpected exception m: Exception ticking world at net.minecraft.server.MinecraftServer.b(SourceFile:831) ~[1.14.2.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:764) ~[1.14.2.jar:?] at dxk.a(SourceFile:128) ~[1.14.2.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:632) [1.14.2.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.util.NoSuchElementException at it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet.removeFirstLong(LongLinkedOpenHashSet.java:470) ~[fastutil-8.2.1.jar:?] at ckn.b(SourceFile:194) ~[1.14.2.jar:?] at aqh$a.a(SourceFile:247) ~[1.14.2.jar:?] at aqh.a(SourceFile:154) ~[1.14.2.jar:?] at us.a(SourceFile:384) ~[1.14.2.jar:?] at ve.a(SourceFile:295) ~[1.14.2.jar:?] at vg.a(SourceFile:310) ~[1.14.2.jar:?] at net.minecraft.server.MinecraftServer.b(SourceFile:827) ~[1.14.2.jar:?] ... 4 moreOther remarks
This bug has been present since at least 19w14b, but doesn't seem to be in the game in 19w14a.
I've selected all 2.5.9 versions as this is a mistake in the source string which will (eventually) end up in each Launcher version.
There is a tautology in "Worlds uploaded to your Realm are always available to you and your invited friends - at any time [, on any device]." (..\..\apps\launcher\src\routes\Products\routes\Realms\components\UpsellRealmsSection\index.tsx:256 and ..\..\apps\launcher\src\routes\Products\routes\Realms\components\UpsellRealmsSection\index.tsx:261, the latter with the additional statement "on any device", which is fine). When something is "always available", it's also available "at any time". Therefore the latter statement is redundant and should be removed.
I've selected all 2.5.9 versions as this is a mistake in the source string which will (eventually) end up in each Launcher version.
There is a tautology in "Worlds uploaded to your Realm are always available to you and your invited friends - at any time [, on any device]." (..\..\apps\launcher\src\routes\Products\routes\Realms\components\UpsellRealmsSection\index.tsx:256 and ..\..\apps\launcher\src\routes\Products\routes\Realms\components\UpsellRealmsSection\index.tsx:261, the latter with the additional statement "on any device", which is fine). When something is "always available", it's also available "at any time". Therefore the latter statement is redundant and should be removed.
The string "Added pack(s) contain symbolic links" ( symlink_warning.title.pack ) contains a grammar error. The sentence' subject ("pack(s)") shows that this
sentencecan be about one or more packs, as evidenced by the parentheses surrounding 's'. The accompanying verb should also account for that and therefore should be changed to "contain(s)".The string "Added pack(s) contain symbolic links" ( symlink_warning.title.pack ) contains a grammar error. The sentence' subject ("pack(s)") shows that this can be about one or more packs, as evidenced by the parentheses surrounding 's'. The accompanying verb should also account for that and therefore should be changed to "contain(s)".
I've selected all 2.11.24 versions, as this will be (or is) affecting the latest launcher version which includes these strings.
The mob vote options aren't translatable. Instead, only the string Meet %1$s (#: ..\..\apps\launcher\src\routes\MinecraftLive\MobsDescription\index.tsx:108) is translatable, where %1$s is substituted by a mob's name, which is an issue for languages other than English. Other languages may require the addition of a definitive article (for example in Dutch that would be 'de' or 'het') and/or require a different word form altogether, depending on what comes before and after said word.
Making the mob vote options translatable in full would alleviate this issue. Attached is the screenshot where this string is used. This issue specifically relates to the text on the green button, not the untranslatable text on each panel.
The left column shows the erroneous string; the right column the correct strings.
Wrong Right Meet %1$s Meet the Crab
Meet the Armadillo
Meet the PenguinThis fixes the translation issue and, as bonus, also fixes the missing definitive article 'the' in the original.
Selected all 2.26.2 versions as this is a translatable string found on Crowdin.
The string "Rotating Carousel Button" (#: ..\..\apps\launcher\src\routes\Home\components\HomePage\HomePageHeroImage\HomePageHeroImage.tsx:278) contains a pleonasm. "Carousel" already means it will rotate
around, making "Rotating" superfluous. Removing the word will also improve the clarity of the string, as one interpretation could be the carousel button itself rotating, which it obviously doesn't.In red the word which should be removed.
Wrong Right Rotating Carousel Button Carousel Button Selected all 2.26.2 versions as this is a translatable string found on Crowdin.
The string "Rotating Carousel Button" (#: ..\..\apps\launcher\src\routes\Home\components\HomePage\HomePageHeroImage\HomePageHeroImage.tsx:278) contains a pleonasm. "Carousel" already means it will rotate, making "Rotating" superfluous. Removing the word will also improve the clarity of the string, as one interpretation could be the carousel button itself rotating, which it obviously doesn't.
In red the word which should be removed.
Wrong Right Rotating Carousel Button Carousel Button
String variable $1$s instead of %1$s in two source strings
@DarkShadow_TNT: this was an issue specific to 14w25b to 14w31a



Confirmed for 15w45a
Java: Java 8 update 65 (F3 states that it's update 25, not true)
OS: Windows 10 64 bit
Here's a link to the video: https://drive.google.com/file/d/0BwXwob6hmy8-ZkJwOVJQdUU3OUU/view?usp=sharing
Edit 01: And here is the world: https://drive.google.com/file/d/0BwXwob6hmy8-cGlsNUdvSkI2WVE/view?usp=sharing
Edit 02: The .log.gz with the numbers is only openable with WinRAR... Sorry
I think it's a duplicate of
MC-58640Same for me, I have also the latest available for my laptop. But can Mojang make it compatible again for those drivers?
EDIT: @Davide Lugli How did you do that?
Did it, but STILL it is the same lag with the system running behind... RAAAAH...
I do have Acer, but I use a Celeron instead of a Core and Intel HD Graphics instead of Intel HD Graphics 4400. And the only dowload for that is Windows 10 32-bit and I have Windows 10 64-bit, so I receive the error: "Processor doesn't support this driver type" (or something like that)
EDIT01: C'mon... WHY??? System installed on it's own without me warning about that the broken driver...
EDIT02: And why are you letting me down and no, I don't want a cupcake from you crash report
UPDATE01: Found the right drivers for the graphics, it's compatible with the 3rd gen. of the Intel Core series, lol
Whatever... I think it's on my laptop hardcoded to use only the drivers that come from Acer. BUT I WILL PLAY IN MC 1.9 WITH LAG OR NO LAG!
I think it's a world-related issue, not a driver issue. The map I used was imported from 1.8, but the other map on which I tested the same thing was created in 15w32a. So I guess I can throw away all the maps from 1.8 and lower.
@Tom I thought the same thing... haha, but too lazy to comment. But is a GeForce GTX 650 even compatible with a Celeron?! I never heard of it
@Michael Wobst Did it, I thought it was only the XP Orbs that are affected
@Michael Wobst It has been fixed, that's why
I do think that's intended to happen, because of potion effects when using the Latin letters to offer better readability instead of being all cramped up with words that don't fit on the screen. This has been in the game for I don't know how long, so it looks like a 'Works as intended'. Oh, it's by the way the 'inventory screen', not the 'bag page'.
You can report MCPE bugs on https://bugs.mojang.com/browse/MCPE. And please, don't spam comments...
It works fine for me with Java 8 update 77. Maybe Java 8 Update 91 triggers the crash. FYI: I'm also on Windows 10 Home 1511.
Hmm... Is it also possible for you to delete the complete 1.9.4 Minecraft version file and reinstall that one? If it only affects this version, it might be something that's wrong in the 1.9.4 file.
But spawn eggs are so much easier than using commands...
Looks like a duplicate of
MC-115813.Can confirm fixed for 1.13-pre7 per seed and location provided. Also did some testing with other structures in the same world, which seem fine to me. Tested were mineshaft, stronghold and shipwreck. (Sorry for the double ping)
I was able to reproduce the crash once of the three times I've tested. The crash occurred on the first test. My profile has always been a Mojang/migrated account.
Attached is the crash log of the first test (crash-2018-07-18_22.49.35-client.txt
). There seems to be no crash or Realms error spam occurring in the other two tests.
Can confirm this typo (en_us.json -> line 105).
Looks like a WAI to me, as the lectern's base is its own file. Even then it's not an exact copy of the wooden planks, because it also has a red area clearly shown on the third screenshot.
Can confirm it's crashing. Loading bar at 3/4's of the way and just quits. Uninstall and reinstall does not work. No crash log either. Specs: Intel Core i5-8250U, nVidia GeForce MX130 2GB VRAM w/driver version 398.36, 20GB RAM, Windows 10 Home version 1803 build 17134.590.
Solution given by ChongXG works for me. Thanks a lot!
For me this issue has been fixed in beta 1.11.0.3.
This issue is most likely related to TNT and TNT minecart explosions now having a 100% drop rate, meaning that all blocks destroyed by such explosions are now dropped rather than a couple.
This POI illegal state crash also happens with entities, see
MC-145686(EDIT: fixed referring to wrong bug...).Not fixed in 19w13a. I'm assuming it wasn't fixed in 19w12a & b either, as I didn't test those versions, but based on this bug being in 19w11b, I don't think an attempt fix was done between 11b and 13a.
EDIT: Rewrote the title of this bug, as this one seems more fitting.
Can confirm fixed for 19w14a. Villager now seems to prioritise looking at the player rather than working at a workplace and when removing its workstation using /fill, the game doesn't crash either.
The crash you are currently experiencing is actually a tad bit different from this crash. While at first glance the crash report looks a lot like the ones of the original crash, the 1.14.2 (and, sadly, as far back as 19w14b
) crash is actually caused by something in it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet.removeFirstLong (LongLinkedOpenHashSet.java:470).
What's also different about this crash, or at least as far as I know, is that a villager can have a job (or even must (didn't test for that)) to trigger this crash.
EDIT: I've opened
MC-153355to address this specific crash. Please comment there with your findings.It looks like it is fixed as of 1.14.3-pre1. Quickly placing and destroying a workstation does not cause a crash. What likely changed, is that a villager now less frequently checks for whether or not a workstation is nearby compared to 1.14.2 and earlier.
I'm awaiting the next Launcher strings update on Crowdin. If the fix for that string is present in the new and/or updated ones I'll let you know.
Can confirm fixed with the latest Crowdin strings upload.