javax.jcr.InvalidItemStateException when when I remove the component.
Hello.
Guys, please tell me. What could be causing this error?
I add a component to a page and when I remove it I get an error.

To work further I have to reload the page.
There is an error in the logs:

All bundles are active. AEM version 6.5.8
Very grateful in advance.