IDE Internal Error: Write-unsafe context! Model changes are allowed from write-safe contexts only
Minecraft Development for IntelliJ plugin version
2024.3-1.8.2-535
IntelliJ version
2024.3
Operating System
Windows 11
Target platform
Fabric
Description of the bug
How I faced this bug:
- Pressing a button to create a new project
- Closing this window And then I can see the error at the down right corner. Even if I will try to continue creating the project I will not be able to do so. It will only create a directory.
java.lang.Throwable: Write-unsafe context! Model changes are allowed from write-safe contexts only. Please ensure you're using invokeLater/invokeAndWait with a correct modality state (not "any"). See TransactionGuard documentation for details.
By the way, I've got 4 IDE internal errors, but all of them has the same head.
Yes, this is a duplicate question, but this answer did not helped me out.
What I've tried:
- Reinstalling the Intellij IDEA
- Reinstalling the plugin (Minecraft development plugin)
- Turning on the nightly builds as suggested to the same issue
- Attempted to run IntelliJ IDEA as an administrator.
This text was copied from my stack overflow question
Why was this closed as completed without a solution to it? I'm having the same problem right now too.
Why was this closed as completed without a solution to it? I'm having the same problem right now too.
@jacobh12349 Ask the issue author, we didn't close it
This will probably send the author a notification
if not, then @pamquale
This happened to me a few times, but it seemed to stop and I can't tell if it is because I changed something. My system is the same as the author's, except that my IntelliJ is 2024.3.5