SlimefunGuguProject / Slimefun4

Slimefun4 (粘液科技) 汉化版 | Slimefun modified version in Simplified Chinese
GNU General Public License v3.0
258 stars 60 forks source link

插件预加载失败 #762

Closed JiangQiYan713 closed 1 year ago

JiangQiYan713 commented 1 year ago

问题描述

[00:12:31] [Server thread/INFO]: [Slimefun] Loading server plugin Slimefun vf30bdf2-canary
......

[00:12:37] [Server thread/INFO]: [Slimefun] Enabling Slimefun vf30bdf2-canary
[00:12:37] [Server thread/INFO]: [Slimefun] 检测到你正在使用 Paper 服务端! 性能优化已应用.
[00:12:37] [Server thread/INFO]: [Slimefun] 正在创建文件夹...
[00:12:37] [Server thread/INFO]: [Slimefun] 正在加载数据库...
[00:12:37] [Server thread/ERROR]: Error occurred while enabling Slimefun vf30bdf2-canary (Is it up to date?)
java.lang.IllegalStateException: Failed to create Sqlite connection: 
    at com.xzavier0722.mc.plugin.slimefun4.storage.adapter.sqlite.SqliteAdapter.createConn(SqliteAdapter.java:288) ~[Slimefun-f30bdf2-canary.jar:?]
    at com.xzavier0722.mc.plugin.slimefun4.storage.adapter.sqlite.SqliteAdapter.prepare(SqliteAdapter.java:37) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.thebusybiscuit.slimefun4.core.config.SlimefunDatabaseManager.initAdapter(SlimefunDatabaseManager.java:121) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.thebusybiscuit.slimefun4.core.config.SlimefunDatabaseManager.init(SlimefunDatabaseManager.java:53) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.thebusybiscuit.slimefun4.implementation.Slimefun.onPluginStart(Slimefun.java:307) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.thebusybiscuit.slimefun4.implementation.Slimefun.onEnable(Slimefun.java:241) ~[Slimefun-f30bdf2-canary.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.20.1.jar:git-Paper-72]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:636) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:435) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1101) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-72]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.sql.SQLException: No suitable driver found for jdbc:sqlite:F:\test3server\data-storage\Slimefun\block-storage.db
    at java.sql.DriverManager.getConnection(DriverManager.java:706) ~[java.sql:?]
    at java.sql.DriverManager.getConnection(DriverManager.java:252) ~[java.sql:?]
    at com.xzavier0722.mc.plugin.slimefun4.storage.adapter.sqlite.SqliteAdapter.createConn(SqliteAdapter.java:286) ~[Slimefun-f30bdf2-canary.jar:?]
    ... 17 more
[00:12:37] [Server thread/INFO]: [Slimefun] Disabling Slimefun vf30bdf2-canary
[00:12:37] [Server thread/ERROR]: Error occurred (in the plugin loader) while disabling Slimefun vf30bdf2-canary (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "com.xzavier0722.mc.plugin.slimefun4.storage.controller.ControllerHolder.get(com.xzavier0722.mc.plugin.slimefun4.storage.controller.StorageType)" because the return value of "java.util.Map.get(Object)" is null
    at com.xzavier0722.mc.plugin.slimefun4.storage.controller.ControllerHolder.getController(ControllerHolder.java:12) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.thebusybiscuit.slimefun4.core.config.SlimefunDatabaseManager.getProfileDataController(SlimefunDatabaseManager.java:128) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.thebusybiscuit.slimefun4.core.config.SlimefunDatabaseManager.shutdown(SlimefunDatabaseManager.java:136) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.thebusybiscuit.slimefun4.implementation.Slimefun.onDisable(Slimefun.java:448) ~[Slimefun-f30bdf2-canary.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:283) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:224) ~[paper-1.20.1.jar:git-Paper-72]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:537) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:193) ~[paper-1.20.1.jar:git-Paper-72]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:636) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:435) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1101) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-72]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
......

[00:12:41] [Server thread/INFO]: [FluffyMachines] Enabling FluffyMachines vBuild 22 zh-CN(baoad) (git 0ef1745)
[00:12:41] [Server thread/ERROR]: Error occurred while enabling FluffyMachines vBuild 22 zh-CN(baoad) (git 0ef1745) (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem.getRecipe()" because "key" is null
    at io.ncbpfluffybear.fluffymachines.machines.SmartFactory.reduceRecipe(SmartFactory.java:311) ~[FluffyMachines-Build 22 zh-CN(baoad) (git 0ef1745).jar:?]
    at io.ncbpfluffybear.fluffymachines.machines.SmartFactory.collectRawRecipe(SmartFactory.java:286) ~[FluffyMachines-Build 22 zh-CN(baoad) (git 0ef1745).jar:?]
    at io.ncbpfluffybear.fluffymachines.machines.SmartFactory.<init>(SmartFactory.java:79) ~[FluffyMachines-Build 22 zh-CN(baoad) (git 0ef1745).jar:?]
    at io.ncbpfluffybear.fluffymachines.FluffyItemSetup.setup(FluffyItemSetup.java:458) ~[FluffyMachines-Build 22 zh-CN(baoad) (git 0ef1745).jar:?]
    at io.ncbpfluffybear.fluffymachines.FluffyMachines.onEnable(FluffyMachines.java:121) ~[FluffyMachines-Build 22 zh-CN(baoad) (git 0ef1745).jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.20.1.jar:git-Paper-72]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:636) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:435) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1101) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-72]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
[00:12:41] [Server thread/INFO]: [FluffyMachines] Disabling FluffyMachines vBuild 22 zh-CN(baoad) (git 0ef1745)
[00:12:41] [Server thread/INFO]: [ColoredEnderChests] Enabling ColoredEnderChests vBuild 1 zh-CN(ybw0014) (git b2c82c2)
[00:12:41] [Server thread/ERROR]: Error occurred while enabling ColoredEnderChests vBuild 1 zh-CN(ybw0014) (git b2c82c2) (Is it up to date?)
java.lang.NoSuchMethodError: 'void me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset.<init>(java.lang.String, java.lang.String, boolean)'
    at io.github.thebusybiscuit.coloredenderchests.ColoredEnderChest$1.<init>(ColoredEnderChest.java:48) ~[ColoredEnderChests-Build 1 zh-CN(ybw0014) (git b2c82c2).jar:?]
    at io.github.thebusybiscuit.coloredenderchests.ColoredEnderChest.<init>(ColoredEnderChest.java:48) ~[ColoredEnderChests-Build 1 zh-CN(ybw0014) (git b2c82c2).jar:?]
    at io.github.thebusybiscuit.coloredenderchests.ColoredEnderChests.registerEnderChest(ColoredEnderChests.java:74) ~[ColoredEnderChests-Build 1 zh-CN(ybw0014) (git b2c82c2).jar:?]
    at io.github.thebusybiscuit.coloredenderchests.ColoredEnderChests.onEnable(ColoredEnderChests.java:65) ~[ColoredEnderChests-Build 1 zh-CN(ybw0014) (git b2c82c2).jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.20.1.jar:git-Paper-72]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:636) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:435) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1101) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-72]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
[00:12:41] [Server thread/INFO]: [ColoredEnderChests] Disabling ColoredEnderChests vBuild 1 zh-CN(ybw0014) (git b2c82c2)
[00:12:41] [Server thread/INFO]: [SlimeTinker] Enabling SlimeTinker vBuild 45 zh-CN(ybw0014) (git e2c9ca2)
[00:12:41] [Server thread/INFO]: [SlimeTinker] ########################################
[00:12:41] [Server thread/INFO]: [SlimeTinker]          Slime Tinker  粘液匠魂          
[00:12:41] [Server thread/INFO]: [SlimeTinker]        作者: Sefiraat 汉化: ybw0014      
[00:12:41] [Server thread/INFO]: [SlimeTinker] ########################################
[00:12:42] [Server thread/WARN]: java.lang.IllegalArgumentException: No enum constant org.bukkit.Material.ZINC_INGOT
[00:12:42] [Server thread/WARN]:    at java.base/java.lang.Enum.valueOf(Enum.java:273)
[00:12:42] [Server thread/WARN]:    at org.bukkit.Material.valueOf(Material.java:121)
[00:12:42] [Server thread/WARN]:    at SlimeTinker-Build 45 zh-CN(ybw0014) (git e2c9ca2).jar//io.github.sefiraat.slimetinker.items.tinkermaterials.TinkerMaterialManager.<init>(TinkerMaterialManager.java:208)
[00:12:42] [Server thread/WARN]:    at SlimeTinker-Build 45 zh-CN(ybw0014) (git e2c9ca2).jar//io.github.sefiraat.slimetinker.SlimeTinker.enable(SlimeTinker.java:71)
[00:12:42] [Server thread/WARN]:    at SlimeTinker-Build 45 zh-CN(ybw0014) (git e2c9ca2).jar//io.github.sefiraat.slimetinker.infinitylib.core.AbstractAddon.onEnable(AbstractAddon.java:194)
[00:12:42] [Server thread/WARN]:    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281)
[00:12:42] [Server thread/WARN]:    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189)
[00:12:42] [Server thread/WARN]:    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104)
[00:12:42] [Server thread/WARN]:    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507)
[00:12:42] [Server thread/WARN]:    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:639)
[00:12:42] [Server thread/WARN]:    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:550)
[00:12:42] [Server thread/WARN]:    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:636)
[00:12:42] [Server thread/WARN]:    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:435)
[00:12:42] [Server thread/WARN]:    at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:308)
[00:12:42] [Server thread/WARN]:    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1101)
[00:12:42] [Server thread/WARN]:    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318)
[00:12:42] [Server thread/WARN]:    at java.base/java.lang.Thread.run(Thread.java:833)

[00:12:56] [Server thread/WARN]: [FoxyMachines] Task #49 for FoxyMachines vBuild 22 zh-CN(ybw0014) (git fb4eeb7) generated an exception
java.lang.NullPointerException: Cannot invoke "com.xzavier0722.mc.plugin.slimefun4.storage.controller.ControllerHolder.get(com.xzavier0722.mc.plugin.slimefun4.storage.controller.StorageType)" because the return value of "java.util.Map.get(Object)" is null
    at com.xzavier0722.mc.plugin.slimefun4.storage.controller.ControllerHolder.getController(ControllerHolder.java:12) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.thebusybiscuit.slimefun4.core.config.SlimefunDatabaseManager.getBlockDataController(SlimefunDatabaseManager.java:132) ~[Slimefun-f30bdf2-canary.jar:?]
    at me.mrCookieSlime.Slimefun.api.BlockStorage.getBlockData(BlockStorage.java:68) ~[Slimefun-f30bdf2-canary.jar:?]
    at me.mrCookieSlime.Slimefun.api.BlockStorage.getLocationInfo(BlockStorage.java:80) ~[Slimefun-f30bdf2-canary.jar:?]
    at me.gallowsdove.foxymachines.implementation.machines.ForcefieldDome.setupDomes(ForcefieldDome.java:228) ~[FoxyMachines-Build 22 zh-CN(ybw0014) (git fb4eeb7).jar:?]
    at me.gallowsdove.foxymachines.FoxyMachines.lambda$enable$0(FoxyMachines.java:73) ~[FoxyMachines-Build 22 zh-CN(ybw0014) (git fb4eeb7).jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1112) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-72]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]

[00:14:40] [Server thread/INFO]: JiangQiYan issued server command: /sf v
[00:14:40] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Cannot execute command 'sf' in plugin Slimefun vf30bdf2-canary - plugin is disabled.
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:1006) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.craftbukkit.v1_20_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.1.jar:git-Paper-72]
    at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265) ~[paper-1.20.1.jar:?]
    at net.minecraft.commands.Commands.performCommand(Commands.java:324) ~[?:?]
    at net.minecraft.commands.Commands.performCommand(Commands.java:308) ~[?:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2299) ~[?:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$20(ServerGamePacketListenerImpl.java:2259) ~[?:?]
    at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
    at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
    at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
    at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1339) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
    at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1316) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1309) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
    at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1287) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1175) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-72]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
[00:14:41] [Server thread/WARN]: [SlimeHUD] Task #3899 for SlimeHUD vBuild 8 zh-CN(SlimefunGuguProject) (git df37b14) generated an exception
java.lang.NullPointerException: Cannot invoke "com.xzavier0722.mc.plugin.slimefun4.storage.controller.ControllerHolder.get(com.xzavier0722.mc.plugin.slimefun4.storage.controller.StorageType)" because the return value of "java.util.Map.get(Object)" is null
    at com.xzavier0722.mc.plugin.slimefun4.storage.controller.ControllerHolder.getController(ControllerHolder.java:12) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.thebusybiscuit.slimefun4.core.config.SlimefunDatabaseManager.getBlockDataController(SlimefunDatabaseManager.java:132) ~[Slimefun-f30bdf2-canary.jar:?]
    at me.mrCookieSlime.Slimefun.api.BlockStorage.getBlockData(BlockStorage.java:68) ~[Slimefun-f30bdf2-canary.jar:?]
    at me.mrCookieSlime.Slimefun.api.BlockStorage.getLocationInfo(BlockStorage.java:80) ~[Slimefun-f30bdf2-canary.jar:?]
    at me.mrCookieSlime.Slimefun.api.BlockStorage.checkID(BlockStorage.java:159) ~[Slimefun-f30bdf2-canary.jar:?]
    at me.mrCookieSlime.Slimefun.api.BlockStorage.checkID(BlockStorage.java:154) ~[Slimefun-f30bdf2-canary.jar:?]
    at me.mrCookieSlime.Slimefun.api.BlockStorage.check(BlockStorage.java:137) ~[Slimefun-f30bdf2-canary.jar:?]
    at io.github.schntgaispock.slimehud.waila.PlayerWAILA.getFacing(PlayerWAILA.java:62) ~[SlimeHUD-Build 8 zh-CN(SlimefunGuguProject) (git df37b14).jar:?]
    at io.github.schntgaispock.slimehud.waila.PlayerWAILA.run(PlayerWAILA.java:84) ~[SlimeHUD-Build 8 zh-CN(SlimefunGuguProject) (git df37b14).jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-72]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1480) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1394) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1171) ~[paper-1.20.1.jar:git-Paper-72]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-72]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]

问题复现率

必现

复现步骤

预加载就会出现问题 使用未汉化的Slimefun4 - DEV 1087 (git dc22e)并没有出现这个问题

服务端类型

Paper

Minecraft 版本

1.20.x

Slimefun 版本

Slimefun-f30bdf2-canary

其他插件信息

No response

补充信息

No response

Xzavier0722 commented 1 year ago

无法复现,尝试更换服务端构建版本。 image

JiangQiYan713 commented 1 year ago

你好,使用的是paper端1.20.1

Xzavier0722 commented 1 year ago

无法复现,你报错缺少的依赖库为服务端核心本身提供。请自行确认服务端前置是否全部下载成功。

JiangQiYan713 commented 1 year ago

已解决,谢谢 原因是Mirai插件作者写的等待20秒导致服务端下载依赖库的部分进程被跳过了,已禁用此插件


[15:11:53] [Server thread/INFO]: [SpigotLibraryLoader] [GroupManager] Loaded library F:\test3server\libraries\com\google\protobuf\protobuf-java\3.19.4\protobuf-java-3.19.4.jar
[15:11:53] [Server thread/INFO]: [SpigotLibraryLoader] [GroupManager] Loaded library F:\test3server\libraries\org\mariadb\jdbc\mariadb-java-client\3.0.7\mariadb-java-client-3.0.7.jar
[15:11:53] [Server thread/INFO]: [SpigotLibraryLoader] [GroupManager] Loaded library F:\test3server\libraries\com\zaxxer\HikariCP\5.0.1\HikariCP-5.0.1.jar
[15:11:53] [Server thread/INFO]: [SpigotLibraryLoader] [GroupManager] Loaded library F:\test3server\libraries\org\slf4j\slf4j-api\2.0.0\slf4j-api-2.0.0.jar
[15:11:53] [Server thread/INFO]: [MiraiMC] Preparing MiraiMC start-up.
[15:11:53] [Server thread/ERROR]: [MiraiMC Preload Checker] ========================================
[15:11:53] [Server thread/ERROR]: [MiraiMC Preload Checker] 喜欢用Notepad++,拦不住的
[15:11:53] [Server thread/ERROR]: [MiraiMC Preload Checker] 建议使用 Visual Studio Code 或 Sublime
[15:11:53] [Server thread/ERROR]: [MiraiMC Preload Checker] VSCode: https://code.visualstudio.com/
[15:11:53] [Server thread/ERROR]: [MiraiMC Preload Checker] Sublime: https://www.sublimetext.com/
[15:11:53] [Server thread/ERROR]: [MiraiMC Preload Checker] 不要向MiraiMC作者寻求任何帮助。
[15:11:53] [Server thread/ERROR]: [MiraiMC Preload Checker] 进程将在20秒后继续运行
[15:11:53] [Server thread/ERROR]: [MiraiMC Preload Checker] ========================================
[15:12:13] [Server thread/INFO]: [MiraiMC] Start-up tasks finished.
[15:12:13] [Server thread/WARN]: [org.bukkit.craftbukkit.v1_20_R1.legacy.CraftLegacy] Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
[15:12:15] [Server thread/WARN]: Legacy plugin MailBox v3.1.1 does not specify an api-version.
[15:12:15] [Server thread/INFO]: [SpigotLibraryLoader] [HuskHomes] Loading 4 libraries... please wait
[15:12:15] [Server thread/INFO]: [SpigotLibraryLoader] [HuskHomes] Loaded library F:\test3server\libraries\redis\clients\jedis\4.3.1\jedis-4.3.1.jar
[15:12:15] [Server thread/INFO]: [SpigotLibraryLoader] [HuskHomes] Loaded library F:\test3server\libraries\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar
StarWishsama commented 1 year ago

Follow up notice: MiraiMC 会影响 Slimefun 加载数据库驱动,Insider 版现已修复