Created
December 16, 2015 16:53
-
-
Save mgp/789e1024fe439af391f8 to your computer and use it in GitHub Desktop.
Android video player crash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12-16 11:39:27.094 2266-2266/org.khanacademy.android.debug E/RxJavaErrorHandler: Unhandled onError. | |
java.util.NoSuchElementException: Sequence contains no elements | |
at rx.internal.operators.OperatorSingle$ParentSubscriber.onCompleted(OperatorSingle.java:131) | |
at rx.internal.operators.OperatorTake$1.onCompleted(OperatorTake.java:53) | |
at rx.internal.operators.NotificationLite.accept(NotificationLite.java:140) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.accept(SubjectSubscriptionManager.java:319) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.emitLoop(SubjectSubscriptionManager.java:292) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.emitFirst(SubjectSubscriptionManager.java:271) | |
at rx.subjects.BehaviorSubject$1.call(BehaviorSubject.java:106) | |
at rx.subjects.BehaviorSubject$1.call(BehaviorSubject.java:102) | |
at rx.subjects.SubjectSubscriptionManager.add(SubjectSubscriptionManager.java:96) | |
at rx.subjects.SubjectSubscriptionManager.call(SubjectSubscriptionManager.java:61) | |
at rx.subjects.SubjectSubscriptionManager.call(SubjectSubscriptionManager.java:35) | |
at rx.Observable$2.call(Observable.java:162) | |
at rx.Observable$2.call(Observable.java:154) | |
at rx.Observable$2.call(Observable.java:162) | |
at rx.Observable$2.call(Observable.java:154) | |
at rx.Observable.subscribe(Observable.java:7804) | |
at rx.Observable.subscribe(Observable.java:7772) | |
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432) | |
at rx.observables.BlockingObservable.first(BlockingObservable.java:159) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.getPlayerStateBlocking(ExoVideoPlayer.java:429) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.isPlayerReady(ExoVideoPlayer.java:433) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.access$500(ExoVideoPlayer.java:45) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer$ExoPlayerVideoPlayerControl.canSeekForward(ExoVideoPlayer.java:308) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.disableUnsupportedButtons(VideoPlayerControllerView.java:395) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.showForDuration(VideoPlayerControllerView.java:440) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.showAndHideAfterPlaybackInactivity(VideoPlayerControllerView.java:412) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.lambda$initializeVideoPlayer$110(VideoPlayerControllerView.java:293) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.access$lambda$6(VideoPlayerControllerView.java) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView$$Lambda$7.call(Unknown Source) | |
at rx.Observable$27.onNext(Observable.java:7540) | |
at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:130) | |
at rx.internal.operators.OperatorTakeWhile$2.onNext(OperatorTakeWhile.java:69) | |
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:208) | |
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:170) | |
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55) | |
at android.os.Handler.handleCallback(Handler.java:739) | |
at android.os.Handler.dispatchMessage(Handler.java:95) | |
at android.os.Looper.loop(Looper.java:135) | |
at android.app.ActivityThread.main(ActivityThread.java:5254) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at java.lang.reflect.Method.invoke(Method.java:372) | |
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) | |
12-16 11:39:27.094 2266-2266/org.khanacademy.android.debug E/RxJavaErrorHandler: Unhandled onError. | |
java.util.NoSuchElementException: Sequence contains no elements | |
at rx.internal.operators.OperatorSingle$ParentSubscriber.onCompleted(OperatorSingle.java:131) | |
at rx.internal.operators.OperatorTake$1.onCompleted(OperatorTake.java:53) | |
at rx.internal.operators.NotificationLite.accept(NotificationLite.java:140) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.accept(SubjectSubscriptionManager.java:319) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.emitLoop(SubjectSubscriptionManager.java:292) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.emitFirst(SubjectSubscriptionManager.java:271) | |
at rx.subjects.BehaviorSubject$1.call(BehaviorSubject.java:106) | |
at rx.subjects.BehaviorSubject$1.call(BehaviorSubject.java:102) | |
at rx.subjects.SubjectSubscriptionManager.add(SubjectSubscriptionManager.java:96) | |
at rx.subjects.SubjectSubscriptionManager.call(SubjectSubscriptionManager.java:61) | |
at rx.subjects.SubjectSubscriptionManager.call(SubjectSubscriptionManager.java:35) | |
at rx.Observable$2.call(Observable.java:162) | |
at rx.Observable$2.call(Observable.java:154) | |
at rx.Observable$2.call(Observable.java:162) | |
at rx.Observable$2.call(Observable.java:154) | |
at rx.Observable.subscribe(Observable.java:7804) | |
at rx.Observable.subscribe(Observable.java:7772) | |
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432) | |
at rx.observables.BlockingObservable.first(BlockingObservable.java:159) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.getPlayerStateBlocking(ExoVideoPlayer.java:429) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.isPlayerReady(ExoVideoPlayer.java:433) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.access$500(ExoVideoPlayer.java:45) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer$ExoPlayerVideoPlayerControl.canSeekForward(ExoVideoPlayer.java:308) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.disableUnsupportedButtons(VideoPlayerControllerView.java:395) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.showForDuration(VideoPlayerControllerView.java:440) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.showAndHideAfterPlaybackInactivity(VideoPlayerControllerView.java:412) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.lambda$initializeVideoPlayer$110(VideoPlayerControllerView.java:293) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.access$lambda$6(VideoPlayerControllerView.java) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView$$Lambda$7.call(Unknown Source) | |
at rx.Observable$27.onNext(Observable.java:7540) | |
at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:130) | |
at rx.internal.operators.OperatorTakeWhile$2.onNext(OperatorTakeWhile.java:69) | |
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:208) | |
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:170) | |
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55) | |
at android.os.Handler.handleCallback(Handler.java:739) | |
at android.os.Handler.dispatchMessage(Handler.java:95) | |
at android.os.Looper.loop(Looper.java:135) | |
at android.app.ActivityThread.main(ActivityThread.java:5254) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at java.lang.reflect.Method.invoke(Method.java:372) | |
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) | |
12-16 11:39:27.094 2266-2266/org.khanacademy.android.debug E/RxJavaErrorHandler: Unhandled onError. | |
java.util.NoSuchElementException: Sequence contains no elements | |
at rx.internal.operators.OperatorSingle$ParentSubscriber.onCompleted(OperatorSingle.java:131) | |
at rx.internal.operators.OperatorTake$1.onCompleted(OperatorTake.java:53) | |
at rx.internal.operators.NotificationLite.accept(NotificationLite.java:140) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.accept(SubjectSubscriptionManager.java:319) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.emitLoop(SubjectSubscriptionManager.java:292) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.emitFirst(SubjectSubscriptionManager.java:271) | |
at rx.subjects.BehaviorSubject$1.call(BehaviorSubject.java:106) | |
at rx.subjects.BehaviorSubject$1.call(BehaviorSubject.java:102) | |
at rx.subjects.SubjectSubscriptionManager.add(SubjectSubscriptionManager.java:96) | |
at rx.subjects.SubjectSubscriptionManager.call(SubjectSubscriptionManager.java:61) | |
at rx.subjects.SubjectSubscriptionManager.call(SubjectSubscriptionManager.java:35) | |
at rx.Observable$2.call(Observable.java:162) | |
at rx.Observable$2.call(Observable.java:154) | |
at rx.Observable$2.call(Observable.java:162) | |
at rx.Observable$2.call(Observable.java:154) | |
at rx.Observable.subscribe(Observable.java:7804) | |
at rx.Observable.subscribe(Observable.java:7772) | |
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432) | |
at rx.observables.BlockingObservable.first(BlockingObservable.java:159) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.getPlayerStateBlocking(ExoVideoPlayer.java:429) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.isPlayerReady(ExoVideoPlayer.java:433) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.access$500(ExoVideoPlayer.java:45) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer$ExoPlayerVideoPlayerControl.canSeekForward(ExoVideoPlayer.java:308) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.disableUnsupportedButtons(VideoPlayerControllerView.java:395) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.showForDuration(VideoPlayerControllerView.java:440) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.showAndHideAfterPlaybackInactivity(VideoPlayerControllerView.java:412) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.lambda$initializeVideoPlayer$110(VideoPlayerControllerView.java:293) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.access$lambda$6(VideoPlayerControllerView.java) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView$$Lambda$7.call(Unknown Source) | |
at rx.Observable$27.onNext(Observable.java:7540) | |
at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:130) | |
at rx.internal.operators.OperatorTakeWhile$2.onNext(OperatorTakeWhile.java:69) | |
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:208) | |
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:170) | |
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55) | |
at android.os.Handler.handleCallback(Handler.java:739) | |
at android.os.Handler.dispatchMessage(Handler.java:95) | |
at android.os.Looper.loop(Looper.java:135) | |
at android.app.ActivityThread.main(ActivityThread.java:5254) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at java.lang.reflect.Method.invoke(Method.java:372) | |
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) | |
12-16 11:39:27.095 2266-2266/org.khanacademy.android.debug E/AndroidRuntime: FATAL EXCEPTION: main | |
Process: org.khanacademy.android.debug, PID: 2266 | |
java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling. | |
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:60) | |
at android.os.Handler.handleCallback(Handler.java:739) | |
at android.os.Handler.dispatchMessage(Handler.java:95) | |
at android.os.Looper.loop(Looper.java:135) | |
at android.app.ActivityThread.main(ActivityThread.java:5254) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at java.lang.reflect.Method.invoke(Method.java:372) | |
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) | |
Caused by: rx.exceptions.OnErrorNotImplementedException: Sequence contains no elements | |
at rx.Observable$27.onError(Observable.java:7535) | |
at rx.observers.SafeSubscriber._onError(SafeSubscriber.java:154) | |
at rx.observers.SafeSubscriber.onError(SafeSubscriber.java:111) | |
at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:137) | |
at rx.internal.operators.OperatorTakeWhile$2.onNext(OperatorTakeWhile.java:69) | |
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:208) | |
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:170) | |
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55) | |
at android.os.Handler.handleCallback(Handler.java:739) | |
at android.os.Handler.dispatchMessage(Handler.java:95) | |
at android.os.Looper.loop(Looper.java:135) | |
at android.app.ActivityThread.main(ActivityThread.java:5254) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at java.lang.reflect.Method.invoke(Method.java:372) | |
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) | |
Caused by: java.util.NoSuchElementException: Sequence contains no elements | |
at rx.internal.operators.OperatorSingle$ParentSubscriber.onCompleted(OperatorSingle.java:131) | |
at rx.internal.operators.OperatorTake$1.onCompleted(OperatorTake.java:53) | |
at rx.internal.operators.NotificationLite.accept(NotificationLite.java:140) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.accept(SubjectSubscriptionManager.java:319) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.emitLoop(SubjectSubscriptionManager.java:292) | |
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.emitFirst(SubjectSubscriptionManager.java:271) | |
at rx.subjects.BehaviorSubject$1.call(BehaviorSubject.java:106) | |
at rx.subjects.BehaviorSubject$1.call(BehaviorSubject.java:102) | |
at rx.subjects.SubjectSubscriptionManager.add(SubjectSubscriptionManager.java:96) | |
at rx.subjects.SubjectSubscriptionManager.call(SubjectSubscriptionManager.java:61) | |
at rx.subjects.SubjectSubscriptionManager.call(SubjectSubscriptionManager.java:35) | |
at rx.Observable$2.call(Observable.java:162) | |
at rx.Observable$2.call(Observable.java:154) | |
at rx.Observable$2.call(Observable.java:162) | |
at rx.Observable$2.call(Observable.java:154) | |
at rx.Observable.subscribe(Observable.java:7804) | |
at rx.Observable.subscribe(Observable.java:7772) | |
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:432) | |
at rx.observables.BlockingObservable.first(BlockingObservable.java:159) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.getPlayerStateBlocking(ExoVideoPlayer.java:429) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.isPlayerReady(ExoVideoPlayer.java:433) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer.access$500(ExoVideoPlayer.java:45) | |
at org.khanacademy.android.ui.videos.ExoVideoPlayer$ExoPlayerVideoPlayerControl.canSeekForward(ExoVideoPlayer.java:308) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.disableUnsupportedButtons(VideoPlayerControllerView.java:395) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.showForDuration(VideoPlayerControllerView.java:440) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.showAndHideAfterPlaybackInactivity(VideoPlayerControllerView.java:412) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.lambda$initializeVideoPlayer$110(VideoPlayerControllerView.java:293) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView.access$lambda$6(VideoPlayerControllerView.java) | |
at org.khanacademy.android.ui.videos.VideoPlayerControllerView$$Lambda$7.call(Unknown Source) | |
at rx.Observable$27.onNext(Observable.java:7540) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment