Android Question Help needed with "RuntimeException Unable to start receiver"

fredo

Well-Known Member
Licensed User
Longtime User
An app is installed on several devices and runs smoothly so far.

However, Crashlytics occasionally reports the following error: 2020-12-15_11-19-14.png

The message in text form:
B4X:
Fatal Exception: java.lang.RuntimeException

Unable to start receiver com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getQueryParameter(java.lang.String)' on a null object reference
android.app.ActivityThread.handleReceiver

Caused by java.lang.NullPointerException

Attempt to invoke virtual method 'java.lang.String android.net.Uri.getQueryParameter(java.lang.String)' on a null object reference

Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getQueryParameter(java.lang.String)' on a null object reference
       at com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver.onReceive(AlarmManagerSchedulerBroadcastReceiver.java:31)
       at android.app.ActivityThread.handleReceiver(ActivityThread.java:2728)
       at android.app.ActivityThread.-wrap14(ActivityThread.java)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:148)
       at android.app.ActivityThread.main(ActivityThread.java:5421)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)


The error could not be reproduced in the own area.

There seems to be an approach to the solution here at SO: https://stackoverflow.com/questions...gerschedulerbroadcastreceiver-attempt-to-invo
However, due to a lack of suitable technical background, the hint could not be followed up.


Does anyone have an idea where to start looking for the cause?



Used libs: 2020-12-15_11-45-31.png

Used classes: 2020-12-15_11-50-22.png
 
Top