Closed mitul-neosoft closed 2 weeks ago
4.15.2
Update to latest version. This was fixed in 4.15.3
[Android] Guard against Geofence SQLite query returning null in GeofencingService.
That is a quick response. will update the plugin and check. Thanks @christocracy
This issue is stale because it has been open for 30 days with no activity.
Your Environment
cordova -v
): 12cordova platform ls
): 12Plugin config provided to
#ready
:Expected Behavior
plugin should not crash app
Actual Behavior
app crash when geofence add
Steps to Reproduce
Context
I was not able to reproduce in local but there is log on play store.
Debug logs
Logs
``` Exception java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.transistorsoft.locationmanager.geofence.TSGeofence.isPolygon()' on a null object reference at com.transistorsoft.locationmanager.service.GeofencingService.a at com.transistorsoft.locationmanager.service.GeofencingService.a at com.transistorsoft.locationmanager.service.GeofencingService$a$a.a at com.transistorsoft.locationmanager.service.GeofencingService$a$a.$r8$lambda$PJ5EoePOcmtk9xrfLgP7wtZLiok at com.transistorsoft.locationmanager.service.GeofencingService$a$a$$ExternalSyntheticLambda1.run at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644) at java.lang.Thread.run (Thread.java:1012) ```