入群欢迎 管理bot群/好友申请 查看bot的群/好友
-
2022-04-27 09:49:00 E/SimpleWelcome: java.lang.NoSuchMethodError: 'kotlin.reflect.KType kotlin.jvm.internal.Reflection.mutableCollectionType(kotlin.reflect.KType)'
java.lang.NoSuchMethodError: 'kotlin.reflect.KType kotlin.jvm.internal.Reflection.mutableCollectionType(kotlin.reflect.KType)'
at top.colter.mirai.plugin.welcome.WelcomePluginData.<clinit>(WelcomePluginData.kt:23)
at top.colter.mirai.plugin.welcome.PluginMain.onEnable(PluginMain.kt:43)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:113)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:122)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:36)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:129)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:172)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:208)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:276)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:152)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:151)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47)
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.bootMirai(Utility.java:84)
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.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105)
at org.mozilla.javascript.Context.call(Context.java:554)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105)
at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126)
at com.sun.proxy.$Proxy4.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:101)
at org.itxtech.mcl.Loader.start(Loader.java:128)
at org.itxtech.mcl.Loader.main(Loader.java:53) -
你去改data文件了吗
-
2022-04-30 17:15:01 E/main: Exception in coroutine <unnamed>
java.lang.IllegalStateException: the request NewFriendRequestEvent(bot=Bot(3512443736), eventId=1651310097000000, message=我是故渊, fromId=3246547289, fromGroupId=856637305, fromNick=故渊) has already been responded
at net.mamoe.mirai.internal.MiraiImpl.rejectNewFriendRequest$suspendImpl(MiraiImpl.kt:187) at net.mamoe.mirai.internal.MiraiImpl.rejectNewFriendRequest(MiraiImpl.kt) at net.mamoe.mirai.event.events.NewFriendRequestEvent.reject(friend.kt:94) at net.mamoe.mirai.event.events.NewFriendRequestEvent$reject$2.invoke(friend.kt:65535) at net.mamoe.mirai.event.events.NewFriendRequestEvent$reject$2.invoke(friend.kt) at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt$createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$IntrinsicsKt__IntrinsicsJvmKt$1.invokeSuspend(IntrinsicsJvm.kt:205) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115) at me.him188.kotlin.jvm.blocking.bridge.internal.RunSuspendKt.$runSuspend$(RunSuspend.kt:18) at net.mamoe.mirai.event.events.NewFriendRequestEvent.reject(friend.kt) at com.ycitus.PluginMain.lambda$onEnable$5(PluginMain.java:149) at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:574) at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:574) at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:46) at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1) at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:38) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
-
@Colter23 大佬不知道为啥报错,同意和拒绝不行,忽略可以
-
@池鱼思故渊 请求已经处理了吧
-
@Colter23 没有处理,显示是拒绝
-
This post is deleted! -
2022-05-03 19:00:36 E/SimpleWelcome: Exception in coroutine Plugin top.colter.simple-welcome of SimpleWelcome
java.lang.IllegalStateException: the request net.mamoe.mirai.internal.MiraiImpl@2d9e236f has already been responded
at net.mamoe.mirai.internal.MiraiImpl.acceptNewFriendRequest$suspendImpl(MiraiImpl.kt:159)
at net.mamoe.mirai.internal.MiraiImpl.acceptNewFriendRequest(MiraiImpl.kt)
at net.mamoe.mirai.event.events.NewFriendRequestEvent.accept(friend.kt:91)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invokeSuspend(PluginMain.kt:128)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invoke(PluginMain.kt)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invoke(PluginMain.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.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:147)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) -
大佬是这个错误,那个错误我也不知道是哪个插件报的错
-
大佬,是这个错误,那个错误不知道是哪个插件报的错
-
@池鱼思故渊 能描述一下这个问题是怎么出现的吗
-
其实你可以去看一看隔壁的插件,也有类似的功能。我这个插件不大维护了,主要是写的太拉了,不太想维护(
隔壁 -> https://mirai.mamoe.net/topic/972 -
@Colter23 大佬不必谦虚,我才刚学java,您写的烂我都不会,我更烂,我刚开始用的时候好使然后可能是因为我家偶尔断电?丢数据?然后他就开始罢工了,只能忽略,不管是同意还是拒绝都报错,忽略的话会显示拒绝
-
@池鱼思故渊 是详细说一下报这个错之前你都干了什么,比如说收到一个好友请求,你是立即就回复同意后它就报了这个错,还是收到请求后过了一段时间再处理的,这段时间bot又发生了什么(还有,不要比烂
-
@Colter23 我排了一下别的插件,现在是单纯的他自己报错,我用小号加这个机器人,大号同意的话会直接报错并拒绝,拒绝的话也会报错并拒绝,但是可以忽略
-
@Colter23 2022-05-04 23:10:42 E/SimpleWelcome: Exception in coroutine Plugin top.colter.simple-welcome of SimpleWelcome
java.lang.IllegalStateException: the request net.mamoe.mirai.internal.MiraiImpl@89ca06b has already been responded
at net.mamoe.mirai.internal.MiraiImpl.acceptNewFriendRequest$suspendImpl(MiraiImpl.kt:159)
at net.mamoe.mirai.internal.MiraiImpl.acceptNewFriendRequest(MiraiImpl.kt)
at net.mamoe.mirai.event.events.NewFriendRequestEvent.accept(friend.kt:91)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invokeSuspend(PluginMain.kt:128)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invoke(PluginMain.kt)
at top.colter.mirai.plugin.welcome.PluginMain$onEnable$7.invoke(PluginMain.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: -
mirai版本以及插件版本是多少
我这边测试着没啥问题(
-
2.10.0插件是1.1.0
-
你去试试隔壁的插件会不会报错吧 https://mirai.mamoe.net/topic/972
-
@Colter23 ok