You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of No and Yes, click the back button. Do not close the player
Then play Another VİDEO or switch to the AUDİO PLAYER
Error
Expected behavior
Fix playback errors when going back from "Local version of video" page
Actual behavior
XRecorder_26112024_113523.mp4
LibreTube version
0.26.0 Debug
Android version
All
Other details
FATAL EXCEPTION: main
Process: com.github.libretube.debug, PID: 4755
kotlin.UninitializedPropertyAccessException: lateinit property playerController has not been initialized
at com.github.libretube.ui.fragments.PlayerFragment.playNextVideo(PlayerFragment.kt:1024)
at com.github.libretube.helpers.NavigationHelper$navigateVideo$attachedToRunningPlayer$1.invoke(NavigationHelper.kt:72)
at com.github.libretube.helpers.NavigationHelper$navigateVideo$attachedToRunningPlayer$1.invoke(NavigationHelper.kt:71)
at com.github.libretube.ui.activities.MainActivity.runOnPlayerFragment(MainActivity.kt:645)
at com.github.libretube.helpers.NavigationHelper.navigateVideo(NavigationHelper.kt:71)
at com.github.libretube.helpers.NavigationHelper.navigateVideo$default(NavigationHelper.kt:54)
at com.github.libretube.ui.adapters.WatchHistoryAdapter.onBindViewHolder$lambda$6$lambda$3(WatchHistoryAdapter.kt:79)
at com.github.libretube.ui.adapters.WatchHistoryAdapter.$r8$lambda$O9lE7SkhPx4WEr2KscWejda2vxE(Unknown Source:0)
at com.github.libretube.ui.adapters.WatchHistoryAdapter$$ExternalSyntheticLambda1.onClick(D8$$SyntheticClass:0)
at android.view.View.performClick(View.java:7792)
at android.view.View.performClickInternal(View.java:7769)
at android.view.View.access$3800(View.java:910)
at android.view.View$PerformClick.run(View.java:30218)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Acknowledgements
I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
I have written a short but informative title.
I will fill out all of the requested information in this form.
The text was updated successfully, but these errors were encountered:
Figim
changed the title
Clicking back on the "Local version of video" page generates errors
Clicking back for "Local version of video" page generates errors
Nov 26, 2024
Steps to reproduce
Expected behavior
Fix playback errors when going back from "Local version of video" page
Actual behavior
XRecorder_26112024_113523.mp4
LibreTube version
0.26.0 Debug
Android version
All
Other details
FATAL EXCEPTION: main
Process: com.github.libretube.debug, PID: 4755
kotlin.UninitializedPropertyAccessException: lateinit property playerController has not been initialized
at com.github.libretube.ui.fragments.PlayerFragment.playNextVideo(PlayerFragment.kt:1024)
at com.github.libretube.helpers.NavigationHelper$navigateVideo$attachedToRunningPlayer$1.invoke(NavigationHelper.kt:72)
at com.github.libretube.helpers.NavigationHelper$navigateVideo$attachedToRunningPlayer$1.invoke(NavigationHelper.kt:71)
at com.github.libretube.ui.activities.MainActivity.runOnPlayerFragment(MainActivity.kt:645)
at com.github.libretube.helpers.NavigationHelper.navigateVideo(NavigationHelper.kt:71)
at com.github.libretube.helpers.NavigationHelper.navigateVideo$default(NavigationHelper.kt:54)
at com.github.libretube.ui.adapters.WatchHistoryAdapter.onBindViewHolder$lambda$6$lambda$3(WatchHistoryAdapter.kt:79)
at com.github.libretube.ui.adapters.WatchHistoryAdapter.$r8$lambda$O9lE7SkhPx4WEr2KscWejda2vxE(Unknown Source:0)
at com.github.libretube.ui.adapters.WatchHistoryAdapter$$ExternalSyntheticLambda1.onClick(D8$$SyntheticClass:0)
at android.view.View.performClick(View.java:7792)
at android.view.View.performClickInternal(View.java:7769)
at android.view.View.access$3800(View.java:910)
at android.view.View$PerformClick.run(View.java:30218)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Acknowledgements
The text was updated successfully, but these errors were encountered: