Android app closing when copy password button pressed

Android 11 ? Please take a look at this: