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

lateinit property botAsMember has not been initialized #1776

Closed
ryoii opened this issue Dec 30, 2021 · 2 comments
Closed

lateinit property botAsMember has not been initialized #1776

ryoii opened this issue Dec 30, 2021 · 2 comments
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:bug 类型: bug

Comments

@ryoii
Copy link
Member

ryoii commented Dec 30, 2021

问题描述

无法稳定复现的初始化错误 project-mirai/mirai-api-http#522

复现

group.botPermission

mirai-core 版本

2.9.0-RC2

bot-protocol

ANDROID_PHONE

其他组件版本

No response

系统日志

2021-12-22 17:21:17 E/net.mamoe.mirai-api-http: kotlin.UninitializedPropertyAccessException: lateinit property botAsMember has not been initialized
kotlin.UninitializedPropertyAccessException: lateinit property botAsMember has not been initialized
at net.mamoe.mirai.internal.contact.GroupImpl.getBotAsMember(GroupImpl.kt:80)
at net.mamoe.mirai.contact.Group.getBotPermission(Group.kt:78)
at net.mamoe.mirai.api.http.adapter.internal.dto.GroupDTO.(contact.kt:58)
at net.mamoe.mirai.api.http.adapter.internal.action.InfomationKt.onGetGroupList(infomation.kt:31)
at

网络日志

补充信息

No response

@ryoii ryoii added the x:question 标签: 需要更多信息 label Dec 30, 2021
@Him188 Him188 added t:bug 类型: bug M 优先级: 主要 and removed x:question 标签: 需要更多信息 labels Dec 30, 2021
@Him188 Him188 added this to the 2.10.0-RC milestone Dec 30, 2021
@Him188 Him188 added the s:core 子系统: mirai-core label Jan 4, 2022
Him188 added a commit that referenced this issue Jan 14, 2022
@Him188 Him188 modified the milestones: 2.10.0-RC, Backlog Jan 14, 2022
@Him188
Copy link
Member

Him188 commented Jan 14, 2022

缺少环境, 无法修复, 2.10.0-RC 添加了日志

strear pushed a commit to strear/mirai that referenced this issue Feb 21, 2022
@Him188
Copy link
Member

Him188 commented Sep 4, 2022

#1977 取代

@Him188 Him188 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2022
@Him188 Him188 removed this from the Backlog milestone Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:bug 类型: bug
Projects
None yet
Development

No branches or pull requests

2 participants