Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Android build
Which Android build are you using? (e.g. UQ1A.240205.002)
Device used
Which device did you use to reproduce this issue?
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:https://developer.android.com/studio/debug/bug-report#bugreportdevice
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report to google drive and share the folder to android-bugreport@google.com, then share the link here.
Android build
Which Android build are you using? (e.g. UQ1A.240205.002)
Device used
Which device did you use to reproduce this issue?
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report to google drive and share the folder to android-bugreport@google.com, then share the link here.
ra...@google.com <ra...@google.com> #3
Please provide the requested information to proceed further. Unfortunately the issue will be closed within 7 days if there is no further update.
Description
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ThreadedRenderer.setTargetHdrSdrRatio(float)' on a null object reference
at android.view.ViewRootImpl.draw(ViewRootImpl.java:6469)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:6108)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:5018)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3555)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:11566)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1721)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1730)
at android.view.Choreographer.doCallbacks(Choreographer.java:1244)
at android.view.Choreographer.doFrame(Choreographer.java:1147)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1684)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:249)
at android.os.Looper.loop(Looper.java:337)
at android.app.ActivityThread.main(ActivityThread.java:9578)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
Issue Reason:
Although there is a null value judgment for mAttachInfo.mThreadedRenderer in the previous isHardwareEnabled() method, mAttachInfo.mThreadedRenderer may be null again due to multi-threaded operations during the subsequent code execution, causing the application to crash.