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

Setup of sync folders leads to crash #12835

Open
4 tasks done
dexic79 opened this issue Apr 6, 2024 · 0 comments
Open
4 tasks done

Setup of sync folders leads to crash #12835

dexic79 opened this issue Apr 6, 2024 · 0 comments
Labels

Comments

@dexic79
Copy link

dexic79 commented Apr 6, 2024

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

Go into the settings of a couple of setting folders. At some point, the app crashes.

Expected behaviour

No crash

Actual behaviour

Crash

Android version

12

Device brand and model

Fairphone 4

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

3.28.1

Nextcloud server version

Murena.io

Using a reverse proxy?

I don't know

Android logs

Cause of error

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 29, Size: 0
    at java.util.ArrayList.get(ArrayList.java:437)
    at com.owncloud.android.ui.adapter.SyncedFolderAdapter.get(SyncedFolderAdapter.java:206)
    at com.owncloud.android.ui.activity.SyncedFoldersActivity.onSaveSyncedFolderPreference(SyncedFoldersActivity.kt:674)
    at com.owncloud.android.ui.dialog.SyncedFolderPreferencesDialogFragment$OnSyncedFolderSaveClickListener.onClick(SyncedFolderPreferencesDialogFragment.kt:482)
    at android.view.View.performClick(View.java:7455)
    at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1213)
    at android.view.View.performClickInternal(View.java:7432)
    at android.view.View.access$3700(View.java:835)
    at android.view.View$PerformClick.run(View.java:28810)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:201)
    at android.os.Looper.loop(Looper.java:288)
    at android.app.ActivityThread.main(ActivityThread.java:7870)
    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:1003)

App information

  • ID: com.nextcloud.client
  • Version: 30280190
  • Build flavor: generic

Device information

  • Brand: Fairphone
  • Device: FP4
  • Model: FP4
  • Id: SQ3A.220705.004
  • Product: FP4eea

Firmware

  • SDK: 32
  • Release: 12
  • Incremental: eng.root.20240325.215908

Server error logs

No response

Additional information

No response

@dexic79 dexic79 added the bug label Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant