Hm, impossible, because this line:
GPS1.Initialize("GPS1")
occurs in ServiceCreate which (checked step-by-step in debugger) occurs BEFORE problematic line. Is there some possible delay in initialization?
I must mention that this did not occur with previous version (2.0) of B4a...
Again, I repeat, this is not a showstopper for otherwise great tool you made, but I suspect it could also be a cause for occasional app crashes when device wakes up from sleep. So finding the critter could be useful.
Thanks for hints and help!