SlimefunGuguProject / Slimefun4

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

货运系统无法使用,重启后无法加载鬼斩前置库插件 #961

Closed fenglaosir closed 1 month ago

fenglaosir commented 1 month ago

问题描述

在游戏中突然出现了货运系统无法使用的情况,并且后台报错 [Slimefun] An Exception was caught while ticking a Cargo network @ BlockPosition(world=world, x=320, y=65, z=-127, position=88235807608897),在这之后,重启服务器,发现大量插件无法加载,提示本插件需要 鬼斩前置库插件(GuizhanLibPlugin) 才能运行!(已经确认安装了鬼斩前置库插件,并且在此之前插件都能正常加载) 有关于GuizhanLibPlugin的报错: 18:33:09 错误]: Fatal error trying to convert GuizhanLibPlugin vBuild 54 (git 6a278b5):net/guizhanss/minecraft/guizhanlib/GuizhanLib.class java.lang.IllegalArgumentException: Unsupported class file major version 65 at org.objectweb.asm.ClassReader.(ClassReader.java:199) ~[asm-9.4.jar:9.4] at org.objectweb.asm.ClassReader.(ClassReader.java:180) ~[asm-9.4.jar:9.4] at org.objectweb.asm.ClassReader.(ClassReader.java:166) ~[asm-9.4.jar:9.4] at org.bukkit.craftbukkit.v1_20_R1.util.Commodore.convert(Commodore.java:171) ~[purpur-1.20.1.jar:git-Purpur-2018] at org.bukkit.craftbukkit.v1_20_R1.util.CraftMagicNumbers.processClass(CraftMagicNumbers.java:403) ~[purpur-1.20.1.jar:git-Purpur-2018] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:209) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:157) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:152) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] at java.lang.Class.forName0(Native Method) ~[?:?] at java.lang.Class.forName(Class.java:467) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:78) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:123) ~[purpur-1.20.1.jar:git-Purpur-2018] at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[purpur-1.20.1.jar:git-Purpur-2018] at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[purpur-1.20.1.jar:git-Purpur-2018] at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[purpur-1.20.1.jar:git-Purpur-2018] at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[purpur-1.20.1.jar:git-Purpur-2018] at org.bukkit.craftbukkit.v1_20_R1.CraftServer.loadPlugins(CraftServer.java:521) ~[purpur-1.20.1.jar:git-Purpur-2018] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:310) ~[purpur-1.20.1.jar:git-Purpur-2018] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1117) ~[purpur-1.20.1.jar:git-Purpur-2018] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.1.jar:git-Purpur-2018] at java.lang.Thread.run(Thread.java:833) ~[?:?] [18:33:09 错误]: [ModernPluginLoadingStrategy] Could not load plugin 'GuizhanLibPlugin-Build 54 (git 6a278b5).jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/guizhanss/minecraft/guizhanlib/GuizhanLib has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0 at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:127) ~[purpur-1.20.1.jar:git-Purpur-2018] at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[purpur-1.20.1.jar:git-Purpur-2018] at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[purpur-1.20.1.jar:git-Purpur-2018] at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[purpur-1.20.1.jar:git-Purpur-2018] at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[purpur-1.20.1.jar:git-Purpur-2018] at org.bukkit.craftbukkit.v1_20_R1.CraftServer.loadPlugins(CraftServer.java:521) ~[purpur-1.20.1.jar:git-Purpur-2018] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:310) ~[purpur-1.20.1.jar:git-Purpur-2018] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1117) ~[purpur-1.20.1.jar:git-Purpur-2018] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.1.jar:git-Purpur-2018] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.UnsupportedClassVersionError: net/guizhanss/minecraft/guizhanlib/GuizhanLib has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0 at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?] at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:232) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:157) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:152) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] at java.lang.Class.forName0(Native Method) ~[?:?] at java.lang.Class.forName(Class.java:467) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:78) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:123) ~[purpur-1.20.1.jar:git-Purpur-2018] ... 9 more

问题复现率

低偶发

复现步骤

首先需要遇到货运系统无法使用的情况,具体原因不明,情况大概是在有大量的货运系统附近使用了一个“时间洪流怀表”后出现的情况。之后,重启服务器,就会出现鬼斩前置库无法加载的情况。

服务端类型

Purpur

Minecraft 版本

1.20.x

Slimefun 版本

Slimefun 0021742-Beta

其他插件信息

微信截图_20241005185219 微信截图_20241005185301 微信截图_20241005185314 微信截图_20241005185327 微信截图_20241005185339 微信截图_20241005185356

补充信息

No response

StarWishsama commented 1 month ago

你的服务端不支持 Java 21 的插件,请更新服务端。