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

从openshamrock接收消息时报错 #50

Closed
YuYue-Amatsuki opened this issue May 18, 2024 · 0 comments
Closed

从openshamrock接收消息时报错 #50

YuYue-Amatsuki opened this issue May 18, 2024 · 0 comments
Labels
bug 已确认存在漏洞 question 对错误或其它问题进行提问

Comments

@YuYue-Amatsuki
Copy link

YuYue-Amatsuki commented May 18, 2024

问题描述

从openshamrock接收消息时出现报错

复现

向bot发送任意消息

Overflow 版本

v2.16.0-bbce014-SNAPSHOT

其他组件版本

OpenShamrock v1.0.9.r429.2db187e
mirai-console v2.16.0

系统日志

2024-05-18 13:34:03 W/stderr: Exception in thread "DefaultDispatcher-worker-6" java.lang.NullPointerException: this[key] must not be null
2024-05-18 13:34:03 W/stderr:   at cn.evolvefield.onebot.sdk.util.json.MessageEventAdapter.groupMessage(MessageEventAdapter.kt:83)
2024-05-18 13:34:03 W/stderr:   at cn.evolvefield.onebot.sdk.util.json.MessageEventAdapter.deserialize(MessageEventAdapter.kt:26)
2024-05-18 13:34:03 W/stderr:   at cn.evolvefield.onebot.sdk.util.json.MessageEventAdapter.deserialize(MessageEventAdapter.kt:16)
2024-05-18 13:34:03 W/stderr:   at top.mrxiaom.overflow.internal.deps.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:76)
2024-05-18 13:34:03 W/stderr:   at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1227)
2024-05-18 13:34:03 W/stderr:   at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1137)
2024-05-18 13:34:03 W/stderr:   at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:1047)
2024-05-18 13:34:03 W/stderr:   at top.mrxiaom.overflow.internal.deps.gson.Gson.fromJson(Gson.java:982)
2024-05-18 13:34:03 W/stderr:   at cn.evolvefield.onebot.client.handler.EventBus.onReceive(EventBus.kt:51)
2024-05-18 13:34:03 W/stderr:   at cn.evolvefield.onebot.client.connection.IAdapter$onReceiveMessage$1.invokeSuspend(IAdapter.kt:31)
2024-05-18 13:34:03 W/stderr:   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2024-05-18 13:34:03 W/stderr:   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2024-05-18 13:34:03 W/stderr:   at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2024-05-18 13:34:03 W/stderr:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2024-05-18 13:34:03 W/stderr:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2024-05-18 13:34:03 W/stderr:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2024-05-18 13:34:03 W/stderr:   Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineName(overflow), StandaloneCoro
utine{Cancelling}@72301df0, Dispatchers.Default]

网络日志

No response

补充信息

No response

@YuYue-Amatsuki YuYue-Amatsuki added the question 对错误或其它问题进行提问 label May 18, 2024
@MrXiaoM MrXiaoM added the bug 已确认存在漏洞 label May 18, 2024
@YuYue-Amatsuki YuYue-Amatsuki changed the title 从opemshamrock接收消息时报错 从openshamrock接收消息时报错 May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 已确认存在漏洞 question 对错误或其它问题进行提问
Projects
None yet
Development

No branches or pull requests

2 participants