-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
Description
Version
6.16.0
What platforms are you having the problem on?
Android
System Version
13-15
On what device are you experiencing the issue?
Real device
Architecture
New architecture with interop layer
What happened?
Fatal Exception: java.lang.ClassCastException: com.google.android.exoplayer2.ui.DefaultTimeBar cannot be cast to androidx.media3.ui.TimeBar
at androidx.media3.ui.PlayerControlView.<init>(PlayerControlView.java:627)
at androidx.media3.ui.PlayerView.<init>(PlayerView.java:575)
at androidx.media3.ui.PlayerView.<init>(PlayerView.java:345)
at androidx.media3.ui.PlayerView.<init>(PlayerView.java:341)
at com.brentvatne.exoplayer.ExoPlayerView.<init>(ExoPlayerView.kt:42)
at com.brentvatne.exoplayer.ExoPlayerView.<init>(ExoPlayerView.kt:25)
at com.brentvatne.exoplayer.ExoPlayerView.<init>(:11)
at com.brentvatne.exoplayer.ReactExoplayerView.createViews(ReactExoplayerView.java:350)
at com.brentvatne.exoplayer.ReactExoplayerView.<init>(ReactExoplayerView.java:329)
at com.brentvatne.exoplayer.ReactExoplayerViewManager.createViewInstance(ReactExoplayerViewManager.kt:67)
at com.brentvatne.exoplayer.ReactExoplayerViewManager.createViewInstance(ReactExoplayerViewManager.kt:20)
at com.facebook.react.uimanager.ViewManager.createViewInstance(ViewManager.java:216)
at com.facebook.react.uimanager.ViewManager.createView(ViewManager.java:148)
at com.facebook.react.fabric.mounting.SurfaceMountingManager.createViewUnsafe(SurfaceMountingManager.java:674)
at com.facebook.react.fabric.mounting.SurfaceMountingManager.preallocateView(SurfaceMountingManager.java:1085)
at com.facebook.react.fabric.mounting.mountitems.PreAllocateViewMountItem.execute(PreAllocateViewMountItem.kt:38)
at com.facebook.react.fabric.mounting.MountItemDispatcher.executeOrEnqueue(MountItemDispatcher.java:347)
at com.facebook.react.fabric.mounting.MountItemDispatcher.dispatchPreMountItemsImpl(MountItemDispatcher.java:325)
at com.facebook.react.fabric.mounting.MountItemDispatcher.dispatchPreMountItems(MountItemDispatcher.java:300)
at com.facebook.react.fabric.FabricUIManager$DispatchUIFrameCallback.doFrameGuarded(FabricUIManager.java:1486)
at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.kt:25)
at com.facebook.react.modules.core.ReactChoreographer.frameCallback$lambda$1(ReactChoreographer.kt:59)
at com.facebook.react.modules.core.ReactChoreographer.$r8$lambda$nSkFhrr5T7rop_XKwzlLov4NLLw()
at com.facebook.react.modules.core.ReactChoreographer$$ExternalSyntheticLambda0.doFrame(D8$$SyntheticClass)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1619)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1630)
at android.view.Choreographer.doCallbacks(Choreographer.java:1154)
at android.view.Choreographer.doFrame(Choreographer.java:1039)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1604)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:282)
at android.os.Looper.loop(Looper.java:387)
at android.app.ActivityThread.main(ActivityThread.java:9500)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1005)
Reproduction Link
repository link
Reproduction
Step to reproduce this bug are:
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To Triage