Hard to say, but based on the error lines below, you are trying to access an object that doesn't exist anymore (or never did).
If you can replicate the error in debug mode, you get the line where that occurred.
Another hint is "Activity_WindowFocusChanged". Is this somewhere in your code?
B4X:
main$ResumableSub_Activity_WindowFocusChangedresume (java line: 1359)
java.lang.NullPointerException: Attempt to read from field 'anywheresoftware.b4a.BA com.domos.servo.main.activityBA' on a null object reference
It looks like you will need to do some work to find out what happened and where.
The fact that it worked before, doesn't help much. It has been shown that in general, programs cannot be proven to be 100% correct.
Some condition occurred that never occurred before.