Open duncte123 opened 1 year ago
Bump. This issue seems strange to have. Getting an error every time I open my IDE is annoying lowering my attention to IDE exceptions in general, which is not particularly good. :slightly_smiling_face:
Have the same issue. (WebStorm 2022.3.1)
In addition to this error, another one appears:
kotlin.UninitializedPropertyAccessException: lateinit property randomAccessFile has not been initialized
at dev.cbyrne.kdiscordipc.core.socket.impl.WindowsSocket.close(WindowsSocket.kt:28)
at dev.cbyrne.kdiscordipc.core.socket.handler.SocketHandler.disconnect(SocketHandler.kt:67)
at dev.cbyrne.kdiscordipc.KDiscordIPC.disconnect(KDiscordIPC.kt:118)
at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.connection.DiscordIpcConnection.disconnectInternal(DiscordIpcConnection.kt:77)
at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.connection.DiscordIpcConnection.dispose(DiscordIpcConnection.kt:81)
at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:127)
at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:159)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:243)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:231)
at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService$update$1.invokeSuspend(RpcService.kt:115)
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:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Quick fix (?):
Use RPC instead by customizing your IDE properties: (Help > Edit Custom VM Options... and add
-Dcom.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.connection=rpc
)
This is occurring for me even with Discord running. System: Pop!_OS 22.04 LTS
I reinstalled Webstorm using JetBrains Toolbox instead of via Flatpak, no change. My solution: After switching Discord from Flatpak to their direct .deb distribution, Discord Integration began working again.
This exception should probably be handled instead of the IDE poping up with an alert