mojira.dev
MC-147134

Cartographer villager crashes server when levels to Journeymen (Multiplayer)

So on my private Minecraft server that I host for a few friends and me, we based inside a Village. We are trading and leveling up the villagers, but with my cartographer villager when ever I trade with him past apprentice and he starts to level to journeymen, the server crashes.

19w13b\: [^crash-2019-03-31_03.06.06-server.txt]

---- Minecraft Crash Report ----
// You're mean.

Time: 31/03/19 3:06 AM
Description: Watching Server

java.lang.Error
	at java.io.RandomAccessFile.read0(Native Method)
	at java.io.RandomAccessFile.read(Unknown Source)
	at java.io.RandomAccessFile.readInt(Unknown Source)
	at bxl.<init>(SourceFile:129)
	at bxm.a(SourceFile:40)
	at bxm.d(SourceFile:48)
	at ur.e(SourceFile:636)
	at ur.f(SourceFile:411)
	at ur$$Lambda$2057/1119563932.get(Unknown Source)
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)
	at agb.h(SourceFile:135)
	at agb.p(SourceFile:114)
	at vc$a.p(SourceFile:440)
	at agb.c(SourceFile:123)
	at vc.b(SourceFile:114)
	at vc.a(SourceFile:100)
	at bgv.a(SourceFile:195)
	at bgy.a(SourceFile:100)
	at cdu.a(SourceFile:128)
	at bwl.a(SourceFile:108)
	at ve.a(SourceFile:1177)
	at avd$k.a(SourceFile:868)
	at auv.a(SourceFile:215)
	at auz.dY(SourceFile:728)
	at auz.en(SourceFile:581)
	at auz.K(SourceFile:261)
	at aij.cX(SourceFile:623)
	at aii.k(SourceFile:2206)
	at aij.k(SourceFile:479)
	at ahx.k(SourceFile:141)
	at aii.h(SourceFile:2051)
	at aij.h(SourceFile:293)
	at ve.a(SourceFile:581)
	at ve$$Lambda$2346/2136285003.accept(Unknown Source)
	at bgv.a(SourceFile:669)
	at ve.a(SourceFile:384)
	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
	at uf.b(SourceFile:343)
	at net.minecraft.server.MinecraftServer.a(SourceFile:755)
	at net.minecraft.server.MinecraftServer.run(SourceFile:630)
	at java.lang.Thread.run(Unknown Source)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server Watchdog
Stacktrace:
	at java.io.RandomAccessFile.read0(Native Method)
	at java.io.RandomAccessFile.read(Unknown Source)
	at java.io.RandomAccessFile.readInt(Unknown Source)
	at bxl.<init>(SourceFile:129)
	at bxm.a(SourceFile:40)
	at bxm.d(SourceFile:48)
	at ur.e(SourceFile:636)
	at ur.f(SourceFile:411)
	at ur$$Lambda$2057/1119563932.get(Unknown Source)
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)
	at agb.h(SourceFile:135)
	at agb.p(SourceFile:114)
	at vc$a.p(SourceFile:440)
	at agb.c(SourceFile:123)
	at vc.b(SourceFile:114)
	at vc.a(SourceFile:100)
	at bgv.a(SourceFile:195)
	at bgy.a(SourceFile:100)
	at cdu.a(SourceFile:128)
	at bwl.a(SourceFile:108)
	at ve.a(SourceFile:1177)
	at avd$k.a(SourceFile:868)
	at auv.a(SourceFile:215)
	at auz.dY(SourceFile:728)
	at auz.en(SourceFile:581)
	at auz.K(SourceFile:261)
	at aij.cX(SourceFile:623)
	at aii.k(SourceFile:2206)
	at aij.k(SourceFile:479)
	at ahx.k(SourceFile:141)
	at aii.h(SourceFile:2051)
	at aij.h(SourceFile:293)
	at ve.a(SourceFile:581)
	at ve$$Lambda$2346/2136285003.accept(Unknown Source)
	at bgv.a(SourceFile:669)
	at ve.a(SourceFile:384)
	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
	at uf.b(SourceFile:343)
	at net.minecraft.server.MinecraftServer.a(SourceFile:755)

-- Thread Dump --
Details:
	Threads: "Server-Worker-16" Id=41 WAITING on java.util.concurrent.ForkJoinPool@5da2df0e
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.ForkJoinPool@5da2df0e
	at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)


"Server-Worker-15" Id=40 WAITING on java.util.concurrent.ForkJoinPool@5da2df0e
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.ForkJoinPool@5da2df0e
	at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)


"Server-Worker-14" Id=39 WAITING on java.util.concurrent.ForkJoinPool@5da2df0e
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.ForkJoinPool@5da2df0e
	at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)


"Server-Worker-13" Id=38 TIMED_WAITING on java.util.concurrent.ForkJoinPool@5da2df0e
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.ForkJoinPool@5da2df0e
	at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)


"Server-Worker-11" Id=36 WAITING on java.util.concurrent.ForkJoinPool@5da2df0e
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.ForkJoinPool@5da2df0e
	at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)


"Netty Server IO #1" Id=27 RUNNABLE (in native)
	at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
	at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
	at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source)
	at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
	-  locked io.netty.channel.nio.SelectedSelectionKeySet@53652aca
	-  locked java.util.Collections$UnmodifiableSet@575ab47e
	-  locked sun.nio.ch.WindowsSelectorImpl@125820f1
	at sun.nio.ch.SelectorImpl.select(Unknown Source)
	at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
	at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:756)
	...


"Server Watchdog" Id=26 RUNNABLE
	at sun.management.ThreadImpl.dumpThreads0(Native Method)
	at sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
	at ui.run(SourceFile:45)
	at java.lang.Thread.run(Unknown Source)


"Netty Server IO #0" Id=25 RUNNABLE (in native)
	at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
	at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
	at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source)
	at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
	at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
	-  locked io.netty.channel.nio.SelectedSelectionKeySet@5949c71b
	-  locked java.util.Collections$UnmodifiableSet@23809582
	-  locked sun.nio.ch.WindowsSelectorImpl@217b2cc8
	at sun.nio.ch.SelectorImpl.select(Unknown Source)
	at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
	at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:756)
	...


"ObjectCleanerThread" Id=24 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@7277dfbe
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.ReferenceQueue$Lock@7277dfbe
	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
	at io.netty.util.internal.ObjectCleaner$1.run(ObjectCleaner.java:54)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Unknown Source)


"Server console handler" Id=23 RUNNABLE (in native)
	at java.io.FileInputStream.readBytes(Native Method)
	at java.io.FileInputStream.read(Unknown Source)
	at java.io.BufferedInputStream.read1(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	-  locked java.io.BufferedInputStream@6591bff4
	at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
	at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
	at sun.nio.cs.StreamDecoder.read(Unknown Source)
	-  locked java.io.InputStreamReader@429a0a41
	at java.io.InputStreamReader.read(Unknown Source)
	...


"DestroyJavaVM" Id=22 RUNNABLE


"Server thread" Id=19 RUNNABLE
	at java.io.RandomAccessFile.read0(Native Method)
	at java.io.RandomAccessFile.read(Unknown Source)
	at java.io.RandomAccessFile.readInt(Unknown Source)
	at bxl.<init>(SourceFile:129)
	at bxm.a(SourceFile:40)
	at bxm.d(SourceFile:48)
	at ur.e(SourceFile:636)
	at ur.f(SourceFile:411)
	...


"Server Infinisleeper" Id=20 TIMED_WAITING
	at java.lang.Thread.sleep(Native Method)
	at uf$1.run(SourceFile:93)


"Snooper Timer" Id=18 WAITING on java.util.TaskQueue@3a7f63b6
	at java.lang.Object.wait(Native Method)
	-  waiting on java.util.TaskQueue@3a7f63b6
	at java.lang.Object.wait(Unknown Source)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)


"Attach Listener" Id=5 RUNNABLE


"Signal Dispatcher" Id=4 RUNNABLE


"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@7639c168
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.ReferenceQueue$Lock@7639c168
	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
	at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)


"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@1e3fae44
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.Reference$Lock@1e3fae44
	at java.lang.Object.wait(Unknown Source)
	at java.lang.ref.Reference.tryHandlePending(Unknown Source)
	at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)



Stacktrace:
	at ui.run(SourceFile:61)
	at java.lang.Thread.run(Unknown Source)

-- System Details --
Details:
	Minecraft Version: 19w13b
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_191, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 1211517792 bytes (1155 MB) / 2065694720 bytes (1970 MB) up to 2065694720 bytes (1970 MB)
	JVM Flags: 2 total; -Xmx2048M -Xms2048M
	Player Count: 1 / 20; [vf['BIueskies'/146, l='world', x=573.57, y=69.00, z=-2476.55]]
	Data Packs: vanilla
	Is Modded: Unknown (can't tell)
	Type: Dedicated Server (map_server.txt)

Linked issues

Attachments

Comments

migrated

I have a similar issue with single player mode, seems to be only the cartographer villager that causes game to hang, such as all entities freeze, block items such as crates will not not open, cannot create a log or quit/save game. This happens with the latest snapshot 19w14b.

wobst.michael

Please check if that's still an issue in 1.14.2.

migrated

This is still happening in 1.15.2, there also a duplicate bug here: https://bugs.mojang.com/browse/MC-130449

wobst.michael

Please check if this is still an issue for you in 1.16 Release Candidate 1 or later.

migrated

This is still occuring in version 1.16.2 

migrated

Can anyone update the affected versions?

anthony cicinelli

@unknown you can make a request on the Mojira Discord is this still happens in the current version or just say in the comments that it affects <insert version> because your response doesn't give any information if this affects the current version.

migrated

(Unassigned)

Unconfirmed

Minecraft 19w13b

Retrieved