sadr0b0t / yashlang

PeerTube and YouTube player for Android with local playlists and whitelisted recommendations
GNU General Public License v3.0
52 stars 3 forks source link

NullPointerException при проигрывании видео с возрастным ограничением из недобавленного плейлиста #85

Open sadr0b0t opened 3 years ago

sadr0b0t commented 3 years ago
java.lang.NullPointerException: Attempt to invoke virtual method 'long su.sadrobot.yashlang.model.VideoItem.getId()' on a null object reference
    at su.sadrobot.yashlang.WatchVideoActivity.playVideoItem(WatchVideoActivity.java:1360)
    at su.sadrobot.yashlang.WatchVideoActivity.access$300(WatchVideoActivity.java:95)
    at su.sadrobot.yashlang.WatchVideoActivity$14$1.run(WatchVideoActivity.java:707)
    at android.os.Handler.handleCallback(Handler.java:793)
    at android.os.Handler.dispatchMessage(Handler.java:98)
    at android.os.Looper.loop(Looper.java:176)
    at android.app.ActivityThread.main(ActivityThread.java:6701)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:249)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)