Replies: 1 comment
-
文档中两种方法撤回都尝试过(messagechain与messagechain.resource.Key)均抛出此异常 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Nudge无报错, 仅有日志输出
2021-08-13 15:03:49 V/Net 3012218237: Recv: NudgeResponse(success=false,code=1002)
Message.recall的异常信息(使用Message.recall(MessageChain)调用下)
[14:25:07 INFO]: 2021-08-13 14:25:07 V/Net 3012218237: Send: PbMessageSvc.PbMsgWithDraw
[14:25:07 INFO]: 2021-08-13 14:25:07 V/Net 3012218237: Recv: Failed(result=1001, errorMessage=No message meets the requirements)
[14:25:07 WARN]: java.lang.reflect.InvocationTargetException
[14:25:07 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14:25:07 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[14:25:07 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[14:25:07 WARN]: at java.lang.reflect.Method.invoke(Method.java:498)
[14:25:07 WARN]: at me.illtamer.infinitebot.bot.EventExecutor.lambda$dispatchListener$3(EventExecutor.java:103)
[14:25:07 WARN]: at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:511)
[14:25:07 WARN]: at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:60)
[14:25:07 WARN]: at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:46)
[14:25:07 WARN]: at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
[14:25:07 WARN]: at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:38)
[14:25:07 WARN]: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[14:25:07 WARN]: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[14:25:07 WARN]: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
[14:25:07 WARN]: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
[14:25:07 WARN]: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
[14:25:07 WARN]: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
[14:25:07 WARN]: Caused by: java.lang.IllegalStateException: Failed to recall message #[2821]: Failed(result=1001, errorMessage=No message meets the requirements)
[14:25:07 WARN]: at net.mamoe.mirai.internal.MiraiImpl.recallMessage$suspendImpl(MiraiImpl.kt:531)
[14:25:07 WARN]: at net.mamoe.mirai.internal.MiraiImpl$recallMessage$1.invokeSuspend(MiraiImpl.kt)
[14:25:07 WARN]: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[14:25:07 WARN]: at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
[14:25:07 WARN]: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
[14:25:07 WARN]: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
[14:25:07 WARN]: at kotlinx.coroutines.DispatchedTaskKt.resume(DispatchedTask.kt:178)
[14:25:07 WARN]: at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:166)
[14:25:07 WARN]: at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:362)
[14:25:07 WARN]: at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:396)
[14:25:07 WARN]: at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl$default(CancellableContinuationImpl.kt:388)
[14:25:07 WARN]: at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:293)
[14:25:07 WARN]: at kotlinx.coroutines.ResumeAwaitOnCompletion.invoke(JobSupport.kt:1408)
[14:25:07 WARN]: at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:318)
[14:25:07 WARN]: at kotlinx.coroutines.JobSupport.tryFinalizeSimpleState(JobSupport.kt:295)
[14:25:07 WARN]: at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:853)
[14:25:07 WARN]: at kotlinx.coroutines.JobSupport.makeCompleting$kotlinx_coroutines_core(JobSupport.kt:803)
[14:25:07 WARN]: at kotlinx.coroutines.CompletableDeferredImpl.complete(CompletableDeferred.kt:92)
[14:25:07 WARN]: at net.mamoe.mirai.internal.network.handler.QQAndroidBotNetworkHandler$PacketListener.complete(QQAndroidBotNetworkHandler.kt)
[14:25:07 WARN]: at net.mamoe.mirai.internal.network.handler.QQAndroidBotNetworkHandler.handlePacket(QQAndroidBotNetworkHandler.kt:634)
[14:25:07 WARN]: at net.mamoe.mirai.internal.network.handler.QQAndroidBotNetworkHandler$generifiedParsePacket$2.invokeSuspend(QQAndroidBotNetworkHandler.kt:602)
[14:25:07 WARN]: at net.mamoe.mirai.internal.network.handler.QQAndroidBotNetworkHandler$generifiedParsePacket$2.invoke(QQAndroidBotNetworkHandler.kt)
[14:25:07 WARN]: at net.mamoe.mirai.internal.network.protocol.packet.KnownPacketFactories.handleIncomingPacket$mirai_core(PacketFactory.kt:285)
[14:25:07 WARN]: at net.mamoe.mirai.internal.network.protocol.packet.KnownPacketFactories.parseIncomingPacket(PacketFactory.kt:247)
[14:25:07 WARN]: at net.mamoe.mirai.internal.network.handler.QQAndroidBotNetworkHandler.generifiedParsePacket(QQAndroidBotNetworkHandler.kt:593)
[14:25:07 WARN]: at net.mamoe.mirai.internal.network.handler.QQAndroidBotNetworkHandler.parsePacket(QQAndroidBotNetworkHandler.kt:588)
[14:25:07 WARN]: at net.mamoe.mirai.internal.network.handler.QQAndroidBotNetworkHandler$parsePacketAsync$1.invokeSuspend(QQAndroidBotNetworkHandler.kt:570)
Beta Was this translation helpful? Give feedback.
All reactions