InvalidItemStateException on delete: this item does not exist anymore | Community
Skip to main content
Level 4
June 3, 2019

InvalidItemStateException on delete: this item does not exist anymore

  • June 3, 2019
  • 1 reply
  • 2072 views

I am getting an error when deleting a component:

Caused by: javax.jcr.InvalidItemStateException: This item

[/content/OBFUSCATED_PATH/responsivegrid/story_cards_componen_1364741682] does not exist anymore

As you can see the resource DOES exists so I am not sure why I am getting this error. Any ideas?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 4
June 3, 2019

It was our own code that was causing the error. We had a SlingPostProcessor that was trying to access the resource. We now only proceed when no deletion modification is found.