nextcloud / nextcloud/notes-android
Error during synchronization
Open
Nobody has claimed this yet.
0. Needs triage
bug
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 168
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 31
Description
This issue respects the following points:
- I have read the FAQ
- I have searched for existing issues
- The issue affects the Notes Android app, neither the Notes server app nor the Nextcloud Android app.
Describe the bug
All changes made in Android lead to this synchronization error. However, changes made on the server can be synchronized with the Android app.
Expected behavior
No response
Notes Android version
4.4.0
Notes server version
4.12.2
Nextcloud Android version
3.32.2
Nextcloud version
31.0.7
Device
Nokia XR20
Android Version
14
App Store
- Google Play Store
- F-Droid
- Huawei App Gallery
Stacktrace
App Version: 4.4.0
App Version Code: 40040090
App Flavor: play
Files App Version Code: 30320290 (PROD)
---
OS Version: 5.4.259-qgki-g18db49f8c3de(00WW_4_20C)
OS API Level: 34
Device: TTG_sprout
Manufacturer: HMD Global
Model (and Product): Nokia XR20 (TheThing_00EEA)
---
java.lang.Exception: {"errorType":"RuntimeException"}
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:164)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:524)
at java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in NotesServerSyncTask.java at pushLocalChanges (line 164), then trace how run (line 100) handles synchronization. Reproduce the failure with Notes Android 4.4.0 and inspect the server response associated with the RuntimeException; done means local Android changes synchronize successfully while preserving server-to-device synchronization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100