-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
androidAffects the Android platform.Affects the Android platform.triagingInvestigating but no backlog ticket has been filed.Investigating but no backlog ticket has been filed.
Description
The app is crashing on Android devices in production. We are not sure why and cannot trigger it in development, but it seems to be connected to the twilio-voice package
Fatal Exception: java.lang.RuntimeException
Unable to start service com.twiliovoicereactnative.VoiceService@461c762 with Intent { act=ACTION_REJECT_CALL flg=0x10000000 cmp=com.X.X/com.twiliovoicereactnative.VoiceService (has extras) }: java.lang.NullPointerException
Fatal Exception: java.lang.RuntimeException: Unable to start service com.twiliovoicereactnative.VoiceService@461c762 with Intent { act=ACTION_REJECT_CALL flg=0x10000000 cmp=com.wsagency.twiconnect/com.twiliovoicereactnative.VoiceService (has extras) }: java.lang.NullPointerException
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4881)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8296)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Caused by java.lang.NullPointerException:
at java.util.Objects.requireNonNull(Objects.java:233)
at com.twiliovoicereactnative.VoiceService.getCallRecord(VoiceService.java:390)
at com.twiliovoicereactnative.VoiceService.onStartCommand(VoiceService.java:119)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4863)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8296)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Our guess that rejecting a call via notification is triggering crash which should not be the issue.
Metadata
Metadata
Assignees
Labels
androidAffects the Android platform.Affects the Android platform.triagingInvestigating but no backlog ticket has been filed.Investigating but no backlog ticket has been filed.