On windows I pressed ctrl + shift + R and provided text to find and replace. Preview shown me that was 16 matches in 2 files.
I clicked Replace All button. IDE freeze for a while and confirmation dialogue appeared.
I clicked Replace button and error message appeared:
It happens every time when I try to use replace in path. The problem has started after last stable update. I didn't find any issue about it in YouTrack, so I'm not sure if it's more global problem.