Azn9 / JetBrains-Discord-Integration

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

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

Closed JDI-Bot closed 3 weeks ago

JDI-Bot commented 1 month ago

IDE version

PhpStorm 2023.3.6 (PS-233.15026.12)

OS

Mac OS X

Java version

17.0.10

Plugin version

2.1.2.232

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:83)
    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:108)
    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}@7de37894, Dispatchers.Default]

Issue hash: cc45b80f5bbdb66cd7d3537675b1bd5f

JDI-Bot commented 3 weeks ago

IDE version

PyCharm 2024.2 (PY-242.20224.347)

OS

Mac OS X

Java version

21.0.3

Plugin version

2.1.2.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.cbyrne.kdiscordipc.manager.impl.ActivityManager.clearActivity(ActivityManager.kt:56)
    at dev.azn9.plugins.discord.rpc.connection.DiscordIpcConnection.clearActivity(DiscordIpcConnection.kt:96)
    at dev.azn9.plugins.discord.rpc.RpcService$update$1$1$1$1.invokeSuspend(RpcService.kt:83)
    at dev.azn9.plugins.discord.rpc.RpcService$update$1$1$1$1.invoke(RpcService.kt)
    at dev.azn9.plugins.discord.rpc.RpcService$update$1$1$1$1.invoke(RpcService.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:74)
    at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:148)
    at kotlinx.coroutines.TimeoutKt.withTimeout(Timeout.kt:43)
    at dev.azn9.plugins.discord.rpc.RpcService$update$1$1$1.invokeSuspend(RpcService.kt:82)
    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}@e4237f2, Dispatchers.Default]
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@678f12d6, Dispatchers.Default]
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@10cdf9a4, Dispatchers.Default]

Issue hash: cc45b80f5bbdb66cd7d3537675b1bd5f