question-mark

Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

discord rich presence not working on new ui intellij

See original GitHub issue

Issue Description

`Unhandled exception in [StandaloneCoroutine{Cancelling}@7b8c1fe6, Dispatchers.Default]

java.lang.NoClassDefFoundError: Could not initialize class com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.connection.DiscordRpcConnection at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService.createConnection(RpcService.kt:152) at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService.access$createConnection(RpcService.kt:41) at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService$update$1.invokeSuspend(RpcService.kt:120) 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) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@7b8c1fe6, Dispatchers.Default] `

Issue Analytics

  • State:open
  • Created a month ago
  • Reactions:12
  • Comments:14

github_iconTop GitHub Comments

6reactions
Nyde42commented, Dec 11, 2022

@lukasvdgaag I think everyone here is well aware that the problem only exists on 2022.3 and upwards. However, the purpose of everyone commenting is to draw more attention to this issue, because as it stands right now, no developer has reacted to this GitHub issue whatsoever. It’s great to hear that they’re working on a fix, but since only a fraction of the people here are on the Discord server, how are we supposed to know? See what I mean? If we only look at this issue page, it would appear that the devs simply have not noticed yet, so people keep commenting to make them notice. I’m pretty sure if the issue had a comment by a dev, or an assignee, or anything, a lot of people (including me) wouldn’t have felt the necessity to post a comment at all.

This is not supposed to be me complaining about the devs not reacting to this issue on GitHub, I’m just explaining why I think your comment is missing the point.

6reactions
holo-lbcommented, Dec 8, 2022

Same issue here, stacktrace for debugging:

Unhandled exception in [StandaloneCoroutine{Cancelling}@5a5e5539, Dispatchers.Default]

java.lang.UnsatisfiedLinkError: Could not find JNA native support
	at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:940)
	at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922)
	at com.sun.jna.Native.<clinit>(Native.java:190)
	at com.sun.jna.Pointer.<clinit>(Pointer.java:54)
	at com.sun.jna.Structure.<clinit>(Structure.java:2131)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService.createConnection(RpcService.kt:152)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService.access$createConnection(RpcService.kt:41)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService$update$1.invokeSuspend(RpcService.kt:120)
	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)
	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@5a5e5539, Dispatchers.Default]

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rich Presence Integration (Discord, Slack) - IntelliJ IDEs Plugin
Adds rich presence integration to IntelliJ. Doesn't support your language? Request it via commenting. Features: What file you're editing, what language ...
Read more >
Not working · Issue #11 · Almighty-Alpaca/JetBrains-Discord ...
I've tried reinstalling the plugin, reenabling it, readd intellij on ... but the rich presence doesn't seem to be working, it only shows...
Read more >
JetBrains-Discord-Integration - Bountysource
Discord Integration plugin usually won't reconnect and reload Discord Rich Presence if there is any interruption (e.g. Offline status, Power save mode, etc) ......
Read more >
Android Studio 4.0.1 Discord Integration - YouTube
Hello everyone,It was decided to shoot this video to show how all Intellij versions are connected with Discord, the program that I use ......
Read more >
IntelliJ IDEA | Running an Application | Step-by-step guide
If you are developing a Spring Boot project, Spring Boot makes it easier to run a Java web application, because it takes care...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found