iTXTech / mirai-console-loader

模块化、轻量级且支持完全自定义的 mirai 加载器。
GNU Affero General Public License v3.0
733 stars 62 forks source link

kotlin.UninitializedPropertyAccessException异常 #55

Closed charlotte-xiao closed 3 years ago

charlotte-xiao commented 3 years ago

2021-02-09 18:31:19 E/console: kotlin.UninitializedPropertyAccessException: lateinit property nick has not been initialized kotlin.UninitializedPropertyAccessException: lateinit property nick has not been initialized at net.mamoe.mirai.internal.QQAndroidBot.getNick(QQAndroidBot.kt:118) at net.mamoe.mirai.console.command.BuiltInCommands$LoginCommand.handle(BuiltInCommands.kt:176) at net.mamoe.mirai.console.command.BuiltInCommands$LoginCommand$handle$1.invokeSuspend(BuiltInCommands.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:113) 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: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)

PeratX commented 3 years ago

请反馈到mirai并提供完整日志。 mcl只负责下载和启动mirai,启动后的一切报错几乎和mcl无关。