Azn9 / JetBrains-Discord-Integration

Discord rich presence integration for all JetBrains IDEs
Apache License 2.0
156 stars 10 forks source link

[Bug]: Unhandled exception in [StandaloneCoroutine{Cancelling}@38a60d16, Dispatchers.Default] #214

Closed JDI-Bot closed 1 month ago

JDI-Bot commented 1 month ago

IDE version

PhpStorm 2023.2.7 (PS-232.10335.8)

OS

Windows

Java version

17.0.12

Plugin version

2.1.3.232

Error message

Unhandled exception in [StandaloneCoroutine{Cancelling}@38a60d16, Dispatchers.Default]

Additional info

/

Stack trace

  Unhandled exception in [StandaloneCoroutine{Cancelling}@38a60d16, Dispatchers.Default]

  dev.cbyrne.kdiscordipc.core.error.ConnectionError$NotConnected: This socket has either been closed, or, was never connected.
at dev.cbyrne.kdiscordipc.core.error.ConnectionError$NotConnected.(ConnectionError.kt)
at dev.cbyrne.kdiscordipc.core.socket.handler.SocketHandler.write(SocketHandler.kt:114)
at dev.cbyrne.kdiscordipc.KDiscordIPC.writePacket(KDiscordIPC.kt:134)
at dev.cbyrne.kdiscordipc.KDiscordIPC.access$writePacket(KDiscordIPC.kt:44)
at dev.cbyrne.kdiscordipc.manager.impl.ActivityManager.setActivity(ActivityManager.kt:60)
at dev.azn9.plugins.discord.rpc.connection.DiscordIpcConnection.send(DiscordIpcConnection.kt:77)
at dev.azn9.plugins.discord.rpc.RpcService$update$1$1$1$7.invokeSuspend(RpcService.kt:127)
at dev.azn9.plugins.discord.rpc.RpcService$update$1$1$1$7.invoke(RpcService.kt)
at dev.azn9.plugins.discord.rpc.RpcService$update$1$1$1$7.invoke(RpcService.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:89)
at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:151)
at kotlinx.coroutines.TimeoutKt.withTimeoutOrNull(Timeout.kt:107)
at dev.azn9.plugins.discord.rpc.RpcService$update$1$1$1.invokeSuspend(RpcService.kt:126)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@38a60d16, Dispatchers.Default]

Issue hash: a453ca7c45e621830d38f4820e5803bc