Error on resolving sync conflicts (a lot of...)
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Steps to reproduce
Solve sync conflict
### Expected behaviour
No error/app crash
### Actual behaviour
App crash
### Android version
15
### Device brand and model
samsung fold 6
### Stock or custom OS?
Stock
### Nextcloud android app version
most actual
### Nextcloud server version
actual snap version
### Using a reverse proxy?
I don't know
### Android logs
### Cause of error
```java
Exception in thread "main" java.lang.NullPointerException: Parameter specified as non-null is null: method com.nextcloud.client.database.dao.FileDao_Impl.getFileByDecryptedRemotePath, parameter path
at com.nextcloud.client.database.dao.FileDao_Impl.getFileByDecryptedRemotePath(Unknown Source:3)
at com.owncloud.android.datamodel.FileDataStorageManager.getFileByPath(FileDataStorageManager.java:341)
at com.owncloud.android.datamodel.FileDataStorageManager.getFileByDecryptedRemotePath(FileDataStorageManager.java:143)
at com.owncloud.android.ui.activity.ConflictsResolveActivity.setupOnConflictDecisionMadeListener$lambda$1(ConflictsResolveActivity.kt:126)
at com.owncloud.android.ui.activity.ConflictsResolveActivity.$r8$lambda$-1JgO19VEYOW0IBRC8HAHkQbgH8(Unknown Source:0)
at com.owncloud.android.ui.activity.ConflictsResolveActivity$$ExternalSyntheticLambda2.conflictDecisionMade(D8$$SyntheticClass:0)
at com.owncloud.android.ui.activity.ConflictsResolveActivity.conflictDecisionMade(ConflictsResolveActivity.kt:244)
at com.owncloud.android.ui.dialog.ConflictsResolveDialog.okButtonClick(ConflictsResolveDialog.kt:173)
at com.owncloud.android.ui.dialog.ConflictsResolveDialog.createDialogBuilder$lambda$3(ConflictsResolveDialog.kt:149)
at com.owncloud.android.ui.dialog.ConflictsResolveDialog.$r8$lambda$xIUnTbOJgazIEAs84OIxWW3HhwQ(Unknown Source:0)
at com.owncloud.android.ui.dialog.ConflictsResolveDialog$$ExternalSyntheticLambda3.onClick(D8$$SyntheticClass:0)
at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:342)
at android.app.ActivityThread.main(ActivityThread.java:9634)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:619)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
```
### App information
* ID: `com.nextcloud.client`
* Version: `30320090`
* Build flavor: `gplay`
### Device information
* Brand: `samsung`
* Device: `q6q`
* Model: `SM-F956B`
* Id: `AP3A.240905.015.A2`
* Product: `q6qxeea`
### Firmware
* SDK: `35`
* Release: `15`
* Incremental: `F956BXXS2BYER`
### Server error logs
```bash
```
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.