Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug/漏洞] #166

Open
3 tasks done
FoxaXuDecvin opened this issue Sep 3, 2024 · 2 comments
Open
3 tasks done

[Bug/漏洞] #166

FoxaXuDecvin opened this issue Sep 3, 2024 · 2 comments

Comments

@FoxaXuDecvin
Copy link

FoxaXuDecvin commented Sep 3, 2024

Checks / 检查

  • I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
  • I confirm that I followed the Docs and read the Changelog, but this problem still exists./我确认我按照文档配置并阅读了Changelog,但这个问题仍然存在。
  • I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。

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:
- fabric-api 0.101.2+1.21
|-- fabric-api-base 0.4.42+6573ed8cd1
|-- fabric-api-lookup-api-v1 1.6.68+b5597344d1
|-- fabric-biome-api-v1 13.0.29+5bd9f1bcd1
|-- fabric-block-api-v1 1.0.22+0af3f5a7d1
|-- fabric-block-view-api-v2 1.0.10+6573ed8cd1
|-- fabric-blockrenderlayer-v1 1.1.52+0af3f5a7d1
|-- fabric-client-tags-api-v1 1.1.15+6573ed8cd1
|-- fabric-command-api-v1 1.2.49+f71b366fd1
|-- fabric-command-api-v2 2.2.28+6ced4dd9d1
|-- fabric-commands-v0 0.2.66+df3654b3d1
|-- fabric-content-registries-v0 8.0.16+b5597344d1
|-- fabric-convention-tags-v1 2.0.19+7f945d5bd1
|-- fabric-convention-tags-v2 2.5.0+c5e2b5c6d1
|-- fabric-crash-report-info-v1 0.2.29+0af3f5a7d1
|-- fabric-data-attachment-api-v1 1.1.26+6a6dfa19d1
|-- fabric-data-generation-api-v1 20.2.16+16c4ae25d1
|-- fabric-dimensions-v1 4.0.0+6fc22b99d1
|-- fabric-entity-events-v1 1.6.12+6fc22b99d1
|-- fabric-events-interaction-v0 0.7.12+ba9dae06d1
|-- fabric-game-rule-api-v1 1.0.53+6ced4dd9d1
|-- fabric-item-api-v1 11.0.0+afdfc921d1
|-- fabric-item-group-api-v1 4.1.4+78017270d1
|-- fabric-key-binding-api-v1 1.0.47+0af3f5a7d1
|-- fabric-keybindings-v0 0.2.45+df3654b3d1
|-- fabric-lifecycle-events-v1 2.3.12+6c1df360d1
|-- fabric-loot-api-v2 3.0.14+3f89f5a5d1
|-- fabric-loot-api-v3 1.0.2+3f89f5a5d1
|-- fabric-message-api-v1 6.0.13+6573ed8cd1
|-- fabric-model-loading-api-v1 2.0.0+fe474d6bd1
|-- fabric-networking-api-v1 4.2.2+60c3209bd1
|-- fabric-object-builder-api-v1 15.1.14+d1321076d1
|-- fabric-particles-v1 4.0.2+6573ed8cd1
|-- fabric-recipe-api-v1 5.0.12+65089712d1
|-- fabric-registry-sync-v0 5.1.2+60c3209bd1
|-- fabric-renderer-api-v1 3.4.0+c705a49cd1
|-- fabric-renderer-indigo 1.7.0+c705a49cd1
|-- fabric-renderer-registries-v1 3.2.68+df3654b3d1
|-- fabric-rendering-data-attachment-v1 0.3.48+73761d2ed1
|-- fabric-rendering-fluids-v1 3.1.6+b5597344d1
|-- fabric-rendering-v0 1.1.71+df3654b3d1
|-- fabric-rendering-v1 5.0.5+df16efd0d1
|-- fabric-resource-conditions-api-v1 4.3.0+8dc279b1d1
|-- fabric-resource-loader-v0 1.3.0+56599129d1
|-- fabric-screen-api-v1 2.0.24+b5597344d1
|-- fabric-screen-handler-api-v1 1.3.86+b5597344d1
|-- fabric-sound-api-v1 1.0.23+6573ed8cd1
|-- fabric-transfer-api-v1 5.1.16+3dccd343d1
-- fabric-transitive-access-wideners-v1 6.1.0+176f9036d1
- fabricloader 0.16.3
-- mixinextras 0.4.1
- java 22
- mcbot 2.2.1.2
-- mcbot_1_21 2.2.1.2
|-- dev_vankka_dependencydownload-common 1.3.1
-- dev_vankka_dependencydownload-runtime 1.3.1
- minecraft 1.21
[16:36:54] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/D:/Game/sbot/libraries/net/fabricmc/sponge-mixin/0.15.2+mixin.0.8.7/sponge-mixin-0.15.2+mixin.0.8.7.jar Service=Knot/Fabric Env=SERVER
[16:36:54] [main/INFO]: Compatibility level set to JAVA_17
[16:36:55] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1).
[16:36:57] [main/WARN]: Invalid registry value type detected for PerfOS counters. Should be REG_DWORD. Ignoring: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance\Disable Performance Counters.
[16:38:00] [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 'cn.evole.mods.mcbot.McBot'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403) ~[fabric-loader-0.16.3.jar:?]
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.16.3.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401) ~[fabric-loader-0.16.3.jar:?]
at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63) ~[fabric-loader-0.16.3.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.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.16.3.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.16.3.jar:?]
at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) [fabric-server-mc.1.21-loader.0.16.3-launcher.1.0.1.jar:1.0.1]
Caused by: java.lang.RuntimeException: Failed to load dependency cn.evole.onebot:OneBot-Client:0.4.0
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:1570) ~[?:?]
Caused by: java.io.UncheckedIOException: java.nio.file.NoSuchFileException: D:\Game\sbot\mcbot\libs\cn.evole.onebot-OneBot-Client-0.4.0.jar
at net.fabricmc.loader.impl.util.LoaderUtil.normalizeExistingPath(LoaderUtil.java:46) ~[fabric-loader-0.16.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.setAllowedPrefixes(KnotClassDelegate.java:157) ~[fabric-loader-0.16.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.addToClassPath(Knot.java:272) ~[fabric-loader-0.16.3.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:1570) ~[?:?]
Caused by: java.nio.file.NoSuchFileException: D:\Game\sbot\mcbot\libs\cn.evole.onebot-OneBot-Client-0.4.0.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:944) ~[?:?]
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.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.setAllowedPrefixes(KnotClassDelegate.java:157) ~[fabric-loader-0.16.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.addToClassPath(Knot.java:272) ~[fabric-loader-0.16.3.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:1570) ~[?:?]

Config / 配置

配置文件没有生成

@XSqjm
Copy link

XSqjm commented Sep 3, 2024

[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
Copy link

同样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants