Nova-Committee / McBot

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

[Bug/漏洞] 2.1.9.1版本1.16.5 forge无法加载mod #131

Open GADDQ opened 9 months ago

GADDQ commented 9 months ago

Checks / 检查

Java Version / Java版本

8u282

Minecraft Version / Minecraft版本

1.16.5

McBot Version / McBot版本

2.1.9.1

Description / 描述

如标题

To Reproduce / 重现

启动游戏

Log / 日志

Details: Caused by 0: java.lang.NoClassDefFoundError: cn/evole/onebot/sdk/util/FileUtils at cn.evole.mods.mcbot.IMcBot.init(IMcBot.java:46) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.IMcBot.(IMcBot.java:41) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.McBot.(McBot.java:29) ~[mcbot:?] {re:classloading} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_282] {} at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_282] {} at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_282] {} at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_282] {} at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_282] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:67) ~[forge:36.2] {re:classloading} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:106) ~[forge:?] {re:classloading} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) ~[?:1.8.0_282] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_282] {re:computing_frames} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) ~[?:1.8.0_282] {}

Mod File: [群服互联] McBot-forge-1.16.x-2.1.9.1.jar
Failure message: McBot-forge (mcbot) has failed to load correctly
    java.lang.NoClassDefFoundError: cn/evole/onebot/sdk/util/FileUtils
Mod Version: 2.1.9.1
Mod Issue URL: NOT PROVIDED
Exception message: java.lang.ClassNotFoundException: cn.evole.onebot.sdk.util.FileUtils

Stacktrace: at java.lang.ClassLoader.findClass(ClassLoader.java:524) ~[?:1.8.0_282] {} at java.lang.ClassLoader.loadClass(ClassLoader.java:419) ~[?:1.8.0_282] {} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:106) ~[modlauncher-8.1.3.jar:?] {re:classloading} at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ~[?:1.8.0_282] {} at cn.evole.mods.mcbot.IMcBot.init(IMcBot.java:46) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.IMcBot.(IMcBot.java:41) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.McBot.(McBot.java:29) ~[mcbot:?] {re:classloading} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_282] {} at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_282] {} at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_282] {} at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_282] {} at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_282] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:67) ~[forge:36.2] {re:classloading} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:106) ~[forge:?] {re:classloading} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) ~[?:1.8.0_282] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_282] {re:computing_frames} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) ~[?:1.8.0_282] {}

Config / 配置

配置不用看,启动都启动不了,已经和配置没有关系了

GADDQ commented 9 months ago

@cnlimiter

GADDQ commented 9 months ago

手动混合onebot后的包启动: Details: Caused by 0: java.lang.NoClassDefFoundError: cn/evole/config/toml/AutoReloadToml at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_282] {} at java.lang.ClassLoader.defineClass(ClassLoader.java:757) ~[?:1.8.0_282] {} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:138) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.1.3.jar:?] {re:classloading} at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ~[?:1.8.0_282] {} at cn.evole.mods.mcbot.util.locale.I18n.init(I18n.java:28) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.IMcBot.init(IMcBot.java:48) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.IMcBot.(IMcBot.java:41) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.McBot.(McBot.java:29) ~[mcbot:?] {re:classloading} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_282] {} at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_282] {} at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_282] {} at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_282] {} at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_282] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:67) ~[forge:36.2] {re:classloading} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:106) ~[forge:?] {re:classloading} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) ~[?:1.8.0_282] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_282] {re:computing_frames} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) ~[?:1.8.0_282] {}

Mod File: [群服互联] McBot-forge-1.16.x-2.1.9.1.jar
Failure message: McBot-forge (mcbot) has failed to load correctly
    java.lang.NoClassDefFoundError: cn/evole/config/toml/AutoReloadToml
Mod Version: 2.1.9.1
Mod Issue URL: NOT PROVIDED
Exception message: java.lang.ClassNotFoundException: cn.evole.config.toml.AutoReloadToml

Stacktrace: at java.lang.ClassLoader.findClass(ClassLoader.java:524) ~[?:1.8.0_282] {} at java.lang.ClassLoader.loadClass(ClassLoader.java:419) ~[?:1.8.0_282] {} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:106) ~[modlauncher-8.1.3.jar:?] {re:classloading} at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ~[?:1.8.0_282] {} at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_282] {} at java.lang.ClassLoader.defineClass(ClassLoader.java:757) ~[?:1.8.0_282] {} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:138) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.1.3.jar:?] {re:classloading} at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ~[?:1.8.0_282] {} at cn.evole.mods.mcbot.util.locale.I18n.init(I18n.java:28) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.IMcBot.init(IMcBot.java:48) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.IMcBot.(IMcBot.java:41) ~[mcbot:?] {re:classloading} at cn.evole.mods.mcbot.McBot.(McBot.java:29) ~[mcbot:?] {re:classloading} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_282] {} at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_282] {} at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_282] {} at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_282] {} at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_282] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:67) ~[forge:36.2] {re:classloading} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:106) ~[forge:?] {re:classloading} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) ~[?:1.8.0_282] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_282] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_282] {re:computing_frames} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) ~[?:1.8.0_282] {}

cnlimiter commented 9 months ago

1.16.5的jar in jar暂不支持修复

cnlimiter commented 9 months ago

下个版本依赖采用网络下载模式