yyuueexxiinngg / onebot-kotlin

OneBot标准的Kotlin实现及mirai插件 - 原cqhttp-mirai
GNU Affero General Public License v3.0
584 stars 139 forks source link

识别回复类信息时出现了报错[Question] #156

Open NtskwK opened 2 years ago

NtskwK commented 2 years ago

2022-03-31 02:02:09 E/OneBot: java.lang.NullPointerException: get(messageId.toByteArray()) must not be null java.lang.NullPointerException: get(messageId.toByteArray()) must not be null at onebot-mirai-0.3.5-all.jar//com.github.yyuueexxiinngg.onebot.MiraiApi.getMessage(MiraiApi.kt:178) at onebot-mirai-0.3.5-all.jar//com.github.yyuueexxiinngg.onebot.MiraiApiKt.callMiraiApi(MiraiApi.kt:78) at onebot-mirai-0.3.5-all.jar//com.github.yyuueexxiinngg.onebot.web.websocket.WebsocketActionsKt.handleWebSocketActions(WebsocketActions.kt:31) at onebot-mirai-0.3.5-all.jar//com.github.yyuueexxiinngg.onebot.web.websocket.WebSocketReverseClient$listenApi$2$1.invokeSuspend(WebsocketReverseClient.kt:182) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 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) 2022-03-31 02:02:09 V/Bot.294xxx2357: [暗夜王座会议(1077xxx338)] 崎(205xxx1971) -> [mirai:quote:[2033],[-847131503]][mirai:at:294xxx2357] 不可以

我是在群里对bot发送的消息进行了回复,然后得到了这样的信息