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

[NETWORK ERROR]: java.lang.IllegalArgumentException: Self-suppression not permitted #116

Closed
zhzhongshi opened this issue Mar 6, 2020 · 3 comments
Labels
t:bug 类型: bug

Comments

@zhzhongshi
Copy link

[NETWORK]: Received: MultiPacketBySequence
[NETWORK]: Send: OnlinePush.RespPush
[NETWORK]: Send: Heartbeat.Alive
[NETWORK]: Send: Heartbeat.Alive
[NETWORK]: Send: Heartbeat.Alive
[BOT 3173857429]: Connection dropped by server or lost, retrying login
[NETWORK]: Cannot do fast relogin. Trying slow relogin
[NETWORK]: Send: wtlogin.login
[NETWORK]: Send: StatSvc.register
[NETWORK]: Cannot do fast relogin. Trying slow relogin
[NETWORK]: Send: wtlogin.login
[BOT 3173857429]: An exception was thrown under a coroutine of Bot
[NETWORK ERROR]: java.lang.IllegalArgumentException: Self-suppression not permitted
java.lang.IllegalArgumentException: Self-suppression not permitted
at java.lang.Throwable.addSuppressed(Throwable.java:1072)
at net.mamoe.mirai.BotImpl$offlineListener$1.invokeSuspend(BotImpl.kt:206)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(Builders.common.kt:207)
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:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:561)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:727)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:667)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:655)
Caused by: java.util.concurrent.CancellationException: NetworkHandler closed
at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:22)
at net.mamoe.mirai.network.BotNetworkHandler.close(BotNetworkHandler.kt:96)
at net.mamoe.mirai.qqandroid.network.QQAndroidBotNetworkHandler.close(QQAndroidBotNetworkHandler.kt:597)
at net.mamoe.mirai.qqandroid.network.QQAndroidBotNetworkHandler$startHeartbeatJobOrKill$1.invokeSuspend(QQAndroidBotNetworkHandler.kt:96)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
... 5 more
Caused by: java.lang.IllegalStateException: timeout when receiving response of Heartbeat.Alive
at net.mamoe.mirai.qqandroid.network.QQAndroidBotNetworkHandler.sendAndExpect(QQAndroidBotNetworkHandler.kt:570)
at net.mamoe.mirai.qqandroid.network.QQAndroidBotNetworkHandler$sendAndExpect$1.invokeSuspend(QQAndroidBotNetworkHandler.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
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:55)
... 4 more

@zhzhongshi zhzhongshi added the t:bug 类型: bug label Mar 6, 2020
@zhzhongshi
Copy link
Author

不知道是不是我网络有问题。

@zhzhongshi
Copy link
Author

没有装任何插件。使用的是mirai-console-wrapper-0.0.1-all.jar Perl

@Him188
Copy link
Member

Him188 commented Mar 6, 2020

Fixed in 0.25.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:bug 类型: bug
Projects
None yet
Development

No branches or pull requests

2 participants