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

[BUG]: Android stuck on full screen when click on back the player started #4325

Open
hizbullaharif opened this issue Dec 9, 2024 · 3 comments
Labels
bug demo requested Please submit a simple app that shows the issue Platform: Android

Comments

@hizbullaharif
Copy link

Version

6.8.2

What platforms are you having the problem on?

Android

System Version

Mac

On what device are you experiencing the issue?

Real device, Simulator

Architecture

Old architecture

What happened?

A bug happened! occur on full screen

{"error": {"errorCode": "1001", "errorException": "java.lang.IndexOutOfBoundsException: index=1 count=0", "errorStackTrace": "java.lang.IndexOutOfBoundsException: index=1 count=0
at android.view.ViewGroup.addInArray(ViewGroup.java:5385)
at android.view.ViewGroup.addViewInner(ViewGroup.java:5278)
at android.view.ViewGroup.addView(ViewGroup.java:5085)
at com.brentvatne.exoplayer.ReactExoplayerView.addPlayerControl(ReactExoplayerView.java:545)
at com.brentvatne.exoplayer.ReactExoplayerView.setControls(ReactExoplayerView.java:2419)
at com.brentvatne.exoplayer.ReactExoplayerView.finishPlayerInitialization(ReactExoplayerView.java:981)
at com.brentvatne.exoplayer.ReactExoplayerView.initializePlayerSource(ReactExoplayerView.java:975)
at com.brentvatne.exoplayer.ReactExoplayerView.lambda$initializePlayer$9(ReactExoplayerView.java:783)
at com.brentvatne.exoplayer.ReactExoplayerView.$r8$lambda$RBvrxfYCABPDk1GW_PBMyhbP7c4(Unknown Source:0)
at com.brentvatne.exoplayer.ReactExoplayerView$$ExternalSyntheticLambda5.run(Unknown Source:6)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8705)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)
", "errorString": "java.lang.IndexOutOfBoundsException: index=1 count=0"}}

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are: video uri full screen

@hizbullaharif hizbullaharif changed the title [BUG]: Android stuck on full when click on back the player started [BUG]: Android stuck on full screen when click on back the player started Dec 9, 2024
Copy link

github-actions bot commented Dec 9, 2024

Previous bot comment (click to expand)

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

Copy link

github-actions bot commented Dec 9, 2024

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

@freeboub
Copy link
Collaborator

Is it possible to get a sample to reproduce the issue ?

@freeboub freeboub added demo requested Please submit a simple app that shows the issue Platform: Android labels Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug demo requested Please submit a simple app that shows the issue Platform: Android
Projects
None yet
Development

No branches or pull requests

2 participants