运行时报错,QQ版本过低
`Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at love.forte.common.ioc.MethodDependPass.invoke(DependPass.kt:76)
at love.forte.common.ioc.DependCenter.init(DependCenter.kt:108)
at love.forte.simbot.core.SimbotApp.initDependCenter(SimbotApp.kt:434)
at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:279)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:509)
at love.forte.simbot.core.SimbotApp$Run.run$default(SimbotApp.kt:472)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt)
at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt)
at love.simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:33)
Caused by: java.lang.IllegalStateException: Can't overwrite cause with a null
at java.base/java.lang.Throwable.initCause(Throwable.java:464)
at love.forte.simbot.component.mirai.configuration.MiraiBotVerifier.verity(MiraiBotVerifier.kt:115)
at love.forte.simbot.component.mirai.configuration.MiraiBotManager.registerBot(MiraiBotManager.kt:103)
at love.forte.simbot.core.configuration.CoreBotRegistrar.registerBots(CoreBotRegistrar.kt:65)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 10 more
Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2362436814), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= )
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:284)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Suppressed: java.util.concurrent.CancellationException: Bot closed
at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:22)
at net.mamoe.mirai.internal.AbstractBot.close(AbstractBot.kt:112)
at net.mamoe.mirai.internal.QQAndroidBot.close(QQAndroidBot.kt:80)
at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:136)
at net.mamoe.mirai.internal.AbstractBot$login$1.invokeSuspend(AbstractBot.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at love.forte.simbot.component.mirai.configuration.MiraiBotVerifier.verity(MiraiBotVerifier.kt:84)
at love.forte.simbot.component.mirai.configuration.MiraiBotManager.registerBot(MiraiBotManager.kt:103)
at love.forte.simbot.core.configuration.CoreBotRegistrar.registerBots(CoreBotRegistrar.kt:65)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at love.forte.common.ioc.MethodDependPass.invoke(DependPass.kt:76)
at love.forte.common.ioc.DependCenter.init(DependCenter.kt:108)
at love.forte.simbot.core.SimbotApp.initDependCenter(SimbotApp.kt:434)
at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:279)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:509)
at love.forte.simbot.core.SimbotApp$Run.run$default(SimbotApp.kt:472)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt)
at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt)
at love.simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:33)
Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2362436814), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= )]
进程已结束,退出代码1
`
复现方式
。
相关日志
C:\Users\ASUS\.jdks\openjdk-19.0.1\bin\java.exe "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2022.3\lib\idea_rt.jar=57797:C:\Program Files\JetBrains\IntelliJ IDEA 2022.3\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath E:\idea\QQrobot\target\classes;C:\Users\ASUS\.m2\repository\love\forte\simple-robot\component-mirai\2.4.0\component-mirai-2.4.0.jar;C:\Users\ASUS\.m2\repository\love\forte\simple-robot\http\client-core\2.4.0\client-core-2.4.0.jar;C:\Users\ASUS\.m2\repository\love\forte\simple-robot\http\client-ktor\2.4.0\client-ktor-2.4.0.jar;C:\Users\ASUS\.m2\repository\love\forte\simple-robot\serialization\json-core\2.4.0\json-core-2.4.0.jar;C:\Users\ASUS\.m2\repository\love\forte\simple-robot\serialization\json-fastjson\2.4.0\json-fastjson-2.4.0.jar;C:\Users\ASUS\.m2\repository\com\alibaba\fastjson\1.2.83\fastjson-1.2.83.jar;C:\Users\ASUS\.m2\repository\io\ktor\ktor-client-core-jvm\1.6.8\ktor-client-core-jvm-1.6.8.jar;C:\Users\ASUS\.m2\repository\io\ktor\ktor-http-jvm\1.6.8\ktor-http-jvm-1.6.8.jar;C:\Users\ASUS\.m2\repository\io\ktor\ktor-utils-jvm\1.6.8\ktor-utils-jvm-1.6.8.jar;C:\Users\ASUS\.m2\repository\io\ktor\ktor-io-jvm\1.6.8\ktor-io-jvm-1.6.8.jar;C:\Users\ASUS\.m2\repository\io\ktor\ktor-http-cio-jvm\1.6.8\ktor-http-cio-jvm-1.6.8.jar;C:\Users\ASUS\.m2\repository\io\ktor\ktor-network-jvm\1.6.8\ktor-network-jvm-1.6.8.jar;C:\Users\ASUS\.m2\repository\io\ktor\ktor-client-okhttp\1.6.8\ktor-client-okhttp-1.6.8.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib\1.6.10\kotlin-stdlib-1.6.10.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\annotations\13.0\annotations-13.0.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.10\kotlin-stdlib-jdk7-1.6.10.jar;C:\Users\ASUS\.m2\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;C:\Users\ASUS\.m2\repository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;C:\Users\ASUS\.m2\repository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;C:\Users\ASUS\.m2\repository\cn\hutool\hutool-crypto\5.7.19\hutool-crypto-5.7.19.jar;C:\Users\ASUS\.m2\repository\cn\hutool\hutool-core\5.7.19\hutool-core-5.7.19.jar;C:\Users\ASUS\.m2\repository\net\mamoe\mirai-core-jvm\2.11.1\mirai-core-jvm-2.11.1.jar;C:\Users\ASUS\.m2\repository\net\mamoe\mirai-core-api-jvm\2.11.1\mirai-core-api-jvm-2.11.1.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlinx\kotlinx-coroutines-jdk8\1.6.1\kotlinx-coroutines-jdk8-1.6.1.jar;C:\Users\ASUS\.m2\repository\net\mamoe\mirai-console-compiler-annotations-jvm\2.11.1\mirai-console-compiler-annotations-jvm-2.11.1.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlinx\kotlinx-serialization-core-jvm\1.3.2\kotlinx-serialization-core-jvm-1.3.2.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlinx\kotlinx-serialization-json-jvm\1.3.2\kotlinx-serialization-json-jvm-1.3.2.jar;C:\Users\ASUS\.m2\repository\me\him188\kotlin-jvm-blocking-bridge-runtime-jvm\2.0.0-162.1\kotlin-jvm-blocking-bridge-runtime-jvm-2.0.0-162.1.jar;C:\Users\ASUS\.m2\repository\net\mamoe\mirai-core-utils-jvm\2.11.1\mirai-core-utils-jvm-2.11.1.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlinx\kotlinx-serialization-protobuf-jvm\1.3.2\kotlinx-serialization-protobuf-jvm-1.3.2.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlinx\atomicfu-jvm\0.17.2\atomicfu-jvm-0.17.2.jar;C:\Users\ASUS\.m2\repository\io\netty\netty-all\4.1.63.Final\netty-all-4.1.63.Final.jar;C:\Users\ASUS\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;C:\Users\ASUS\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlinx\kotlinx-io-jvm\0.1.16\kotlinx-io-jvm-0.1.16.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlinx\kotlinx-io\0.1.16\kotlinx-io-0.1.16.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlinx\kotlinx-coroutines-core\1.6.3\kotlinx-coroutines-core-1.6.3.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlinx\kotlinx-coroutines-core-jvm\1.6.3\kotlinx-coroutines-core-jvm-1.6.3.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;C:\Users\ASUS\.m2\repository\love\forte\simple-robot\core\2.4.0\core-2.4.0.jar;C:\Users\ASUS\.m2\repository\love\forte\simple-robot\api\2.4.0\api-2.4.0.jar;C:\Users\ASUS\.m2\repository\love\forte\catcode\1.0.0-BETA.1\catcode-1.0.0-BETA.1.jar;C:\Users\ASUS\.m2\repository\love\forte\common\utils\1.0.7\utils-1.0.7.jar;C:\Users\ASUS\.m2\repository\love\forte\common\ioc\1.0.7\ioc-1.0.7.jar;C:\Users\ASUS\.m2\repository\love\forte\common\configuration\1.0.7\configuration-1.0.7.jar;C:\Users\ASUS\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.12.5\jackson-dataformat-yaml-2.12.5.jar;C:\Users\ASUS\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.12.5\jackson-databind-2.12.5.jar;C:\Users\ASUS\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.12.5\jackson-annotations-2.12.5.jar;C:\Users\ASUS\.m2\repository\org\yaml\snakeyaml\1.27\snakeyaml-1.27.jar;C:\Users\ASUS\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.12.5\jackson-core-2.12.5.jar;C:\Users\ASUS\.m2\repository\love\forte\common\log\1.0.7\log-1.0.7.jar;C:\Users\ASUS\.m2\repository\love\forte\common\language\1.0.7\language-1.0.7.jar;C:\Users\ASUS\.m2\repository\org\jetbrains\kotlin\kotlin-reflect\1.6.21\kotlin-reflect-1.6.21.jar love.simbot.example.SimbotExampleApplication
____,__, __, _,____ ____, ____,
(-(__(-| (-|\/|(-|__|-/ \(-|
____)_|_,_| _|,_|__)_\__/,_|,
( ( ( ( ( (
@ForteScarlet
v2.4.0
Tips: 你知道吗?simbot中代码注释的编辑者与文档编辑者是同一个人。
[2023-01-11T18:25:43.991341400]-[INFO ] | love.simbot.example.SimbotExampleApplication : Active resources: [simbot.yml]
[2023-01-11T18:25:46.283806500]-[INFO ] | love.f.s.c.m.c.MiraiEventCacheConfiguration : Disable default mirai message cache.
2023-01-11 18:25:46 I/WindowHelperJvm: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 `mirai.no-desktop` 以关闭.
2023-01-11 18:25:46 I/WindowHelperJvm: Mirai is using desktop. Captcha will be thrown by window popup. You can add `mirai.no-desktop` to JVM properties (-Dmirai.no-desktop) to disable it.
[2023-01-11T18:25:55.620067800]-[INFO ] | love.f.s.c.m.n.2362436814 : ECDH key is invalid, start to fetch ecdh public key from server.
[2023-01-11T18:25:58.601083800]-[INFO ] | love.f.s.c.m.n.2362436814 : Successfully fetched ecdh public key from server.
[2023-01-11T18:26:55.087089500]-[WARN ] | love.f.s.c.m.n.2362436814 : null
net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2362436814), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= )
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:284)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
[2023-01-11T18:26:55.106310900]-[INFO ] | love.f.s.c.m.b.2362436814 : Bot cancelled: Bot closed
[2023-01-11T18:26:55.111998300]-[ERROR] | love.f.s.c.m.c.MiraiBotVerifier : Verifier bot(2362436814) failed.
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at love.forte.common.ioc.MethodDependPass.invoke(DependPass.kt:76)
at love.forte.common.ioc.DependCenter.init(DependCenter.kt:108)
at love.forte.simbot.core.SimbotApp.initDependCenter(SimbotApp.kt:434)
at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:279)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:509)
at love.forte.simbot.core.SimbotApp$Run.run$default(SimbotApp.kt:472)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt)
at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt)
at love.simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:33)
Caused by: java.lang.IllegalStateException: Can't overwrite cause with a null
at java.base/java.lang.Throwable.initCause(Throwable.java:464)
at love.forte.simbot.component.mirai.configuration.MiraiBotVerifier.verity(MiraiBotVerifier.kt:115)
at love.forte.simbot.component.mirai.configuration.MiraiBotManager.registerBot(MiraiBotManager.kt:103)
at love.forte.simbot.core.configuration.CoreBotRegistrar.registerBots(CoreBotRegistrar.kt:65)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 10 more
Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2362436814), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= )
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:284)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Suppressed: java.util.concurrent.CancellationException: Bot closed
at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:22)
at net.mamoe.mirai.internal.AbstractBot.close(AbstractBot.kt:112)
at net.mamoe.mirai.internal.QQAndroidBot.close(QQAndroidBot.kt:80)
at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:136)
at net.mamoe.mirai.internal.AbstractBot$login$1.invokeSuspend(AbstractBot.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at love.forte.simbot.component.mirai.configuration.MiraiBotVerifier.verity(MiraiBotVerifier.kt:84)
at love.forte.simbot.component.mirai.configuration.MiraiBotManager.registerBot(MiraiBotManager.kt:103)
at love.forte.simbot.core.configuration.CoreBotRegistrar.registerBots(CoreBotRegistrar.kt:65)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at love.forte.common.ioc.MethodDependPass.invoke(DependPass.kt:76)
at love.forte.common.ioc.DependCenter.init(DependCenter.kt:108)
at love.forte.simbot.core.SimbotApp.initDependCenter(SimbotApp.kt:434)
at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:279)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:509)
at love.forte.simbot.core.SimbotApp$Run.run$default(SimbotApp.kt:472)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt)
at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt)
at love.simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:33)
Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2362436814), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= )]
进程已结束,退出代码1
版本号
V2.4.0
附加版本
No response
问题描述
运行时报错,QQ版本过低 `Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119) at java.base/java.lang.reflect.Method.invoke(Method.java:578) at love.forte.common.ioc.MethodDependPass.invoke(DependPass.kt:76) at love.forte.common.ioc.DependCenter.init(DependCenter.kt:108) at love.forte.simbot.core.SimbotApp.initDependCenter(SimbotApp.kt:434) at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:279) at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:509) at love.forte.simbot.core.SimbotApp$Run.run$default(SimbotApp.kt:472) at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt) at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt) at love.simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:33) Caused by: java.lang.IllegalStateException: Can't overwrite cause with a null at java.base/java.lang.Throwable.initCause(Throwable.java:464) at love.forte.simbot.component.mirai.configuration.MiraiBotVerifier.verity(MiraiBotVerifier.kt:115) at love.forte.simbot.component.mirai.configuration.MiraiBotManager.registerBot(MiraiBotManager.kt:103) at love.forte.simbot.core.configuration.CoreBotRegistrar.registerBots(CoreBotRegistrar.kt:65) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ... 10 more Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2362436814), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= ) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:284) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: java.util.concurrent.CancellationException: Bot closed at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:22) at net.mamoe.mirai.internal.AbstractBot.close(AbstractBot.kt:112) at net.mamoe.mirai.internal.QQAndroidBot.close(QQAndroidBot.kt:80) at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:136) at net.mamoe.mirai.internal.AbstractBot$login$1.invokeSuspend(AbstractBot.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) at love.forte.simbot.component.mirai.configuration.MiraiBotVerifier.verity(MiraiBotVerifier.kt:84) at love.forte.simbot.component.mirai.configuration.MiraiBotManager.registerBot(MiraiBotManager.kt:103) at love.forte.simbot.core.configuration.CoreBotRegistrar.registerBots(CoreBotRegistrar.kt:65) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:578) at love.forte.common.ioc.MethodDependPass.invoke(DependPass.kt:76) at love.forte.common.ioc.DependCenter.init(DependCenter.kt:108) at love.forte.simbot.core.SimbotApp.initDependCenter(SimbotApp.kt:434) at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:279) at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:509) at love.forte.simbot.core.SimbotApp$Run.run$default(SimbotApp.kt:472) at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt) at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt) at love.simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:33) Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2362436814), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= )]
进程已结束,退出代码1 `
复现方式
。
相关日志
其他补充
No response