Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking back for "Local version of video" page generates errors #6825

Open
3 tasks done
Figim opened this issue Nov 26, 2024 · 0 comments
Open
3 tasks done

Clicking back for "Local version of video" page generates errors #6825

Figim opened this issue Nov 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Figim
Copy link

Figim commented Nov 26, 2024

Steps to reproduce

  1. Play the downloaded video online
  2. "Local version of video" page has opened
  3. Instead of No and Yes, click the back button. Do not close the player
  4. Then play Another VİDEO or switch to the AUDİO PLAYER
  5. 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.
@Figim Figim added the bug Something isn't working label Nov 26, 2024
@Figim 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant