stefan-niedermann / nextcloud-tables

📊 Android client for nextcloud tables app
https://play.google.com/store/apps/details?id=it.niedermann.nextcloud.tables.play
GNU General Public License v3.0
29 stars 5 forks source link

Crash on refresh #23

Open AndyScherzinger opened 11 months ago

AndyScherzinger commented 11 months ago

Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug

Crash on refresh of a table

Steps to reproduce the behavior:

  1. Pull to. Refresh on any table

Expected behavior

Sync

Screenshots

Versions

Smartphone (please complete the following information):

Stacktrace

App Version: 1.1.2
App Version Code: 1001002
Server App Version: 27.1.0
App Flavor: fdroid

Files App Version Code: 30270000 (PROD)

---

OS Version: 5.4.210-qgki-gb141df486402(R.11f3c87-1-5605)
OS API Level: 33
Device: OnePlus9Pro
Manufacturer: OnePlus
Model (and Product): LE2123 (OnePlus9Pro_EEA)

---

java.util.concurrent.CompletionException: com.nextcloud.android.sso.exceptions.NextcloudHttpRequestFailedException: HTTP-Anfrage ist fehlgeschlagen mit HTTP-Statuscode: 520
    at it.niedermann.nextcloud.tables.ui.table.view.ViewTableViewModel.lambda$synchronizeAccountAndTables$0$it-niedermann-nextcloud-tables-ui-table-view-ViewTableViewModel(ViewTableViewModel.java:50)
    at it.niedermann.nextcloud.tables.ui.table.view.ViewTableViewModel$$ExternalSyntheticLambda1.get(Unknown Source:4)
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1676)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
    at java.lang.Thread.run(Thread.java:1012)
Caused by: com.nextcloud.android.sso.exceptions.NextcloudHttpRequestFailedException: HTTP-Anfrage ist fehlgeschlagen mit HTTP-Statuscode: 520
    at it.niedermann.nextcloud.tables.repository.ServerErrorHandler.handle(ServerErrorHandler.java:53)
    at it.niedermann.nextcloud.tables.repository.ServerErrorHandler.handle(ServerErrorHandler.java:29)
    at it.niedermann.nextcloud.tables.repository.AccountRepository.synchronizeCapabilities(AccountRepository.java:148)
    at it.niedermann.nextcloud.tables.repository.AccountRepository.synchronizeAccount(AccountRepository.java:97)
    at it.niedermann.nextcloud.tables.ui.table.view.ViewTableViewModel.lambda$synchronizeAccountAndTables$0$it-niedermann-nextcloud-tables-ui-table-view-ViewTableViewModel(ViewTableViewModel.java:46)
    ... 5 more
Caused by: java.lang.RuntimeException: 
    ... 10 more
Benjamin-Watson0 commented 10 months ago

Same problem but in Android 10.

Fruitsmart commented 9 months ago

Hey, I have the same problem too. I have Android 14. Is there already a solution for this?

pawlosck commented 2 months ago

I have the same problem, but in my case problem happen after remove table on the server. After that, I created similar tab, but one column changed type and added second column. I couldn't download new tab. Generally, I couldn't do anything. I had to reinstall app and login again to download current tables.