react-native-code-push
react-native-code-push copied to clipboard
Crash Android - CodePushNativeModule.java line 497
Steps to Reproduce
Can't reproduce. But happens in production environment.
Expected Behavior
No crash
Actual Behavior
Crash
Reproducible Demo
Fatal Exception: java.util.concurrent.RejectedExecutionException: Task android.os.AsyncTask$3@d042e84 rejected from java.util.concurrent.ThreadPoolExecutor@f0c366d[Running, pool size = 9, active threads = 9, queued tasks = 128, completed tasks = 184523]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2049)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:814)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360)
at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:623)
at com.microsoft.codepush.react.CodePushNativeModule.getNewStatusReport(CodePushNativeModule.java:497)
at java.lang.reflect.Method.invoke(Method.java)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loop(Looper.java:163)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
at java.lang.Thread.run(Thread.java:760)
Environment
- react-native-code-push version: 6.3.0
- react-native version: 0.65.1
- Android Version: 7 and 8
- Does this reproduce on a debug build or release build? release
- Does this reproduce on a simulator, or only on a physical device? apparently only physical device
Same today in IOS and Android
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.