@tsudzuki 为什么bot在高频使用的时候会发疯啊)胡乱结束赌局,胡乱走火枪毙
F
FridayAnubis 发布的最佳帖子
FridayAnubis 发布的最新帖子
-
启动后自动登录失效,且无法手动登录bot
mirai为目前最新版本,能够正常启动
成功启动后自动登录未生效
手动登录则有如下报错:
Login failed: Received packet returnCode = -10003, which may mean session expired. 2022-11-20 15:28:23 E/console: java.lang.IllegalStateException: Received packet returnCode = -10003, which may mean session expired. java.lang.IllegalStateException: Received packet returnCode = -10003, which may mean session expired. at net.mamoe.mirai.internal.network.components.PacketCodecException.<init>(PacketCodec.kt:72) at net.mamoe.mirai.internal.network.components.PacketCodecImpl.parseSsoFrame(PacketCodec.kt:178) at net.mamoe.mirai.internal.network.components.PacketCodecImpl.decodeRaw(PacketCodec.kt:127) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.decodePacket(CommonNetworkHandler.kt:148) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$decodePacket(CommonNetworkHandler.kt:102) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:125) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:833) Suppressed: net.mamoe.mirai.internal.network.components.PacketCodecException: java.lang.IllegalStateException: Received packet returnCode = -10003, which may mean session expired. ... 14 more Caused by: [CIRCULAR REFERENCE: java.lang.IllegalStateException: Received packet returnCode = -10003, which may mean session expired.]
-
RE: Meme Helper 表情包生成器,游戏王,幻影坦克,支持Termux
Mirai 版本 2.13.0
Meme Helper 版本 v1.1.5
启动时出现以下报错:
2022-11-13 19:11:09 E/main: Failed to init MiraiConsole. net.mamoe.mirai.console.plugin.loader.PluginLoadException: Exception while loading meme-helper v1.1.5 at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:285) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadPluginNoEnable(PluginManagerImpl.kt:90) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:146) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:279) 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(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) 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) Caused by: java.lang.NoClassDefFoundError: io/ktor/client/plugins/compression/ContentEncodingKt at meme-helper-1.1.5.jar//xyz.cssxsh.mirai.meme.ContextKt$http$1.invoke(Context.kt:36) at meme-helper-1.1.5.jar//xyz.cssxsh.mirai.meme.ContextKt$http$1.invoke(Context.kt:34) at io.ktor.client.HttpClientKt.HttpClient(HttpClient.kt:40) at meme-helper-1.1.5.jar//xyz.cssxsh.mirai.meme.ContextKt.<clinit>(Context.kt:34) at meme-helper-1.1.5.jar//xyz.cssxsh.mirai.meme.MemeHelperPlugin.onLoad(MemeHelperPlugin.kt:26) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnLoad$mirai_console(JvmPluginInternal.kt:248) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:283) ... 23 more Caused by: java.lang.ClassNotFoundException: io.ktor.client.plugins.compression.ContentEncodingKt at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.loadClass(JvmPluginClassLoader.kt:435) ... 30 more
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
最近运行时报错:
2022-04-16 02:29:14 W/DrawMeme: Linked class org.jetbrains.skia.TextLine in SkikoMirai-1.0.1.mirai.jar but plugin not depend on it. 2022-04-16 02:29:14 W/DrawMeme: Class loading logic may change in feature. 2022-04-16 02:29:14 E/DrawMeme: Exception in coroutine Plugin org.laolittle.plugin.draw.DrawMeme of DrawMeme java.lang.Error: Unknown arch x86 at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skiko.OsArch_jvmKt$hostArch$2.invoke(OsArch.jvm.kt:19) at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skiko.OsArch_jvmKt$hostArch$2.invoke(OsArch.jvm.kt:14) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skiko.OsArch_jvmKt.getHostArch(OsArch.jvm.kt:14) at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skiko.OsArch_jvmKt$hostId$2.invoke(OsArch.jvm.kt:24) at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skiko.OsArch_jvmKt$hostId$2.invoke(OsArch.jvm.kt:23) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skiko.OsArch_jvmKt.getHostId(OsArch.jvm.kt:23) at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skiko.Library.findAndLoad(Library.kt:73) at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skiko.Library.load(Library.kt:59) at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skia.impl.Library$Companion.staticLoad(Library.jvm.kt:12) at SkikoMirai-1.0.1.mirai.jar//org.jetbrains.skia.TextLine.<clinit>(TextLine.kt:17) at DrawMeme-1.0.2-fix.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$1.invokeSuspend(DrawMeme.kt:61) at DrawMeme-1.0.2-fix.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$1.invoke(DrawMeme.kt) at DrawMeme-1.0.2-fix.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$1.invoke(DrawMeme.kt) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$startsWithImpl$2.invokeSuspend(messageSubscribersInternal.kt:58) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$startsWithImpl$2.invoke(messageSubscribersInternal.kt) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$startsWithImpl$2.invoke(messageSubscribersInternal.kt) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invokeSuspend(messageSubscribersInternal.kt:27) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt) at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt) at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invokeSuspend(subscribeMessages.kt:253) at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt) at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:455) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50) at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt) at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50) at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166) at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115) at net.mamoe.mirai.event._EventBroadcast.broadcastImpl(Event.kt:174) at net.mamoe.mirai.IMirai.broadcastEvent(IMirai.kt:318) at net.mamoe.mirai.internal.MiraiImpl.broadcastEvent$suspendImpl(MiraiImpl.kt:308) at net.mamoe.mirai.internal.MiraiImpl.broadcastEvent(MiraiImpl.kt) at net.mamoe.mirai.event._EventBroadcast.broadcastPublic$suspendImpl(Event.kt:161) at net.mamoe.mirai.event._EventBroadcast.broadcastPublic(Event.kt) at net.mamoe.mirai.event.EventKt.broadcast(Event.kt:146) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invokeSuspend(EventDispatcher.kt:90) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invoke(EventDispatcher.kt) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$2.invoke(EventDispatcher.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:89) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast(EventDispatcher.kt) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invokeSuspend(EventDispatcher.kt:105) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) at kotlinx.coroutines.BuildersKt.launch(Unknown Source) at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcastAsync-kKe4JaQ(EventDispatcher.kt:102) at net.mamoe.mirai.internal.network.components.EventDispatcher.broadcastAsync-kKe4JaQ$default(EventDispatcher.kt:35) at net.mamoe.mirai.internal.network.components.EventBroadcasterPacketHandler.impl(PacketHandler.kt:87) at net.mamoe.mirai.internal.network.components.EventBroadcasterPacketHandler.handlePacket(PacketHandler.kt:73) at net.mamoe.mirai.internal.network.components.PacketHandlerChain.handlePacket(PacketHandler.kt:42) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invokeSuspend(NetworkHandlerSupport.kt:84) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invoke(NetworkHandlerSupport.kt) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$collectReceived$3.invoke(NetworkHandlerSupport.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) at kotlinx.coroutines.BuildersKt.launch(Unknown Source) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.collectReceived$mirai_core(NetworkHandlerSupport.kt:82) at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$PacketDecodePipeline$send$1.invokeSuspend(NettyNetworkHandler.kt:178) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:829)
似乎是因为不支持32位吗(那岂不是不能和Native一起使用)
-
RE: 一个简单粗暴的Steam游戏查询插件
启动时出现报错:
2022-04-15 11:22:23 W/stderr: java.nio.file.NoSuchFileException: data\steam-checker\setting.json 2022-04-15 11:22:23 W/stderr: at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) 2022-04-15 11:22:23 W/stderr: at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) 2022-04-15 11:22:23 W/stderr: at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) 2022-04-15 11:22:23 W/stderr: at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235) 2022-04-15 11:22:23 W/stderr: at java.base/java.nio.file.Files.newByteChannel(Files.java:371) 2022-04-15 11:22:23 W/stderr: at java.base/java.nio.file.Files.newByteChannel(Files.java:422) 2022-04-15 11:22:23 W/stderr: at java.base/java.nio.file.Files.readAllBytes(Files.java:3206) 2022-04-15 11:22:23 W/stderr: at SteamChecker-0.2.0.mirai.jar//dev.horizonlight.miraiplugin.SteamChecker.Setting.Dao.FileController.ReadFromDic(FileController.java:70) 2022-04-15 11:22:23 W/stderr: at SteamChecker-0.2.0.mirai.jar//dev.horizonlight.miraiplugin.SteamChecker.Setting.Dao.FileController.UpdateData(FileController.java:41) 2022-04-15 11:22:23 W/stderr: at SteamChecker-0.2.0.mirai.jar//dev.horizonlight.miraiplugin.SteamChecker.Setting.Dao.FileController.<init>(FileController.java:29) 2022-04-15 11:22:23 W/stderr: at SteamChecker-0.2.0.mirai.jar//dev.horizonlight.miraiplugin.SteamChecker.Setting.Dao.FileController.getInstance(FileController.java:54) 2022-04-15 11:22:23 W/stderr: at SteamChecker-0.2.0.mirai.jar//dev.horizonlight.miraiplugin.JavaPluginMain.onEnable(JavaPluginMain.java:33) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:117) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:258) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:181) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:232) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:444) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:159) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:158) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:46) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-04-15 11:22:23 W/stderr: at java.base/java.lang.reflect.Method.invoke(Method.java:566) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Utility.bootMirai(Utility.java:83) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-04-15 11:22:23 W/stderr: at java.base/java.lang.reflect.Method.invoke(Method.java:566) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.Context.call(Context.java:554) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126) 2022-04-15 11:22:23 W/stderr: at com.sun.proxy.$Proxy4.run(Unknown Source) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:176) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Loader.tryCatching(Loader.java:145) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Loader.start(Loader.java:176) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Loader.main(Loader.java:68) 2022-04-15 11:22:23 W/stderr: java.nio.file.NoSuchFileException: data\steam-checker\setting.json 2022-04-15 11:22:23 W/stderr: at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) 2022-04-15 11:22:23 W/stderr: at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) 2022-04-15 11:22:23 W/stderr: at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) 2022-04-15 11:22:23 W/stderr: at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235) 2022-04-15 11:22:23 W/stderr: at java.base/java.nio.file.Files.newByteChannel(Files.java:371) 2022-04-15 11:22:23 W/stderr: at java.base/java.nio.file.Files.newByteChannel(Files.java:422) 2022-04-15 11:22:23 W/stderr: at java.base/java.nio.file.Files.readAllBytes(Files.java:3206) 2022-04-15 11:22:23 W/stderr: at SteamChecker-0.2.0.mirai.jar//dev.horizonlight.miraiplugin.SteamChecker.Setting.Dao.FileController.ReadFromDic(FileController.java:70) 2022-04-15 11:22:23 W/stderr: at SteamChecker-0.2.0.mirai.jar//dev.horizonlight.miraiplugin.SteamChecker.Setting.Dao.FileController.UpdateData(FileController.java:41) 2022-04-15 11:22:23 W/stderr: at SteamChecker-0.2.0.mirai.jar//dev.horizonlight.miraiplugin.JavaPluginMain.onEnable(JavaPluginMain.java:33) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:117) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:258) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:181) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:232) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:444) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:159) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:158) 2022-04-15 11:22:23 W/stderr: at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:46) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-04-15 11:22:23 W/stderr: at java.base/java.lang.reflect.Method.invoke(Method.java:566) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Utility.bootMirai(Utility.java:83) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2022-04-15 11:22:23 W/stderr: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-04-15 11:22:23 W/stderr: at java.base/java.lang.reflect.Method.invoke(Method.java:566) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.Context.call(Context.java:554) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105) 2022-04-15 11:22:23 W/stderr: at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126) 2022-04-15 11:22:23 W/stderr: at com.sun.proxy.$Proxy4.run(Unknown Source) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:176) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Loader.tryCatching(Loader.java:145) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Loader.start(Loader.java:176) 2022-04-15 11:22:23 W/stderr: at org.itxtech.mcl.Loader.main(Loader.java:68)
看起来是无法生成data目录下的json文件导致的