Open Massedil opened 5 months ago
when does it happen?
Good question. Don't really know.
Here, location freshly activated for a Bluetooth Low Energy usage. I have launched a Bluetooth scan in this app.
I think it is here it crashes.
I also think I crashes if I'm on Airplane mode and use location in OSMAnd app, for example. But not sure it is always crashing doing this.
Interesting... the line in question is https://github.com/Helium314/Local-NLP-Backend/blob/main/app/src/main/java/org/fitchfamily/android/dejavu/BackendService.kt#L754
Looks like emitterCache
is null, but it's actually used just a few lines above, where it's definitely not null (the crash would happen already there if it was).
Looks like emitterCache is null,
Or observation.identification
?
Observations are in observations: Collection<Observation>
, which as far as I understand Kotlin cannot contain null elements. If the observation was null, then the crash should happen when adding to the collection.
observation.identification
also is not nullable.
EmitterCache is the only thing that can be null, but should only be null if the service is being closed while backgroundProcessing
is running.
This is why I was asking when the crash happens. If it's when closing, then it simply shouldn't matter.
This is why I was asking when the crash happens. If it's when closing, then it simply shouldn't matter.
I was not using the app. The app should have been started in background when I activated the location.
Version : 1.2.11 F-Droid Android 14 / LineageOS 21 on Samsung A52s