Skip to content

java.lang.IllegalStateException: Failed to modify admin #2370

@MrY-Cat

Description

@MrY-Cat

问题描述

似乎是设置/取消管理员失败

复现

分别于2022-11-22日19:58:48和19:59:35发生了两次,复现方法未知

mirai-core 版本

2.13.0-M1

bot-protocol

ANDROID_PAD

其他组件版本

No response

系统日志

java.lang.IllegalStateException: Failed to modify admin, cause: 
	at net.mamoe.mirai.internal.contact.NormalMemberImpl.modifyAdmin(NormalMemberImpl.kt:215)
	at net.mamoe.mirai.internal.contact.NormalMemberImpl$modifyAdmin$1.invokeSuspend(NormalMemberImpl.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

网络日志

No response

补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    N优先级: 一般s:core子系统: mirai-coret:bug类型: bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions