有一天启动Paper.jar突然报错了,log如下
---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 2022/8/8 上午9:45
Description: Exception in server tick loop
org.spongepowered.configurate.loader.ParsingException: []: Unknown error occurred while loading
at org.spongepowered.configurate.loader.AbstractConfigurationLoader.load(AbstractConfigurationLoader.java:165)
at org.spongepowered.configurate.loader.AbstractConfigurationLoader.load(AbstractConfigurationLoader.java:63)
at org.spongepowered.configurate.loader.ConfigurationLoader.load(ConfigurationLoader.java:56)
at io.papermc.paper.configuration.Configurations.initializeWorldDefaultsConfiguration(Configurations.java:134)
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:215)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1121)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:302)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:218)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126)
at org.spongepowered.configurate.yaml.ConfigurateScanner.scanToNextToken(ConfigurateScanner.java:1206)
at org.spongepowered.configurate.yaml.ConfigurateScanner.fetchMoreTokens(ConfigurateScanner.java:316)
at org.spongepowered.configurate.yaml.ConfigurateScanner.checkToken(ConfigurateScanner.java:256)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:214)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:166)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:156)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:141)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:151)
at org.spongepowered.configurate.yaml.ConfigurateYaml.loadConfigurate(ConfigurateYaml.java:39)
at org.spongepowered.configurate.yaml.YamlConfigurationLoader.loadInternal(YamlConfigurationLoader.java:158)
at org.spongepowered.configurate.yaml.YamlConfigurationLoader.loadInternal(YamlConfigurationLoader.java:42)
at org.spongepowered.configurate.loader.AbstractConfigurationLoader.load(AbstractConfigurationLoader.java:155)
... 7 more
Caused by: java.nio.charset.MalformedInputException: Input length = 1
at java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)
at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)
at java.base/java.io.BufferedReader.read1(BufferedReader.java:213)
at java.base/java.io.BufferedReader.read(BufferedReader.java:287)
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:183)
... 22 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.19
Minecraft Version ID: 1.19
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Microsoft
Memory: 96524800 bytes (92 MiB) / 398458880 bytes (380 MiB) up to 2107637760 bytes (2010 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 11
Microarchitecture: whiskey Lake
Frequency (GHz): 1.80
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: Intel(R) UHD Graphics 620
Graphics card #0 vendor: Intel Corporation (0x8086)
Graphics card #0 VRAM (MB): 1024.00
Graphics card #0 deviceId: 0x3ea0
Graphics card #0 versionInfo: DriverVersion=30.0.101.1340
Graphics card #1 name: NVIDIA GeForce MX250
Graphics card #1 vendor: NVIDIA (0x10de)
Graphics card #1 VRAM (MB): 2048.00
Graphics card #1 deviceId: 0x1d13
Graphics card #1 versionInfo: DriverVersion=31.0.15.1640
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 2.40
Memory slot #0 type: DDR4
Virtual memory max (MB): 16078.48
Virtual memory used (MB): 4917.91
Swap memory total (MB): 8039.24
Swap memory used (MB): 0.00
JVM Flags: 0 total;
CraftBukkit Information:
Running: Paper version git-Paper-61 (MC: 1.19) (Implementing API version 1.19-R0.1-SNAPSHOT) false
Plugins: {}
Warnings: DEFAULT
Reload Count: 0
Threads: { RUNNABLE Reference Handler: [java.base@17.0.3/java.lang.ref.Reference.waitForReferencePendingList(Native Method), java.base@17.0.3/java.lang.ref.Reference.processPendingReferences(Reference.java:253), java.base@17.0.3/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)], WAITING Worker-Main-1: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506), java.base@17.0.3/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463), java.base@17.0.3/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623), java.base@17.0.3/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], WAITING AWT-Shutdown: [java.base@17.0.3/java.lang.Object.wait(Native Method), java.base@17.0.3/java.lang.Object.wait(Object.java:338), java.desktop@17.0.3/sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:291), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], WAITING Thread-1: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506), java.base@17.0.3/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463), java.base@17.0.3/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623), java.base@17.0.3/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435), com.mojang.logging.LogQueues.getNextLogEvent(LogQueues.java:41), net.minecraft.server.gui.ServerGUI.lambda$buildChatPanel$1(ServerGUI.java:153), net.minecraft.server.gui.ServerGUI$$Lambda$4447/0x0000000801514768.run(Unknown Source), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], TIMED_WAITING Timer hack thread: [java.base@17.0.3/java.lang.Thread.sleep(Native Method), net.minecraft.SystemUtils$7.run(SystemUtils.java:706)], WAITING Paper Async Chunk Task Thread #1: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211), com.destroystokyo.paper.io.QueueExecutorThread.run(QueueExecutorThread.java:97)], RUNNABLE WindowsStreamPump: [org.fusesource.jansi.internal.Kernel32.WaitForSingleObject(Native Method), org.jline.terminal.impl.jansi.win.JansiWinSysTerminal.processConsoleInput(JansiWinSysTerminal.java:138), org.jline.terminal.impl.AbstractWindowsTerminal.pump(AbstractWindowsTerminal.java:460), org.jline.terminal.impl.AbstractWindowsTerminal$$Lambda$133/0x0000000800d850b8.run(Unknown Source), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], WAITING Log4j2-AsyncAppenderEventDispatcher-1-Async: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506), java.base@17.0.3/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463), java.base@17.0.3/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623), java.base@17.0.3/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420), org.apache.logging.log4j.core.appender.AsyncAppenderEventDispatcher.dispatchAll(AsyncAppenderEventDispatcher.java:71), org.apache.logging.log4j.core.appender.AsyncAppenderEventDispatcher.run(AsyncAppenderEventDispatcher.java:63)], TIMED_WAITING Craft Scheduler Thread - 1: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252), java.base@17.0.3/java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:401), java.base@17.0.3/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:903), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], WAITING Java2D Disposer: [java.base@17.0.3/java.lang.Object.wait(Native Method), java.base@17.0.3/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), java.base@17.0.3/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176), java.desktop@17.0.3/sun.java2d.Disposer.run(Disposer.java:145), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], WAITING Finalizer: [java.base@17.0.3/java.lang.Object.wait(Native Method), java.base@17.0.3/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), java.base@17.0.3/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176), java.base@17.0.3/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:172)], RUNNABLE Notification Thread: [], RUNNABLE AWT-Windows: [java.desktop@17.0.3/sun.awt.windows.WToolkit.eventLoop(Native Method), java.desktop@17.0.3/sun.awt.windows.WToolkit.run(WToolkit.java:365), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], RUNNABLE DestroyJavaVM: [], RUNNABLE Signal Dispatcher: [], TIMED_WAITING Craft Scheduler Thread - 0: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252), java.base@17.0.3/java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:401), java.base@17.0.3/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:903), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], TIMED_WAITING Craft Scheduler Thread - 3: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252), java.base@17.0.3/java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:401), java.base@17.0.3/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:903), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], WAITING Paper Async Chunk Urgent Task Thread: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211), com.destroystokyo.paper.io.QueueExecutorThread.run(QueueExecutorThread.java:97)], RUNNABLE Server thread: [java.base@17.0.3/java.lang.Thread.dumpThreads(Native Method), java.base@17.0.3/java.lang.Thread.getAllStackTraces(Thread.java:1662), org.bukkit.craftbukkit.v1_19_R1.CraftCrashReport.get(CraftCrashReport.java:33), org.bukkit.craftbukkit.v1_19_R1.CraftCrashReport.get(CraftCrashReport.java:17), net.minecraft.SystemReport.a(SystemReport.java:61), net.minecraft.CrashReport.<init>(CrashReport.java:36), net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1270), net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1211), net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:302), net.minecraft.server.MinecraftServer$$Lambda$4347/0x000000080150d178.run(Unknown Source), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], TIMED_WAITING Craft Scheduler Thread - 2: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252), java.base@17.0.3/java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:401), java.base@17.0.3/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:903), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], WAITING Paper Async Chunk Task Thread #0: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211), com.destroystokyo.paper.io.QueueExecutorThread.run(QueueExecutorThread.java:97)], WAITING Worker-Main-2: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506), java.base@17.0.3/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463), java.base@17.0.3/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623), java.base@17.0.3/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122), java.base@17.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], RUNNABLE Attach Listener: [], TIMED_WAITING TimerQueue: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672), java.base@17.0.3/java.util.concurrent.DelayQueue.take(DelayQueue.java:229), java.desktop@17.0.3/javax.swing.TimerQueue.run(TimerQueue.java:172), java.base@17.0.3/java.lang.Thread.run(Thread.java:833)], TIMED_WAITING Common-Cleaner: [java.base@17.0.3/java.lang.Object.wait(Native Method), java.base@17.0.3/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), java.base@17.0.3/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140), java.base@17.0.3/java.lang.Thread.run(Thread.java:833), java.base@17.0.3/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:162)], WAITING AWT-EventQueue-0: [java.base@17.0.3/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506), java.base@17.0.3/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463), java.base@17.0.3/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434), java.base@17.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623), java.desktop@17.0.3/java.awt.EventQueue.getNextEvent(EventQueue.java:567), java.desktop@17.0.3/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:190), java.desktop@17.0.3/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124), java.desktop@17.0.3/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113), java.desktop@17.0.3/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109), java.desktop@17.0.3/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101), java.desktop@17.0.3/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)],}
Force Loaded Chunks: {}
Server Running: true
Player Count: 0 / 200; []
Data Packs: vanilla, file/bukkit (incompatible)
World Generation: ERR
Is Modded: Definitely; Server brand changed to 'Paper'
Type: Dedicated Server (map_server.txt)
出现这个问题大概是config文件夹中的配置文件损坏,只需要将config文件夹删除或改名,再启动服务器,就能正常启动了。