-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
bugperformance: ISE/IAE 😕Illegal State Exception / Illegal Argument ExceptionIllegal State Exception / Illegal Argument Exceptionregressionstable-3.26
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
- Open "Documents" folder in root Directory
Expected behaviour
Getting "Documents" folder contents displayed
Actual behaviour
Getting "Server not found" and no folder contents listed
Android version
14
Device brand and model
Google Pixel 7a
Stock or custom OS?
Stock
Nextcloud android app version
3.26.0
Nextcloud server version
27.1.2
Using a reverse proxy?
Yes
Android logs
10-07 08:47:43.396 28706 4370 D RefreshFolderOperation: Remote folder / changed - starting update of local data
10-07 08:47:43.396 28706 4370 D FileDataStorageManager: getFolderContent - start
10-07 08:47:43.424 28706 4370 D FileDataStorageManager: getFolderContent - finished
10-07 08:47:43.438 28706 4370 D FileDataStorageManager: Saving folder / with 63 children and 0 files to remove
10-07 08:47:43.460 28706 4370 D FileDataStorageManager: Sending 64 operations to FileContentProvider
10-07 08:47:43.461 28706 4370 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@7615ac3 (temporary: false)
10-07 08:47:43.562 28706 4370 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@7615ac3
10-07 08:47:43.568 28706 4370 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
10-07 08:47:43.570 28706 4370 D OwnCloudClient #2: REQUEST GET /ocs/v2.php/apps/files_sharing/api/v1/shares
10-07 08:47:43.583 28706 28706 D FileDisplayActivity: Received broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
10-07 08:47:43.587 28706 28706 D FileDisplayActivity: Setting progress visibility to true
10-07 08:47:43.899 4974 10937 D ModemODPMPoller: Current Modem ODPM (mw): 35, threshold: 800
10-07 08:47:43.957 28706 4370 D GetSharesForFileRemoteOperation: Got 0 shares
10-07 08:47:43.962 28706 4370 D FileDataStorageManager: getFolderContent - start
10-07 08:47:43.996 28706 4370 D FileDataStorageManager: getFolderContent - finished
10-07 08:47:43.997 28706 4370 D FileDataStorageManager: Sending 63 operations to FileContentProvider
10-07 08:47:43.998 28706 4370 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@7615ac3 (temporary: false)
10-07 08:47:44.176 28706 4370 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@7615ac3
10-07 08:47:44.176 28706 4370 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
10-07 08:47:44.177 28706 28706 D FileDisplayActivity: Received broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
10-07 08:47:44.179 28706 28706 D FileDisplayActivity: Setting progress visibility to false
10-07 08:47:44.180 28706 28706 D FileDataStorageManager: getFolderContent - start
10-07 08:47:44.183 28706 28706 D FileDataStorageManager: getFolderContent - finished
10-07 08:47:44.521 1477 1511 D RILClient: [OemClient]IND: (clientId = 0, msgId = 2015, dataLength = 148, channel = 0)
10-07 08:47:44.522 1382 2204 D RILClient: [OemClient]IND: (clientId = 1, msgId = 2015, dataLength = 148, channel = 0)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: Synchronized /Documents/: Unexpected exception
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:397)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.Gson.fromJson(Gson.java:1227)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.Gson.fromJson(Gson.java:1137)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.Gson.fromJson(Gson.java:1047)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.Gson.fromJson(Gson.java:982)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.common.network.WebdavEntry.<init>(WebdavEntry.kt:406)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.resources.files.ReadFolderRemoteOperation.readData(ReadFolderRemoteOperation.java:151)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.resources.files.ReadFolderRemoteOperation.run(ReadFolderRemoteOperation.java:88)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:205)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.operations.RefreshFolderOperation.fetchAndSyncRemoteFolder(RefreshFolderOperation.java:405)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:239)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:399)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at java.lang.Thread.run(Thread.java:1012)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:393)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:386)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: ... 12 more
Server error logs
No response
Additional information
Could not find any log files on android so I obtained these logs via adb logcat
Every other folder on the server works without any problems
dmcallejo, Lime-Parallelogram, varac, spikeygg, AdmiralNemo and 1 more
Metadata
Metadata
Assignees
Labels
bugperformance: ISE/IAE 😕Illegal State Exception / Illegal Argument ExceptionIllegal State Exception / Illegal Argument Exceptionregressionstable-3.26