Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.10.0 -> NullPointerException,Function “performRun” #773

Open
ditingvh opened this issue Sep 18, 2021 · 1 comment
Open

4.10.0 -> NullPointerException,Function “performRun” #773

ditingvh opened this issue Sep 18, 2021 · 1 comment

Comments

@ditingvh
Copy link

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?

@Y-E-P
Copy link

Y-E-P commented Aug 10, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants