@cssxsh 好的,我尝试删除了mirai-native的空白config,启动后mcl的config重新生成了,再次修改之后问题解决。感谢帮助。
D
Darkgreen-DM 发布的帖子
-
RE: 一直提示 mcl 已升级请重新启动
-
RE: 一直提示 mcl 已升级请重新启动
@cssxsh 我更改的确实是mcl的config.json,和之前手动升级2.13.0时改的是同一个。
{ "module_packages": [ "mcl:org.itxtech.mcl.module.builtin" ], "mirai_repo": "https://repo.mirai.mamoe.net/keep/mcl", "maven_repo": [ "https://repo.huaweicloud.com/repository/maven", "https://repo1.maven.org/maven2", "https://maven.aliyun.com/repository/public" ], "packages": { "net.mamoe:mirai-console": { "channel": "maven-stable", "version": "2.13.0", "type": "libs", "versionLocked": false }, "net.mamoe:mirai-console-terminal": { "channel": "maven-stable", "version": "2.13.0", "type": "libs", "versionLocked": false }, "net.mamoe:mirai-core-all": { "channel": "maven-stable", "version": "2.13.0", "type": "libs", "versionLocked": false }, "org.itxtech:mcl-addon": { "channel": "maven-stable", "version": "2.1.0", "type": "plugins", "versionLocked": false }, "org.bouncycastle:bcprov-jdk15on": { "channel": "stable", "version": "1.64", "type": "libs", "versionLocked": false } }, "archiveSuffix": [ ".zip", ".mirai2.jar", ".mirai.jar", "-all.jar", ".jar" ], "disabled_modules": [], "proxy": "", "log_level": 1, "modules_props": {} }
-
RE: 一直提示 mcl 已升级请重新启动
@cssxsh 具体的内容是
E/MiraiNative: kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the object '{', but had 'EOF' instead at path: $ JSON input: kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the object '{', but had 'EOF' instead at path: $ JSON input: at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24) at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail(AbstractJsonLexer.kt:528) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$default(AbstractJsonLexer.kt:526) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json(AbstractJsonLexer.kt:224) at kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken(AbstractJsonLexer.kt:207) at kotlinx.serialization.json.internal.StringJsonLexer.consumeNextToken(StringJsonLexer.kt:76) at kotlinx.serialization.json.internal.StreamingJsonDecoder.beginStructure(StreamingJsonDecoder.kt:47) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.Configuration$$serializer.deserialize(Configuration.kt:83) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.Configuration$$serializer.deserialize(Configuration.kt:83) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:38) at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.ConfigMan$config$2.invoke(Configuration.kt:38) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.ConfigMan$config$2.invoke(Configuration.kt:36) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.ConfigMan.getConfig(Configuration.kt:36) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.ui.Tray.update$lambda$32$lambda$9$lbl$7(Tray.kt:109) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.ui.Tray.update(Tray.kt:110) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.ui.Tray.create(Tray.kt:57) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.MiraiNative.onEnable(MiraiNative.kt:167) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:131) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:305) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:175) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:336) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:508) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:177) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:176) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:54) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.itxtech.mcl.Utility.bootJars(Utility.java:86) at org.itxtech.mcl.Utility.bootJars(Utility.java:76) at org.itxtech.mcl.Utility.bootMirai(Utility.java:98) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:196) at org.itxtech.mcl.Loader.main(Loader.java:84) E/MiraiNative: Exception in coroutine Plugin org.itxtech.mirainative of MiraiNative kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the object '{', but had 'EOF' instead at path: $ JSON input: at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24) at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail(AbstractJsonLexer.kt:528) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$default(AbstractJsonLexer.kt:526) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json(AbstractJsonLexer.kt:224) at kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken(AbstractJsonLexer.kt:207) at kotlinx.serialization.json.internal.StringJsonLexer.consumeNextToken(StringJsonLexer.kt:76) at kotlinx.serialization.json.internal.StreamingJsonDecoder.beginStructure(StreamingJsonDecoder.kt:47) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.Configuration$$serializer.deserialize(Configuration.kt:83) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.Configuration$$serializer.deserialize(Configuration.kt:83) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:38) at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.ConfigMan$config$2.invoke(Configuration.kt:38) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.ConfigMan$config$2.invoke(Configuration.kt:36) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.ConfigMan.getConfig(Configuration.kt:36) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.bridge.NativeBridge.updateInfo(NativeBridge.kt:84) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.manager.PluginManager.loadPlugin(PluginManager.kt:136) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.manager.PluginManager$readPlugin$2.invokeSuspend(PluginManager.kt:103) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) E/MiraiNative: Exception in coroutine Plugin org.itxtech.mirainative of MiraiNative kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the object '{', but had 'EOF' instead at path: $ JSON input: at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24) at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail(AbstractJsonLexer.kt:528) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$default(AbstractJsonLexer.kt:526) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json(AbstractJsonLexer.kt:224) at kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken(AbstractJsonLexer.kt:207) at kotlinx.serialization.json.internal.StringJsonLexer.consumeNextToken(StringJsonLexer.kt:76) at kotlinx.serialization.json.internal.StreamingJsonDecoder.beginStructure(StreamingJsonDecoder.kt:47) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.Configuration$$serializer.deserialize(Configuration.kt:83) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.Configuration$$serializer.deserialize(Configuration.kt:83) at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:38) at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.ConfigMan$config$2.invoke(Configuration.kt:38) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.ConfigMan$config$2.invoke(Configuration.kt:36) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.util.ConfigMan.getConfig(Configuration.kt:36) at mirai-native-2.0.0.mirai2.jar//org.itxtech.mirainative.MiraiNative$onEnable$3.invokeSuspend(MiraiNative.kt:185) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
-
RE: 一直提示 mcl 已升级请重新启动
@cssxsh 大佬我加上后会出现
E/MiraiNative: Exception in coroutine Plugin org.itxtech.mirainative of MiraiNative kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the object '{', but had 'EOF' instead at path: $
等一系列错误,我使用的是您的
mirai-native cssxsh编译修复版.zip