Page MenuHomePhabricator

NPE crashes from android.webkit.AccessibilityInjector$TextToSpeechWrapper$1.onInit
Closed, DeclinedPublic

Description

NullPointerException
at android.webkit.AccessibilityInjector$TextToSpeechWrapper$1.onInit(AccessibilityInjector.java:753)
at android.speech.tts.TextToSpeech.dispatchOnInit(TextToSpeech.java:640)
at android.speech.tts.TextToSpeech.initTts(TextToSpeech.java:619)
at android.speech.tts.TextToSpeech.<init>(TextToSpeech.java:553)
at android.webkit.AccessibilityInjector$TextToSpeechWrapper.<init>(AccessibilityInjector.java:676)
[...]

E.g.:
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7691215
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7694345
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7831154
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7909002
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=8120185
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=8188268

Event Timeline

Krenair raised the priority of this task from to Needs Triage.
Krenair updated the task description. (Show Details)
Krenair subscribed.

Issue occurs apparently while Talkback is enabled on pre-4.3 devices - https://code.google.com/p/android/issues/detail?id=40944

Niedzielski changed the task status from Open to Stalled.Apr 29 2015, 6:45 PM

I cannot repro on 4.2.x stock nor Genymotion emulators with Google Talkback. Waiting for OTRS access for further diagnosis.

Unassigning as I don't have a device that I can repro this on. Looking at the callstack, I'm not sure there's anything we can do to work around this issue. This is a bug in the WebView. We could catch the NPE but it happens when inflating the view which would leave an empty UI.

Niedzielski changed the task status from Stalled to Open.May 4 2015, 9:14 PM
Niedzielski removed Niedzielski as the assignee of this task.
Niedzielski moved this task from Doing to To Do on the Mobile-App-Sprint-56-Android board.
Dbrant claimed this task.
Dbrant subscribed.

no longer happening, and/or device-specific.