MemberHonorChangeEvent会导致NoSuchMethodError
-
版本:
"net.mamoe:mirai-console" v2.13.2 "net.mamoe:mirai-console-terminal" v2.13.2 "net.mamoe:mirai-core-all" v2.13.2 "org.itxtech:mcl-addon" v2.1.1 "net.mamoe:mirai-api-http" v2.6.2
协议:
IPAD
报错日志:2022-12-29 12:28:56 V/Bot.**********: Event: MemberHonorChangeEvent.Achieve(member=NormalMember(**********), honorType=GroupHonorType(id=2)) 2022-12-29 12:28:56 W/stderr: Exception in thread "DefaultDispatcher-worker-2" java.lang.NoSuchMethodError: 'net.mamoe.mirai.data.GroupHonorType net.mamoe.mirai.event.events.MemberHonorChangeEvent$Achieve.getHonorType()' 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.EventKt.convertBotEvent(event.kt:119) 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.ConvertorKt.toDTO(convertor.kt:44) 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.offerChannel(WebsocketAdapter.kt:60) 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.onReceiveBotEvent(WebsocketAdapter.kt:54) 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.context.MahContext$handleBotEvent$1$1.invokeSuspend(MahContext.kt:116) 2022-12-29 12:28:56 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) 2022-12-29 12:28:56 W/stderr: Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@5e671ec0, Dispatchers.Default] 2022-12-29 12:28:56 W/stderr: Exception in thread "DefaultDispatcher-worker-4" java.lang.NoSuchMethodError: 'net.mamoe.mirai.data.GroupHonorType net.mamoe.mirai.event.events.MemberHonorChangeEvent$Achieve.getHonorType()' 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.EventKt.convertBotEvent(event.kt:119) 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.ConvertorKt.toDTO(convertor.kt:44) 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.offerChannel(WebsocketAdapter.kt:60) 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.onReceiveBotEvent(WebsocketAdapter.kt:54) 2022-12-29 12:28:56 W/stderr: at mirai-api-http-2.6.2.mirai2.jar//net.mamoe.mirai.api.http.context.MahContext$handleBotEvent$1$1.invokeSuspend(MahContext.kt:116) 2022-12-29 12:28:56 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) 2022-12-29 12:28:56 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) 2022-12-29 12:28:56 W/stderr: Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1085c1eb, Dispatchers.Default]