Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read access warning thrown during Junit Test case save #30

Open
TheAmg opened this issue Aug 12, 2024 · 0 comments
Open

Read access warning thrown during Junit Test case save #30

TheAmg opened this issue Aug 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@TheAmg
Copy link
Contributor

TheAmg commented Aug 12, 2024

Describe the bug

The following read access warning is thrown on Saving a Junit test case. The number dialog boxes and instances seen for this exception also is high (20+ dialogues)

Exception trace (partial)

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action only (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details Current thread: Thread[#1201,ApplicationImpl pooled thread 25,4,main] 275129058 (EventQueue.isDispatchThread()=false) SystemEventQueueThread: Thread[#44,AWT-EventQueue-0,6,main] 414201863 at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:177) at com.intellij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:129) at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:915) at com.intellij.psi.impl.source.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:185) at com.intellij.psi.impl.source.PsiFileImpl.getStubTreeOrFileElement(PsiFileImpl.java:694) at com.intellij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:631) at com.i

Reproduction steps

To be Identified
...

Expected behavior

For this exception to not occur.

Additional context

No response

@TheAmg TheAmg added the bug Something isn't working label Aug 12, 2024
@TheAmg TheAmg changed the title Read access warning thrown during Test case save (Confirm button click) Read access warning thrown during Junit Test case save Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant