Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

InvalidItemStateException on delete: this item does not exist anymore

Avatar

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
Jdruwe
Level 4

02-06-2019

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

Screenshot 2019-06-03 at 08.44.25.pngScreenshot 2019-06-03 at 08.43.09.png

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

Replies

Avatar

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
Jdruwe
Level 4

02-06-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.