react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

java.util.concurrent.RejectedExecutionException

Open cattuan opened this issue 8 years ago • 2 comments

Your Environment

  • Plugin version: 0.5.0-alpha.35
  • Platform: Android
  • OS version: 5.1
  • Device manufacturer and model: Philips S326
  • React Native version: 0.56.0
  • Plugin configuration options:
  • Link to your project:

Context

Stop app while watch to location change

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

Context

Debug logs

java.util.concurrent.RejectedExecutionException Task com.marianhello.bgloc.LocationService$PostLocationTask$1@172b3d68 rejected from java.util.concurrent.ThreadPoolExecutor@308f0581[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 97] keyboard_arrow_up java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution (ThreadPoolExecutor.java:2011) java.util.concurrent.ThreadPoolExecutor.reject (ThreadPoolExecutor.java:793) java.util.concurrent.ThreadPoolExecutor.execute (ThreadPoolExecutor.java:1339) java.util.concurrent.Executors$DelegatedExecutorService.execute (Executors.java:583) arrow_right com.marianhello.bgloc.LocationService$PostLocationTask.add (LocationService.java:549) com.marianhello.bgloc.LocationService.onLocation (LocationService.java:377) com.marianhello.bgloc.provider.AbstractLocationProvider.handleLocation (AbstractLocationProvider.java:100) com.marianhello.bgloc.provider.ActivityRecognitionLocationProvider.onLocationChanged (ActivityRecognitionLocationProvider.java:98) com.google.android.gms.internal.location.zzay.notifyListener (Unknown Source) com.google.android.gms.common.api.internal.ListenerHolder.notifyListenerInternal (Unknown Source) com.google.android.gms.common.api.internal.ListenerHolder$zza.handleMessage (Unknown Source) android.os.Handler.dispatchMessage (Handler.java:102) android.os.Looper.loop (Looper.java:135) android.app.ActivityThread.main (ActivityThread.java:5355) java.lang.reflect.Method.invoke (Method.java) java.lang.reflect.Method.invoke (Method.java:372) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:947) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:742)

cattuan avatar Aug 03 '18 10:08 cattuan

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 30 '19 12:01 stale[bot]

This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn't be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it's important. Thank you for your contributions.

stale[bot] avatar Feb 06 '19 15:02 stale[bot]