Nova-Committee / McBot

A mod allowed you to connect minecraft and QQ
Other
137 stars 18 forks source link

[Bug/漏洞] #166

Open FoxaXuDecvin opened 2 months ago

FoxaXuDecvin commented 2 months ago

Checks / 检查

Java Version / Java版本

1.21

Minecraft Version / Minecraft版本

java version "22.0.1" 2024-04-16

McBot Version / McBot版本

McBot-fabric-2.2.1.2 fix-1 from curseforge

Description / 描述

加入Fabric 服务器后无法启动服务器,移除后服务器恢复正常 确定是由MCBOT模组引起的问题 启动后直接报错,存档没有被加载

To Reproduce / 重现

java版本 java version "22.0.1" 2024-04-16 mcbot版本 McBot-fabric-2.2.1.2 fix 1 MC版本 1.21 fabric 服务端版本 fabric-server-mc.1.21-loader.0.16.3-launcher.1.0.1

Log / 日志

Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture [16:36:53] [main/INFO]: Loading Minecraft 1.21 with Fabric Loader 0.16.3 [16:36:53] [main/INFO]: Loading 45 mods:

Config / 配置

配置文件没有生成

XSqjm commented 2 months ago

[21:18:51] [main/ERROR]: Failed to start the minecraft server java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'mcbot_1_21'! at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403) ~[fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401) ~[fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63) ~[fabric-loader-0.16.0.jar:?] at net.minecraft.server.Main.main(Main.java:111) [server-intermediary.jar:?] at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.16.0.jar:?] at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) [fabric-server-mc.1.21-loader.0.16.0-launcher.1.0.1.jar:1.0.1] Caused by: java.lang.RuntimeException: Failed to load dependency cn.evole.config:AtomConfig-Toml:0.1.5 at dev.vankka.dependencydownload.DependencyManager.lambda$load$5(DependencyManager.java:317) ~[dev_vankka_dependencydownload-runtime-1.3.1-dc98fb85327265df.jar:?] at dev.vankka.dependencydownload.DependencyManager.lambda$forEachDependency$8(DependencyManager.java:402) ~[dev_vankka_dependencydownload-runtime-1.3.1-dc98fb85327265df.jar:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.io.UncheckedIOException: java.nio.file.NoSuchFileException: E:\Alpha-server\mcbot\libs\cn.evole.config-AtomConfig-Toml-0.1.5.jar at net.fabricmc.loader.impl.util.LoaderUtil.normalizeExistingPath(LoaderUtil.java:46) ~[fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.setAllowedPrefixes(KnotClassDelegate.java:157) ~[fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.addToClassPath(Knot.java:272) ~[fabric-loader-0.16.0.jar:?] at cn.evole.mods.mcbot.util.lib.FabricClasspathAppender.appendFileToClasspath(FabricClasspathAppender.java:21) ~[mcbot_1_21-2.2.1.2-a24d6da3f6f630db.jar:?] at dev.vankka.dependencydownload.DependencyManager.loadDependency(DependencyManager.java:514) ~[dev_vankka_dependencydownload-runtime-1.3.1-dc98fb85327265df.jar:?] at dev.vankka.dependencydownload.DependencyManager.lambda$load$4(DependencyManager.java:316) ~[dev_vankka_dependencydownload-runtime-1.3.1-dc98fb85327265df.jar:?] at dev.vankka.dependencydownload.DependencyManager.lambda$forEachDependency$8(DependencyManager.java:398) ~[dev_vankka_dependencydownload-runtime-1.3.1-dc98fb85327265df.jar:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.nio.file.NoSuchFileException: E:\Alpha-server\mcbot\libs\cn.evole.config-AtomConfig-Toml-0.1.5.jar at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?] at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:96) ~[?:?] at java.base/sun.nio.fs.WindowsLinkSupport.getRealPath(WindowsLinkSupport.java:288) ~[?:?] at java.base/sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:947) ~[?:?] at java.base/sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:42) ~[?:?] at net.fabricmc.loader.impl.util.LoaderUtil.normalizeExistingPath(LoaderUtil.java:44) ~[fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.setAllowedPrefixes(KnotClassDelegate.java:157) ~[fabric-loader-0.16.0.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.addToClassPath(Knot.java:272) ~[fabric-loader-0.16.0.jar:?] at cn.evole.mods.mcbot.util.lib.FabricClasspathAppender.appendFileToClasspath(FabricClasspathAppender.java:21) ~[mcbot_1_21-2.2.1.2-a24d6da3f6f630db.jar:?] at dev.vankka.dependencydownload.DependencyManager.loadDependency(DependencyManager.java:514) ~[dev_vankka_dependencydownload-runtime-1.3.1-dc98fb85327265df.jar:?] at dev.vankka.dependencydownload.DependencyManager.lambda$load$4(DependencyManager.java:316) ~[dev_vankka_dependencydownload-runtime-1.3.1-dc98fb85327265df.jar:?] at dev.vankka.dependencydownload.DependencyManager.lambda$forEachDependency$8(DependencyManager.java:398) ~[dev_vankka_dependencydownload-runtime-1.3.1-dc98fb85327265df.jar:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] 这还有后续,反正就是1.21的适配根本没做,前面的版本都能用,就这边。。。

Konghe-cn commented 1 month ago

同样的问题

GengarP commented 1 week ago

一样