You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[22:05:41 INFO]: Enabling MiraiMC v1.4-pre1
[22:05:41 INFO]: Mirai working dir: default
[22:05:41 INFO]: Starting Mirai-Events listener.
[22:05:42 ERROR]: Error occurred while enabling MiraiMC v1.4-pre1 (Is it up to date?)
java.lang.LinkageError: loader constraint violation in interface itable initialization for class net.mamoe.mirai.internal.event.Handler: when selecting method 'java.lang.Object kotlin.coroutines.CoroutineContext.fold(java.lang.Object, kotlin.jvm.functions.Function2)' the class loader 'app' for super interface kotlin.coroutines.CoroutineContext, and the class loader 'MiraiMC-release.jar' @1f38cf4 of the selected method's class, net.mamoe.mirai.internal.event.Handler have different Class objects for the type kotlin.jvm.functions.Function2 used in the signature (kotlin.coroutines.CoroutineContext is in unnamed module of loader 'app'; net.mamoe.mirai.internal.event.Handler is in unnamed module of loader 'MiraiMC-release.jar' @1f38cf4, parent loader 'app')
at net.mamoe.mirai.event.EventChannel.createListener(EventChannel.kt:606) ~[MiraiMC-release.jar:?]
at net.mamoe.mirai.event.EventChannel.subscribeAlways(EventChannel.kt:511) ~[MiraiMC-release.jar:?]
at net.mamoe.mirai.event.EventChannel.subscribeAlways$default(EventChannel.kt:503) ~[MiraiMC-release.jar:?]
at net.mamoe.mirai.event.EventChannel.subscribeAlways(EventChannel.kt) ~[MiraiMC-release.jar:?]
at me.dreamvoid.miraimc.bukkit.MiraiEvent.startListenEvent(MiraiEvent.java:81) ~[MiraiMC-release.jar:?]
at me.dreamvoid.miraimc.bukkit.BukkitPlugin.onEnable(BukkitPlugin.java:42) ~[MiraiMC-release.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:529) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:443) ~[patched_1.17.1.jar:git-Paper-172]
at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:639) ~[patched_1.17.1.jar:git-Paper-172]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:306) ~[patched_1.17.1.jar:git-Paper-172]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1126) ~[patched_1.17.1.jar:git-Paper-172]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[patched_1.17.1.jar:git-Paper-172]
at java.lang.Thread.run(Thread.java:831) [?:?]
[22:05:42 INFO]: Disabling MiraiMC v1.4-pre1
[22:05:42 INFO]: Stopping bot event listener.
[22:05:42 ERROR]: Error occurred while disabling MiraiMC v1.4-pre1 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "net.mamoe.mirai.event.Listener.complete()" because "this.BotOnlineListener" is null
at me.dreamvoid.miraimc.bukkit.MiraiEvent.stopListenEvent(MiraiEvent.java:160) ~[MiraiMC-release.jar:?]
at me.dreamvoid.miraimc.bukkit.BukkitPlugin.onDisable(BukkitPlugin.java:94) ~[MiraiMC-release.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:405) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:533) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:529) ~[patched_1.17.1.jar:git-Paper-172]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:443) ~[patched_1.17.1.jar:git-Paper-172]
at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:639) ~[patched_1.17.1.jar:git-Paper-172]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:306) ~[patched_1.17.1.jar:git-Paper-172]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1126) ~[patched_1.17.1.jar:git-Paper-172]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[patched_1.17.1.jar:git-Paper-172]
at java.lang.Thread.run(Thread.java:831) [?:?]
The text was updated successfully, but these errors were encountered:
问题描述
如标题,我实在不知道怎么回事。
复现方法
版本类型
服务器日志
(节选)
The text was updated successfully, but these errors were encountered: