https://bringthem-home.blogspot.com/2024/06/javalangillegalstateexception-could-not.html