Error: Cannot find the UI element corresponding to this selector

I automated a task for a Java desktop application about 2 months ago and everything was working fine. I haven’t used it for a while and when I tried to run it today in the ‘DEBUG’ mode, I noticed that I’d get the following error for some of the ‘Click’ activities:

Click ‘push button’: Cannot find the UI element corresponding to this selector:

The thing is if I delete/comment out the activity and re-do it again, it works fine. I am not sure why would the task become unstable as such? Is that because the task was not used for a while?

Any feedback is much appreciated.

Maha

is it possible that in meantime you changed the resolution or scale of your screen?
adding again the click (the selector takes into account the new settings and that’s why is working again)

Thanks for your reply.
I am sure that I haven’t changed the settings for my screen.

Maha