I have just updated my old server all the way from 1.8 to 1.14. There's a part of the world that was originally from an even older world that I copy-pasted into this one, and whenever I go there it causes the server to crash and reboot. Research suggests that I've got a corrupted chunk, but I'm not sure. I pasted one of the crash logs below (I've caused quite a few because of this issue now and they're all the same). Please tell me what's going on and how to fix it!
---- Minecraft Crash Report ----
// Sorry
Time: 12/31/19 1:34 PM
Description: Exception ticking world
net.minecraft.server.v1_14_R1.ResourceKeyInvalidException: Non [a-z0-9/._-] character in path of location: minecraft:Chest
at net.minecraft.server.v1_14_R1.MinecraftKey.<init>(SourceFile:38)
at net.minecraft.server.v1_14_R1.MinecraftKey.<init>(SourceFile:43)
at net.minecraft.server.v1_14_R1.TileEntity.create(TileEntity.java:88)
at net.minecraft.server.v1_14_R1.Chunk.a(Chunk.java:821)
at net.minecraft.server.v1_14_R1.Chunk.a(Chunk.java:416)
at net.minecraft.server.v1_14_R1.Chunk.getTileEntity(Chunk.java:400)
at net.minecraft.server.v1_14_R1.Chunk.A(Chunk.java:800)
at net.minecraft.server.v1_14_R1.PlayerChunkMap.lambda$39(PlayerChunkMap.java:628)
at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
at com.mojang.datafixers.util.Either.flatMap(Either.java:191)
at net.minecraft.server.v1_14_R1.PlayerChunkMap.lambda$37(PlayerChunkMap.java:625)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.server.v1_14_R1.ChunkTaskQueueSorter.b(SourceFile:58)
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:144)
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:118)
at net.minecraft.server.v1_14_R1.ChunkProviderServer$a.executeNext(ChunkProviderServer.java:560)
at net.minecraft.server.v1_14_R1.ChunkProviderServer.runTasks(ChunkProviderServer.java:243)
at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:917)
at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:901)
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeAll(SourceFile:103)
at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:884)
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:818)
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 net.minecraft.server.v1_14_R1.MinecraftKey.<init>(SourceFile:38)
at net.minecraft.server.v1_14_R1.MinecraftKey.<init>(SourceFile:43)
at net.minecraft.server.v1_14_R1.TileEntity.create(TileEntity.java:88)
at net.minecraft.server.v1_14_R1.Chunk.a(Chunk.java:821)
at net.minecraft.server.v1_14_R1.Chunk.a(Chunk.java:416)
at net.minecraft.server.v1_14_R1.Chunk.getTileEntity(Chunk.java:400)
at net.minecraft.server.v1_14_R1.Chunk.A(Chunk.java:800)
at net.minecraft.server.v1_14_R1.PlayerChunkMap.lambda$39(PlayerChunkMap.java:628)
at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
at com.mojang.datafixers.util.Either.flatMap(Either.java:191)
at net.minecraft.server.v1_14_R1.PlayerChunkMap.lambda$37(PlayerChunkMap.java:625)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.server.v1_14_R1.ChunkTaskQueueSorter.b(SourceFile:58)
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:144)
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:118)
at net.minecraft.server.v1_14_R1.ChunkProviderServer$a.executeNext(ChunkProviderServer.java:560)
at net.minecraft.server.v1_14_R1.ChunkProviderServer.runTasks(ChunkProviderServer.java:243)
at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:917)
-- Affected level --
Details:
All players: 1 total; [EntityPlayer['TheBlackMezek'/299, l='world', x=-1480.30, y=64.00, z=540.52](TheBlackMezek at -1480.2974943646814,64.0,540.5150653251471)]
Chunk stats: ServerChunkCache: 4198
Level dimension: minecraft:overworld
Level name: world
Level seed: 7134316769603297920
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options: {}
Level spawn location: World: (-457,66,168), Chunk: (at 7,4,8 in -29,10; contains blocks -464,0,160 to -449,255,175), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 2040987030 game time, 61223 day time
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 146244 (now: false), thunder time: 147216 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1079)
at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396)
at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:969)
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:814)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.14.4
Minecraft Version ID: 1.14.4
Operating System: Linux (amd64) version 3.13.0-144-generic
Java Version: 1.8.0_77, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 210881776 bytes (201 MB) / 716177408 bytes (683 MB) up to 716177408 bytes (683 MB)
CPUs: 16
JVM Flags: 2 total; -Xmx768M -Xms768M
CraftBukkit Information:
Running: CraftBukkit version git-Spigot-6a14ca4-1215188 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT) true
Plugins: { Vivecraft-Spigot-Extensions v1.14.4-r6* org.vivecraft.VSE [jrbudda, jaron780],}
Warnings: DEFAULT
Reload Count: 0
Threads: { TIMED_WAITING Spigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:102)], WAITING Server-Worker-7: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824), java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693), java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)], WAITING Server-Worker-2: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824), java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693), java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)], WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:502), java.util.TimerThread.mainLoop(Timer.java:526), java.util.TimerThread.run(Timer.java:505)], RUNNABLE DestroyJavaVM: [], RUNNABLE Server console handler: [java.io.FileInputStream.readBytes(Native Method), java.io.FileInputStream.read(FileInputStream.java:255), java.io.BufferedInputStream.fill(BufferedInputStream.java:246), java.io.BufferedInputStream.read(BufferedInputStream.java:265), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:248), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLineSimple(ConsoleReader.java:3183), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2333), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2269), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2257), net.minecraft.server.v1_14_R1.DedicatedServer$2.run(DedicatedServer.java:97)], TIMED_WAITING Craft Scheduler Thread - 1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617), java.lang.Thread.run(Thread.java:745)], TIMED_WAITING Server Infinisleeper: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_14_R1.DedicatedServer$1.run(DedicatedServer.java:69)], WAITING Server-Worker-4: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824), java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693), java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)], RUNNABLE Netty Epoll Server IO #0: [io.netty.channel.epoll.Native.epollWait0(Native Method), io.netty.channel.epoll.Native.epollWait(Native.java:114), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256), io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884), java.lang.Thread.run(Thread.java:745)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:502), java.lang.ref.Reference.tryHandlePending(Reference.java:191), java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)], WAITING Java2D Disposer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164), sun.java2d.Disposer.run(Disposer.java:148), java.lang.Thread.run(Thread.java:745)], RUNNABLE Netty Epoll Server IO #1: [io.netty.channel.epoll.Native.epollWait0(Native Method), io.netty.channel.epoll.Native.epollWait(Native.java:114), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256), io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884), java.lang.Thread.run(Thread.java:745)], RUNNABLE Signal Dispatcher: [], TIMED_WAITING Server-Worker-9: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824), java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693), java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)], TIMED_WAITING Spigot Metrics Thread: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)], WAITING Thread-3: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:175), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77), org.bukkit.craftbukkit.v1_14_R1.util.TerminalConsoleWriterThread.run(TerminalConsoleWriterThread.java:30)], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164), java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)], TIMED_WAITING ObjectCleanerThread: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143), io.netty.util.internal.ObjectCleaner$1.run(ObjectCleaner.java:54), io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30), java.lang.Thread.run(Thread.java:745)], WAITING Server-Worker-3: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824), java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693), java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Thread.java:1603), org.bukkit.craftbukkit.v1_14_R1.CraftCrashReport.call(CraftCrashReport.java:33), net.minecraft.server.v1_14_R1.CrashReportSystemDetails.a(SourceFile:79), net.minecraft.server.v1_14_R1.CrashReport.h(CrashReport.java:71), net.minecraft.server.v1_14_R1.CrashReport.<init>(CrashReport.java:35), net.minecraft.server.v1_14_R1.CrashReport.a(CrashReport.java:269), net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1073), net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396), net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:969), net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:814), java.lang.Thread.run(Thread.java:745)], WAITING Server-Worker-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824), java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693), java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)], WAITING Server-Worker-5: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824), java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693), java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)], TIMED_WAITING Craft Scheduler Thread - 0: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617), java.lang.Thread.run(Thread.java:745)],}
Recent tasks from 726-756{Vivecraft-Spigot-Extensions:org.vivecraft.VSE$2@31,}
Force Loaded Chunks: { world: {}, world_nether: {}, world_the_end: {},}
Player Count: 1 / 18; [EntityPlayer['TheBlackMezek'/299, l='world', x=-1480.30, y=64.00, z=540.52](TheBlackMezek at -1480.2974943646814,64.0,540.5150653251471)]
Data Packs: vanilla, file/bukkit
Is Modded: Definitely; Server brand changed to 'Spigot'
Type: Dedicated Server (map_server.txt)
The world that you are using on your server was probably created back when blocks/items could have capitalized unlocalized names (internal names of blocks and items used by the game). The first line of the crash report states that it's trying to load a "minecraft:Chest" resource, but in 1.14, capital letters are not allowed in resource names. You can probably use a world editor like MCEdit to delete some chests around your spawn and see if that helps you at least be able to load up the world and join it.
That sounds about like what I was expecting. Fortunately the offending chunks are actually a fair ways away from spawn, so I can play on the server as long as I stay away from the cursed region. Is there any way to find out exactly what chunks or chests are causing the problem? I'd rather not indiscriminately start deleting chests.
I have just updated my old server all the way from 1.8 to 1.14. There's a part of the world that was originally from an even older world that I copy-pasted into this one, and whenever I go there it causes the server to crash and reboot. Research suggests that I've got a corrupted chunk, but I'm not sure. I pasted one of the crash logs below (I've caused quite a few because of this issue now and they're all the same). Please tell me what's going on and how to fix it!
The world that you are using on your server was probably created back when blocks/items could have capitalized unlocalized names (internal names of blocks and items used by the game). The first line of the crash report states that it's trying to load a "minecraft:Chest" resource, but in 1.14, capital letters are not allowed in resource names. You can probably use a world editor like MCEdit to delete some chests around your spawn and see if that helps you at least be able to load up the world and join it.
Mapping and Modding rules | Global rules
That sounds about like what I was expecting. Fortunately the offending chunks are actually a fair ways away from spawn, so I can play on the server as long as I stay away from the cursed region. Is there any way to find out exactly what chunks or chests are causing the problem? I'd rather not indiscriminately start deleting chests.
See https://www.minecraftforum.net/forums/minecraft-java-edition/discussion/297844-official-corrupted-save-recovery-thread