Azn9 / JetBrains-Discord-Integration

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

[Bug]: dev.cbyrne.kdiscordipc.core.error.ConnectionError$NotConnected: This socket has either been closed, or, was never connected. #186

Closed JDI-Bot closed 1 month ago

JDI-Bot commented 3 months ago

IDE version

IntelliJ IDEA 2024.2 (IU-242.20224.300)

OS

Mac OS X

Java version

21.0.3

Plugin version

2.1.3.242

Error message

dev.cbyrne.kdiscordipc.core.error.ConnectionError$NotConnected: This socket has either been closed, or, was never connected.

Additional info

/

Stack trace

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:74)
    at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:148)
    at kotlinx.coroutines.TimeoutKt.withTimeoutOrNull(Timeout.kt:104)
    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:104)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@562b14e2, Dispatchers.Default]

Issue hash: cc45b80f5bbdb66cd7d3537675b1bd5f

Azn9 commented 3 months ago

😭