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

Crash while ticking entity due to invalid villager gossip values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 20w18a
    • None
    • Unconfirmed
    • Crash

      ---- Minecraft Crash Report ----
      // This doesn't make any sense!
      
      Time: 01/05/20 17.34
      Description: Ticking entity
      
      java.lang.IllegalArgumentException: bound must be positive
      	at java.util.Random.nextInt(Random.java:388)
      	at avk.a(SourceFile:172)
      	at avk.a(SourceFile:184)
      	at bcp.a(SourceFile:847)
      	at ars.c(SourceFile:63)
      	at ars.d(SourceFile:23)
      	at apl.f(SourceFile:63)
      	at apv.b(SourceFile:61)
      	at apv$$Lambda$4225/1314698697.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.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
      	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 apv.d(SourceFile:61)
      	at apl.f(SourceFile:63)
      	at aow.e(SourceFile:439)
      	at aow.a(SourceFile:366)
      	at bcp.ee(SourceFile:257)
      	at aof.dD(SourceFile:720)
      	at aoe.l(SourceFile:2359)
      	at aof.l(SourceFile:521)
      	at anr.l(SourceFile:126)
      	at aoe.h(SourceFile:2201)
      	at aof.h(SourceFile:326)
      	at bcp.h(SourceFile:294)
      	at yt.a(SourceFile:590)
      	at yt$$Lambda$3610/650302674.accept(Unknown Source)
      	at bot.a(SourceFile:578)
      	at yt.a(SourceFile:405)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:900)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:839)
      	at enx.a(SourceFile:89)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:698)
      	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.Random.nextInt(Random.java:388)
      	at avk.a(SourceFile:172)
      	at avk.a(SourceFile:184)
      	at bcp.a(SourceFile:847)
      	at ars.c(SourceFile:63)
      	at ars.d(SourceFile:23)
      	at apl.f(SourceFile:63)
      	at apv.b(SourceFile:61)
      	at apv$$Lambda$4225/1314698697.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.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
      	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 apv.d(SourceFile:61)
      	at apl.f(SourceFile:63)
      	at aow.e(SourceFile:439)
      	at aow.a(SourceFile:366)
      	at bcp.ee(SourceFile:257)
      	at aof.dD(SourceFile:720)
      	at aoe.l(SourceFile:2359)
      	at aof.l(SourceFile:521)
      	at anr.l(SourceFile:126)
      	at aoe.h(SourceFile:2201)
      	at aof.h(SourceFile:326)
      	at bcp.h(SourceFile:294)
      	at yt.a(SourceFile:590)
      	at yt$$Lambda$3610/650302674.accept(Unknown Source)
      
      -- Entity being ticked --
      Details:
      	Entity Type: minecraft:villager (bcp)
      	Entity ID: 58
      	Entity Name: Cleric
      	Entity's Exact location: -69.74, 72.00, -193.18
      	Entity's Block location: World: (-70,72,-194), Chunk: (at 10,4,14 in -5,-13; contains blocks -80,0,-208 to -65,255,-193), 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 bot.a(SourceFile:578)
      	at yt.a(SourceFile:405)
      
      -- Affected level --
      Details:
      	All players: 1 total; [yu['Brain_404'/34, l='ServerLevel[Survival 1.16]', x=-57.40, y=69.00, z=-198.03]]
      	Chunk stats: ServerChunkCache: 2617
      	Level dimension: minecraft:overworld
      	Level seed: 6276057589443595779
      	Level generator options: NBT[{}]
      	Level spawn location: World: (64,63,166), Chunk: (at 0,3,6 in 4,10; contains blocks 64,0,160 to 79,255,175), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
      	Level time: 1943562 game time, 465078 day time
      	Level name: Survival 1.16
      	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
      	Level generator: ID 00 - default, ver 1. Features enabled: true
      	Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false)
      	Known server brands: vanilla
      	Level was modded: false
      	Level storage version: 0x04ABD - Anvil
      Stacktrace:
      	at net.minecraft.server.MinecraftServer.b(SourceFile:900)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:839)
      	at enx.a(SourceFile:89)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:698)
      	at java.lang.Thread.run(Thread.java:745)
      
      -- System Details --
      Details:
      	Minecraft Version: 20w18a
      	Minecraft Version ID: 20w18a
      	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: 3136896928 bytes (2991 MB) / 4127195136 bytes (3936 MB) up to 4294967296 bytes (4096 MB)
      	CPUs: 4
      	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
      	Player Count: 1 / 8; [yu['Brain_404'/34, l='ServerLevel[Survival 1.16]', x=-57.40, y=69.00, z=-198.03]]
      	Data Packs: vanilla, file/armour statues v2.6.2.zip, file/coordinates hud v1.1.1.zip (incompatible), file/dragon drops v1.2.0.zip (incompatible), file/more mob heads v2.3.0.zip (incompatible), file/sethome v1.3.0.zip (incompatible), file/wandering trades v1.0.0.zip, file/player graves v1.6.1.zip (incompatible)
      	Type: Integrated Server (map_client.txt)
      	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
      

            Unassigned Unassigned
            MightyWarriorX Mattia Cardile
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: