I have no idea about that issue, I would say it's a java issue if something randomly crashes, but it's hard to say what exactly causes that
you could try to run osbot from cmd line with the -debug parameter and see if that shows some more info
could create a bat file and put it next to you osbot jar
java -jar "OSBot.jar" -autologin -debug 5001
@pause