Skip to content
New issue

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

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

Already on GitHub? # to your account

IDE Internal Error: Write-unsafe context! Model changes are allowed from write-safe contexts only #2419

Open
pamquale opened this issue Dec 22, 2024 · 5 comments

Comments

@pamquale
Copy link

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:

  1. Pressing a button to create a new project
  2. 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.
@pamquale
Copy link
Author

This text was copied from my stack overflow question

@jacobh12349
Copy link

Why was this closed as completed without a solution to it? I'm having the same problem right now too.

@Earthcomputer
Copy link
Member

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

@Earthcomputer Earthcomputer reopened this Mar 28, 2025
@jacobh12349
Copy link

This will probably send the author a notification

@jacobh12349
Copy link

if not, then
@pamquale

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants