Open psteininger opened 3 months ago
Yeah, there is a massive issue with how SDKs work, especially for RubyMine. I think this is also tied to the EDT and timeouts.
I've been pushing some recent commits to help with this, and i'm hoping I can get a point release out soon for this.
Would you be up for help testing an EAP release, if one was made available?
Also, the entire SDK concept is in the concept of bring replaced to simplify and remove the concept of bring tied to JDK.
@joshuataylor I am happy to help in whatever way I can. I can definitely do some testing on multiple versions (I have a full-suite subscription).
I am doing some interviews and code assignments atm, but I should have a lot more free time in about 3-4 weeks to even try my hand at development. I haven't touched Java in over a decade, but I shouldn't have too much trouble getting back into it. It would be super helpful to get my eyes on some IntelliJ docs for Plugins and an idea of how to best structure workflow for dev and testing.
I know you're just getting into it now, but learning quickly what you have learned so far would be an extra boost of motivation :)
I am particularly motivated to sort out why the debugger doesn't work and try to get that fixed ( #3629 ).
Awesome! With the new 19.0.0 release we can test super easily with new commands for every IDE JB offers, but I usually test on the most used ones.
I'm hoping the testing for this specific issue should be in just selecting EAP, seeing if it's fixed, then releasing 19.0.1.
Added #3646 as an issue to track, keeping this open.
System
Plugin Version: 19.0.0 Application: RubyMine (2024.2) Operating System: Mac OS X (14.0)
What I was doing
This seems to occur when adding/removing elixir and Erlang SDKs.
After adding one of each, one can't select the elixir SDK for the project until the settings editor is closed and then re-opened.
Event
Exception
Stacktrace
com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Write access is allowed inside write-action only (see Application.runWriteAction()); see https://jb.gg/ij-platform-threading for details
``` com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Write access is allowed inside write-action only (see Application.runWriteAction()); see https://jb.gg/ij-platform-threading for details Current thread: Thread[#46,AWT-EventQueue-0,6,main] 878135896 (EventQueue.isDispatchThread()=true) SystemEventQueueThread: (same) at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:177) at com.intellij.util.concurrency.ThreadingAssertions.throwThreadAccessException(ThreadingAssertions.java:172) at com.intellij.util.concurrency.ThreadingAssertions.assertWriteAccess(ThreadingAssertions.java:167) at com.intellij.openapi.projectRoots.impl.ProjectJdkImpl.commitChanges(ProjectJdkImpl.java:187) at org.elixir_lang.facet.sdk.Editor.reset(Editor.kt:201) at org.elixir_lang.facet.sdk.Editor.