You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
The Intent supplied to startService(Intent), as given. This may be null if the service is being restarted after its process has gone away, and it had previously returned anything except START_STICKY_COMPATIBILITY.
I think it is safe to check whether intent is null.
NullPointerException was often occurred in
@EIntentService.onHandleIntentThis is the generated
@EIntentServicecode,sometimes
intentgets null, sointent.getAction()makes NPE.And I could find the documentation from http://developer.android.com/reference/android/app/IntentService.html#onStartCommand(android.content.Intent,%20int,%20int)
I think it is safe to check whether
intentis null.