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

IllegalArgumentException on ContextLocaleExtKt#getLocaleListFromXml #4088

Closed
amaze-issue-automation bot opened this issue Feb 23, 2024 · 1 comment
Closed
Labels
From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating.
Milestone

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

Exception

  • App Name: Administrador de Archivos Amaze
  • Package: com.amaze.filemanager
  • Version: 3.10
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 7.1.1 - 25
  • Device: nicklaus_f
  • Model: Moto E (4) Plus
  • Product: nicklaus_f
Crash log

java.lang.IllegalArgumentException: list[49] is a repetition
at android.os.LocaleList.<init>(LocaleList.java:172)
at
androidx.core.os.LocaleListCompat$Api24Impl.createLocaleList(LocaleListCompat.java:341)
at androidx.core.os.LocaleListCompat.create(LocaleListCompat.java:77)
at
androidx.core.os.LocaleListCompat.forLanguageTags(LocaleListCompat.java:172)
at
com.amaze.filemanager.utils.ContextLocaleExtKt.getLocaleListFromXml(ContextLocaleExt.kt:53)
at
com.amaze.filemanager.utils.ContextLocaleExtKt.getLangPreferenceDropdownEntries(ContextLocaleExt.kt:62)
at
com.amaze.filemanager.ui.fragments.preferencefragments.UiPrefsFragment.onCreatePreferences(UiPrefsFragment.kt:53)
at
androidx.preference.PreferenceFragmentCompat.onCreate(PreferenceFragmentCompat.java:161)
at androidx.fragment.app.Fragment.performCreate(Fragment.java:3090)
at
androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:475)
at
androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:257)
at
androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1901)
at
androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1819)
at
androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1762)
at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:547)
at android.os.Handler.handleCallback(Handler.java:836)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6339)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1084)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:945)


@amaze-issue-automation amaze-issue-automation bot added the From-Email This is from an email, probably lacking replication info label Feb 23, 2024
@VishnuSanal VishnuSanal changed the title Crash reported by Ezequiel IllegalArgumentException on ContextLocaleExtKt#getLocaleListFromXml Feb 23, 2024
@VishnuSanal VishnuSanal added the Issue-Bug Related unexpected behavior or something worth investigating. label Feb 23, 2024
@TranceLove
Copy link
Collaborator

Can be fixed by either #4085 or #4092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

No branches or pull requests

3 participants