analytics-android
analytics-android copied to clipboard
4.10.0 -> NullPointerException,Function “performRun”
java.lang.NullPointerException
Attempt to invoke interface method 'java.util.Set java.util.Map.entrySet()' on a null object reference
com.segment.analytics.Analytics.void performRun(com.segment.analytics.IntegrationOperation)(Analytics.java:1636)
You should judge entrySet if null,even thought much time is not.Maybe the OS recycle it?
Case: When you try to shutdown(), executor also called shutdown(), but request in the same moment can be submitted to terminated networkExecutor, thats why, under the hood caused RejectedExecutionException and omit this exception without any handling.