Fixed
Status Update
Comments
ja...@gmail.com <ja...@gmail.com> #2
Can you tell us which devices are exhibiting this problem?
vi...@eitv.com.br <vi...@eitv.com.br> #3
They're the following, sorted by percentage of occurrences:
P8 Lite
P8
Honor 5X
Honor 7
Y6II
honor 6C
X2
Mate S
Mate 7
GX8
P8 Lite
P8
Honor 5X
Honor 7
Y6II
honor 6C
X2
Mate S
Mate 7
GX8
ti...@candyspace.com <ti...@candyspace.com> #4
aq...@google.com <aq...@google.com> #5
This also seems to happen in SystemJobService.onStartJob. Should I create a new bug?
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.util.ArrayMap.get(java.lang.Object)' on a null object reference
at android.os.BaseBundle.getString + 928(BaseBundle.java:928)
at androidx.work.impl.background.systemjob.SystemJobService.onStartJob + 104(SystemJobService.java:104)
at android.app.job.JobService$JobHandler.handleMessage + 126(JobService.java:126)
at android.os.Handler.dispatchMessage + 102(Handler.java:102)
at android.os.Looper.loop + 150(Looper.java:150)
at android.app.ActivityThread.main + 5621(ActivityThread.java:5621)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run + 794(ZygoteInit.java:794)
at com.android.internal.os.ZygoteInit.main + 684(ZygoteInit.java:684)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.util.ArrayMap.get(java.lang.Object)' on a null object reference
at android.os.BaseBundle.getString + 928(BaseBundle.java:928)
at androidx.work.impl.background.systemjob.SystemJobService.onStartJob + 104(SystemJobService.java:104)
at android.app.job.JobService$JobHandler.handleMessage + 126(JobService.java:126)
at android.os.Handler.dispatchMessage + 102(Handler.java:102)
at android.os.Looper.loop + 150(Looper.java:150)
at android.app.ActivityThread.main + 5621(ActivityThread.java:5621)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run + 794(ZygoteInit.java:794)
at com.android.internal.os.ZygoteInit.main + 684(ZygoteInit.java:684)
bo...@justin.tv <bo...@justin.tv> #6
Yes, please do. I can take a look.
aq...@google.com <aq...@google.com> #7
ap...@google.com <ap...@google.com> #8
Project: platform/frameworks/support
Branch: androidx-main
commit cddba9334fdcdc5e5e7ac6df9753df7095545814
Author: Santiago Seifert <aquilescanta@google.com>
Date: Wed Nov 01 16:35:29 2023
Add missing dpi versions for ic_mr_button_connected_30_dark
Add hdpi and mdpi versions of ic_mr_button_connected_30_dark,
which are missing when compared to other drawables like
ic_mr_button_disconnected_dark and ic_mr_button_disabled_dark.
Bug: 261878418
Test: Manually using an emulator with hdpi resolution and the routing demo app.
Change-Id: I907c0581d186d5c7b58e092cda645fb1994f0757
A mediarouter/mediarouter/src/main/res/drawable-hdpi/ic_mr_button_connected_30_dark.png
A mediarouter/mediarouter/src/main/res/drawable-mdpi/ic_mr_button_connected_30_dark.png
https://android-review.googlesource.com/2812744
Branch: androidx-main
commit cddba9334fdcdc5e5e7ac6df9753df7095545814
Author: Santiago Seifert <aquilescanta@google.com>
Date: Wed Nov 01 16:35:29 2023
Add missing dpi versions for ic_mr_button_connected_30_dark
Add hdpi and mdpi versions of ic_mr_button_connected_30_dark,
which are missing when compared to other drawables like
ic_mr_button_disconnected_dark and ic_mr_button_disabled_dark.
Bug: 261878418
Test: Manually using an emulator with hdpi resolution and the routing demo app.
Change-Id: I907c0581d186d5c7b58e092cda645fb1994f0757
A mediarouter/mediarouter/src/main/res/drawable-hdpi/ic_mr_button_connected_30_dark.png
A mediarouter/mediarouter/src/main/res/drawable-mdpi/ic_mr_button_connected_30_dark.png
aq...@google.com <aq...@google.com> #9
The two missing resolutions have been added in
- Let me know if I missed anything.
- Please upgrade to the next release that includes the fix.
- File a fresh bug if the issue still reproduced, but please provide more info about the patterns behind the crash, like affected API versions, affected device models and DPI.
Description
Component used: androidx.mediarouter Version used: 1.3.1 Devices/Android versions reproduced on:
When reporting bugs, please always include:
We see the following stack trace in Crashlytics, but we can't reproduce the problem locally.
mr_button_dark_static.xml
refers toic_mr_button_connected_30_dark
,ic_mr_button_disconnected_dark
, andic_mr_button_disabled_dark
.ic_mr_button_disconnected_dark
andic_mr_button_disabled_dark
both havexxhdpi
,xhdpi
,hdpi
, andmdpi
versions, butic_mr_button_connected_30_dark
only hasxxhdpi
andxhdpi
versions, so maybe this is the problem?