Infinite loop of calling credential cause of force closed

I was aimed to login with the use of data from hosting, fetching data are okay until in goes to storing data for credential and I got this one error. Every time I click the okay it turns to infinite loop and still appearing to my screen. I checked the logcat to fix it up but I dont know which one of the error was pointing out the error, can anyone suggest and have an idea what was it? Thanks in advance.

i had the save problem. neeeeeeeeeeed help :joy: :joy: