Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在qq群发送文件(非图片或文字,如txt,xlsx,mp4等)发生报错 #91

Open
8CBCA403 opened this issue Sep 2, 2024 · 1 comment
Labels
question 对错误或其它问题进行提问 wait-for-reply 信息不足,等待进一步补充信息

Comments

@8CBCA403
Copy link

8CBCA403 commented Sep 2, 2024

问题描述

10c19f76d8c93c21d2ec8819b7b53996
从目前的信息看错误很可能是发生在OneBot处理消息的反序列化阶段,但是这个问题是由overflow的调用触发的

复现

在机器人所在群聊发送txt,xlsx,mp4等文件

Overflow 版本

795845b

其他组件版本

"net.mamoe:mirai-console" v2.16.0 from maven-stable
"net.mamoe:mirai-console-terminal" v2.16.0 from maven-stable
"org.itxtech:mcl-addon" v2.1.1 from maven-stable
plugin MCL Addon v2.1.1
Backend: version 2.16.0, built on 2023-10-20 06:28:10.
Frontend Terminal: version 2.16.0, provided by Mamoe Technologies

系统日志

2024-09-02 16:58:06 W/stderr: Exception in thread "DefaultDispatcher-worker-1" java.lang.IllegalStateException
2024-09-02 16:58:06 W/stderr:   at top.mrxiaom.overflow.internal.message.OnebotMessages.getLong$overflow_core(OnebotMessages.kt:377)
2024-09-02 16:58:06 W/stderr:   at top.mrxiaom.overflow.internal.message.OnebotMessages.deserializeFromOneBotJson$overflow_core(OnebotMessages.kt:288)
2024-09-02 16:58:06 W/stderr:   at top.mrxiaom.overflow.internal.message.OnebotMessages.deserializeFromOneBot$overflow_core(OnebotMessages.kt:188)
2024-09-02 16:58:06 W/stderr:   at top.mrxiaom.overflow.internal.message.OnebotMessages.deserializeFromOneBot$overflow_core$default(OnebotMessages.kt:186)
2024-09-02 16:58:06 W/stderr:   at top.mrxiaom.overflow.internal.listener.GroupMessageListener.onMessage(group.kt:44)
2024-09-02 16:58:06 W/stderr:   at top.mrxiaom.overflow.internal.listener.GroupMessageListener.onMessage(group.kt:35)
2024-09-02 16:58:06 W/stderr:   at cn.evolvefield.onebot.client.listener.EventListenerKt.message(EventListener.kt:21)
2024-09-02 16:58:06 W/stderr:   at cn.evolvefield.onebot.client.handler.EventBus.onReceive(EventBus.kt:45)
2024-09-02 16:58:06 W/stderr:   at cn.evolvefield.onebot.client.connection.WSClient$onMessage$1.invokeSuspend(WSClient.kt:65)
2024-09-02 16:58:06 W/stderr:   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2024-09-02 16:58:06 W/stderr:   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2024-09-02 16:58:06 W/stderr:   at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2024-09-02 16:58:06 W/stderr:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2024-09-02 16:58:06 W/stderr:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2024-09-02 16:58:06 W/stderr:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2024-09-02 16:58:06 W/stderr:   Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineName(overflow), StandaloneCoroutine{Cancelling}@60b19e80, Dispatchers.Default]

网络日志

No response

补充信息

2024-09-02.log

@8CBCA403 8CBCA403 added the question 对错误或其它问题进行提问 label Sep 2, 2024
@MrXiaoM
Copy link
Owner

MrXiaoM commented Sep 2, 2024

QQ20240902-173455
Overflow 版本 0142120 没有问题。另外,你的版本太老了,七个月前的版本

@MrXiaoM MrXiaoM added the wait-for-reply 信息不足,等待进一步补充信息 label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question 对错误或其它问题进行提问 wait-for-reply 信息不足,等待进一步补充信息
Projects
None yet
Development

No branches or pull requests

2 participants