-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
⚠️ 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
Cause of error
Exception in thread "main" java.lang.IllegalArgumentException: Expedited jobs only support network and storage constraints
at androidx.work.WorkRequest$Builder.build(WorkRequest.kt:302)
at com.nextcloud.client.jobs.BackgroundJobManagerImpl.startAutoUpload(BackgroundJobManagerImpl.kt:511)
at com.nextcloud.client.jobs.BackgroundJobManager.startAutoUpload$default(BackgroundJobManager.kt:123)
at com.owncloud.android.ui.activity.SyncedFoldersActivity.saveOrUpdateSyncedFolder(SyncedFoldersActivity.kt:746)
at com.owncloud.android.ui.activity.SyncedFoldersActivity.onSaveSyncedFolderPreference(SyncedFoldersActivity.kt:712)
at com.owncloud.android.ui.dialog.SyncedFolderPreferencesDialogFragment$OnSyncedFolderSaveClickListener.onClick(SyncedFolderPreferencesDialogFragment.kt:489)
at android.view.View.performClick(View.java:7740)
at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1345)
at android.view.View.performClickInternal(View.java:7710)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:30629)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:368)
at android.app.ActivityThread.main(ActivityThread.java:8839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)App information
- ID:
com.nextcloud.client - Version:
30360052 - Build flavor:
gplay
Device information
- Brand:
OnePlus - Device:
OnePlus9Pro - Model:
LE2123 - Id:
UKQ1.230924.001 - Product:
OnePlus9Pro_EEA
Firmware
- SDK:
34 - Release:
14 - Incremental:
R.209d31b_1-39324b
Expected behaviour
I've added a folder sync with following enabled settings:
subfolder, skip duplicates, only when charging, only wifi
Actual behaviour
An error occurs and the app crashes
Android version
14
Device brand and model
One Plus 9 Pro
Stock or custom OS?
Stock
Nextcloud android app version
30360052
Nextcloud server version
31.0.14
Using a reverse proxy?
Yes
Android logs
No response
Server error logs
Additional information
No response
Reactions are currently unavailable