question

newuser-bff9b817-c623-46ff-ad2e-633af99adf96 avatar image
newuser-bff9b817-c623-46ff-ad2e-633af99adf96 asked ·

Fire TV Webview exoplayer crash

Hi, we are seeing a lot of nullpointer crashes come from exoplayer in webview on Fire TV. Most of crashes are coming from Fire OS 5 and a small amount of crashes are from Fire OS 7.

We are using the default webview in Fire OS to stream video. Here is the crash stacktrace:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.exoplayer2.SimpleExoPlayer.stop()' on a null object reference at com.amazon.mediaplayer.exoplayer.ExoPlayer2StateMachineImpl.stopPlayer(ExoPlayer2StateMachineImpl.java:623) at com.amazon.mediaplayer.exoplayer.ExoPlayerStateMachineImplBase$OpeningSources.processMessage(ExoPlayerStateMachineImplBase.java:499) at com.amazon.mediaplayer.StateMachineUtil.StateMachine$SmHandler.processMsg(StateMachine.java:906) at com.amazon.mediaplayer.StateMachineUtil.StateMachine$SmHandler.handleMessage(StateMachine.java:761) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.os.HandlerThread.run(HandlerThread.java:61)

fire tvandroidweb apps
1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi there,

Please specify the exact OS version and device model, and also provide the video / URL you were viewing when the crash occurred. Thanks!

0 Likes 0 ·

0 Answers