Closed Bug 1057866 Opened 6 years ago Closed 6 years ago

crash in java.lang.NullPointerException: at org.mozilla.gecko.ChromeCast.verifySession(ChromeCast.java)

Categories

(Firefox for Android :: Screencasting, defect)

34 Branch
All
Android
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Firefox 34
Tracking Status
firefox33 --- fixed
firefox34 --- fixed
fennec 33+ ---

People

(Reporter: aaronmt, Assigned: wesj)

References

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is 
report bp-9c5276d4-aef8-4246-9fd9-406a52140823.
=============================================================

java.lang.NullPointerException
	at org.mozilla.gecko.ChromeCast.verifySession(ChromeCast.java:230)
	at org.mozilla.gecko.ChromeCast.end(ChromeCast.java:283)
	at org.mozilla.gecko.MediaPlayerManager.handleMessage(MediaPlayerManager.java:166)
	at org.mozilla.gecko.EventDispatcher.dispatchEvent(EventDispatcher.java:168)
	at org.mozilla.gecko.GeckoAppShell.handleGeckoMessage(GeckoAppShell.java:2303)
	at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
	at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
	at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
	at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:363)
	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:186)
Assignee: nobody → wjohnston
tracking-fennec: --- → 33+
Status: NEW → ASSIGNED
Attached patch PatchSplinter Review
Sometimes callback is null. But I also refactored this a bit to simplify some redundant code.
Attachment #8478370 - Flags: review?(mark.finkle)
Attachment #8478370 - Flags: review?(mark.finkle) → review+
Comment on attachment 8478370 [details] [diff] [review]
Patch

Approval Request Comment
[Feature/regressing bug #]: chromecast
[User impact if declined]: crash
[Describe test coverage new/current, TBPL]: wip
[Risks and why]: Low risk. Just null checks the callback.
[String/UUID change made/needed]: none
Attachment #8478370 - Flags: approval-mozilla-aurora?
Blocks: 901803
https://hg.mozilla.org/mozilla-central/rev/7f82db190a84
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Attachment #8478370 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.