Crash: Unable to start receiver zendesk.support.DeepLinkingBroadcastReceiver



Gepostet 23. Aug. 2022

We currently see an extremely rare crash in our Crash Reporting:

Fatal Exception: java.lang.RuntimeException: Unable to start receiver zendesk.support.DeepLinkingBroadcastReceiver: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
       at android.app.ActivityThread.handleReceiver(ActivityThread.java:3194)
       at android.app.ActivityThread.-wrap17(ActivityThread.java)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6494)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
       at zendesk.support.DeepLinkToRequestActionHandler.handle(DeepLinkToRequestActionHandler.java:48)
       at zendesk.support.DeepLinkingBroadcastReceiver.onReceive(DeepLinkingBroadcastReceiver.java:81)
       at android.app.ActivityThread.handleReceiver(ActivityThread.java:3187)
       at android.app.ActivityThread.-wrap17(ActivityThread.java)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6494)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

It occurs roughly 1x per month, so far only seen on LG devices with Android 8, altough that does not have to mean anything

Note: I have found two other instances of people seeing this crash in other apps:

- https://github.com/woocommerce/woocommerce-android/issues/2596

- https://github.com/wordpress-mobile/WordPress-Android/issues/9991

Can you please catch this crash in one of the future releases?


0

1

1 Kommentar

We are also getting these crashes for Nexus 5X API 8.1.0.

 

 https://github.com/wordpress-mobile/WordPress-Android/issues/9991 is talking about device WindsongAOB and how it is a Google Play Store review device. I wonder if they switched over to using Nexus 5X for their review devices but it is still associated with Google Play Store review. They might be invoking broadcast receiver to probe for vulnerabilities in review. Ideally this receiver should fail gracefully rather than crash app as Patrick suggests

 

Broadcast receiver added from Zendesk SDK's com.zendesk:support:5.1.1@aar

<receiver
    android:name="zendesk.support.DeepLinkingBroadcastReceiver"
    android:exported="false">

    <intent-filter>

        <action
            android:name="zendesk.support" />
    </intent-filter>
</receiver>

Crash we received

Caused by java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
      at zendesk.support.DeepLinkToRequestActionHandler.handle(DeepLinkToRequestActionHandler.java:48)
      at zendesk.support.DeepLinkingBroadcastReceiver.onReceive(DeepLinkingBroadcastReceiver.java:81)
      at android.app.ActivityThread.handleReceiver(ActivityThread.java:3187)
      at android.app.ActivityThread.-wrap17()
      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
      at android.os.Handler.dispatchMessage(Handler.java:106)
      at android.os.Looper.loop(Looper.java:164)
      at android.app.ActivityThread.main(ActivityThread.java:6494)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

0


Anmelden, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post