Closed Bug 1701234 Opened 3 years ago Closed 2 years ago

Crash in [@ java.lang.NullPointerException: at org.mozilla.gecko.SpeechSynthesisService$2.run(SpeechSynthesisService.java)]

Categories

(Core :: Web Speech, defect)

Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- wontfix
firefox95 --- wontfix
firefox96 --- fixed

People

(Reporter: jcristau, Assigned: m_kato)

References

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/c21dcf7a-dec7-4488-aca4-b3d300210326

Java stack trace:

java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Locale android.speech.tts.TextToSpeech.getDefaultLanguage()' on a null object reference
	at org.mozilla.gecko.SpeechSynthesisService$2.run(SpeechSynthesisService.java:2)
	at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:8)

Even if landing bug 1697683, this NullPointerException occurs on the
background thread. So I would like to add more null check for this crash.

Assignee: nobody → m_kato
Status: NEW → ASSIGNED
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/0faff3d4c52c
Add more null check on the background thread. r=geckoview-reviewers,agi
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: