google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.73k stars 6.03k forks source link

TrackSelectionDialog : androidx.appcompat.app.AppCompatDialog.setTitle #10634

Closed nuclearmagneton closed 1 year ago

nuclearmagneton commented 2 years ago

ExoPlayer Version

2.18.1

Devices that reproduce the issue

Android: 10 Android Build: QP1A.190711.020 Manufacturer: vivo Model: V2027

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

I have received this in crashlytics

Expected result

show the dialog

Actual result

android.content.res.Resources$NotFoundException: String resource ID #0x0 at android.content.res.Resources.getText(Resources.java:408) at android.content.Context.getText(Context.java:626) at android.app.Dialog.setTitle(Dialog.java:660) at androidx.appcompat.app.AppCompatDialog.setTitle(AppCompatDialog.java) at com.google.android.exoplayer2.demo.TrackSelectionDialog.onCreateDialog(TrackSelectionDialog.java:14) at androidx.fragment.app.DialogFragment.prepareDialog(DialogFragment.java) at androidx.fragment.app.DialogFragment.onGetLayoutInflater(DialogFragment.java) at androidx.fragment.app.Fragment.performGetLayoutInflater(Fragment.java) at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java) at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java) at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java) at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java) at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java) at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java) at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java) at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java) at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java) at com.google.android.exoplayer2.demo.PlayerActivity.onStart(PlayerActivity.java:36) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1479) at android.app.Activity.performStart(Activity.java:7919) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3579) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:230) at android.app.ActivityThread.main(ActivityThread.java:7880) at java.lang.reflect.Method.invoke(Method.java:-2) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:526) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)

Media

any demo url

Bug Report

christosts commented 2 years ago

Possibly duplicate of #10409

icbaker commented 2 years ago

I'm un-duping this because the stack traces in #10409 refer to real resource IDs that our library does define, they just can't be found for some reason - whereas this one refers to a wrong/invalid (?) resource ID (0x0), so I think we should probably keep this separate.

icbaker commented 1 year ago

@nuclearmagneton Do you have any more information we can use to reproduce this? Without that there's little we can do I'm afraid.

google-oss-bot commented 1 year ago

Hey @nuclearmagneton. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot commented 1 year ago

Since there haven't been any recent updates here, I am going to close this issue.

@nuclearmagneton if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.