Trying to write my first plugin I am trying to rename the identifier at the caret in a java file using the builtin RenameProcessor.
I then systematically get the same error message
"Cannot perform refactoring"
"Caret should be positioned at symbol to be renamed".
The caret is positioned correctly and the identifier can be renamed from the Refactor/Rename... menu item.
I have seen a similar error reported by different users with different languages (at least JSon) but no solution posted yet.
I am running Community 2022.2.4