com.intellij.util.IncorrectOperationException: Must not modify PSI inside save listener

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by MattGurneyAMP
, 1 year ago
Must not modify PSI inside save listener
via GitHub by hero710692586
, 1 year ago
Must not modify PSI inside save listener
via GitHub by vaadin-bot
, 1 year ago
Must not modify PSI inside save listener
via GitHub by vaadin-bot
, 8 months ago
Must not modify PSI inside save listener
via GitHub by mmedic
, 9 months ago
Must not modify PSI inside save listener
via GitHub by charlouze
, 4 months ago
Must not modify PSI inside save listener
com.intellij.util.IncorrectOperationException: Must not modify PSI inside save listener
at com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:144)
at com.intellij.psi.impl.DocumentCommitThread$10.run(DocumentCommitThread.java:922)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.