Since your code worked for the first time? I would assume it works each time when you load your application window for the first time and it fails.
Also, the error is for selector of Type Into activity which means your find element works alright (unless you have set continue on error true for find element activity).
I would suggest checking the selector of the password field. It might be different than the one you are using at the moment. It can happen since window status changes.
The error message is not complete and is trimmed. you should have selector attributes after each[n] entry. Have a closer look at the following part of your error message.
Search failed at selector tag:
The closest matches found are:
The ‘type into’ is faulting because the selector for the top-level selector tag failed. Most probably that is your title, main container window.
If you still have trouble try using attach window if it’s a desktop application or attach browser in case of web application just before type secure text activity and revalidate selector for both container and type activity.
It should be able to solve your problem.