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

StringIndexOutOfBoundsException on FileUtils#fromContentUri #4242

Open
amaze-issue-automation bot opened this issue Aug 25, 2024 · 0 comments
Open

StringIndexOutOfBoundsException on FileUtils#fromContentUri #4242

amaze-issue-automation bot opened this issue Aug 25, 2024 · 0 comments
Labels
From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

Exception

  • App Name: Amaze Dosya Yöneticisi
  • Package: com.amaze.filemanager
  • Version: 3.10
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 13 - 33
  • Device: merlinx
  • Model: Pixel XL
  • Product: lineage_merlinx
Crash log

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amaze.filemanager/com.amaze.filemanager.ui.activities.MainActivity}: java.lang.StringIndexOutOfBoundsException: length=9; index=13
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3645)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3782)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7924)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.StringIndexOutOfBoundsException: length=9; index=13
at java.lang.String.substring(String.java:2429)
at com.amaze.filemanager.filesystem.files.FileUtils.fromContentUri(FileUtils.java:1018)
at com.amaze.filemanager.ui.activities.MainActivity.checkForExternalIntent(MainActivity.java:617)
at com.amaze.filemanager.ui.activities.MainActivity.onCreate(MainActivity.java:395)
at android.app.Activity.performCreate(Activity.java:8342)
at android.app.Activity.performCreate(Activity.java:8321)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1417)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3626)
... 12 more


Reporter: Yufusi1

@amaze-issue-automation amaze-issue-automation bot added the From-telegram Issue reported through telegram channel label Aug 25, 2024
@VishnuSanal VishnuSanal changed the title Crash reported by Yufusi1 StringIndexOutOfBoundsException on FileUtils#fromContentUri Aug 26, 2024
@VishnuSanal VishnuSanal added the Issue-Bug Related unexpected behavior or something worth investigating. label Aug 26, 2024
Playgirlkaybraz11 referenced this issue Aug 29, 2024
fix NPE on LoadFilesListTask#listTrashBinFiles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

No branches or pull requests

1 participant