Skip to content

No sync #1889

@SaschaMuehl

Description

@SaschaMuehl

Please make a clear and concise description of what the bug is.

"```
App Version: 33.1.0
App Version Code: 330010090
App Flavor: fdroid

Files App Version Code: 330010190 (PROD)


OS Version: 5.15.189-android13-8-33413713-abS911BXXSAFZE1(S911BXXSAFZE1)
OS API Level: 36
Device: dm1q
Manufacturer: samsung
Model (and Product): SM-S911B (dm1qxeea)


java.lang.IllegalStateException: Duplicate key 15140024 (attempted merging values 16 and 17)
at java.util.stream.Collectors.duplicateKeyException(Collectors.java:135)
at java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:182)
at java.util.stream.Collectors$$ExternalSyntheticLambda1.accept(D8$$SyntheticClass:0)
at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1733)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:574)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:564)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:267)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:748)
at it.niedermann.owncloud.notes.persistence.NotesRepository.getIdMap(NotesRepository.java:545)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pullRemoteChanges(NotesServerSyncTask.java:213)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:101)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:520)
at java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:1572)



## Steps to reproduce
1. sync with server 


### Expected behaviour
Tell us what should happen

### Actual behaviour
sync server -> App works
sync App -> server does not work

## Server
Please complete the following information.

- Notes app version: 33.1.0
- Nextcloud version: 33.0.5
- OS: Android


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneed to reproduceIssue that has not been reproduced

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions