Closed
Bug 1613871
Opened 6 years ago
Closed 6 years ago
Attempt to invoke virtual method 'void android.media.MediaDrm.provideProvisionResponse(byte[])' on a null object reference
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
FIXED
mozilla75
| Tracking | Status | |
|---|---|---|
| firefox75 | --- | fixed |
People
(Reporter: sebastian, Assigned: jhlin)
Details
(Whiteboard: [geckoview])
Attachments
(1 file, 1 obsolete file)
Just saw that in a migration build:
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaDrm.provideProvisionResponse(byte[])' on a null object reference
at org.mozilla.gecko.media.GeckoMediaDrmBridgeV21$PostRequestTask.onPostExecute(GeckoMediaDrmBridgeV21.java:5)
at android.os.AsyncTask.finish(AsyncTask.java:695)
at android.os.AsyncTask.-wrap1
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6651)
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:810)
https://sentry.prod.mozaws.net/operations/fenix-fennec-nightly/issues/7220235
| Reporter | ||
Comment 1•6 years ago
|
||
Component: General → Audio/Video: Playback
Product: GeckoView → Core
Whiteboard: [geckoview]
| Assignee | ||
Updated•6 years ago
|
Assignee: nobody → jolin
| Assignee | ||
Comment 2•6 years ago
|
||
The provision request is executed in background through AsyncTask and will
post the result once finished. However, when the DRM object is released
before onPostExecute() is called, there will be NPE. Use AsyncTask.cancel()
to avoid that.
| Assignee | ||
Comment 3•6 years ago
|
||
The provision request is executed in background through AsyncTask and will
post the result once finished. However, when the DRM object is released
before onPostExecute() is called, there will be NPE. Use AsyncTask.cancel()
to avoid that.
Updated•6 years ago
|
Attachment #9127902 -
Attachment is obsolete: true
Pushed by jolin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/410c9a491935
cancel background task when releasing DRM object. r=snorp
Comment 5•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in
before you can comment on or make changes to this bug.
Description
•