nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.05k stars 1.74k forks source link

`Attempt to invoke virtual method 'long com.owncloud.android.datamodel.OCFile.getParentId()' on a null object` #13060

Closed FungY911 closed 1 day ago

FungY911 commented 1 month ago

Cause of error

Exception in thread "Thread-39" java.lang.NullPointerException: Attempt to invoke virtual method 'long com.owncloud.android.datamodel.OCFile.getParentId()' on a null object reference
    at com.owncloud.android.operations.RefreshFolderOperation.synchronizeData(RefreshFolderOperation.java:458)
    at com.owncloud.android.operations.RefreshFolderOperation.fetchAndSyncRemoteFolder(RefreshFolderOperation.java:418)
    at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:247)
    at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:387)
    at java.lang.Thread.run(Thread.java:1012)

App information

Device information

Firmware

joshtrichards commented 3 weeks ago

Reproduction steps?

joshtrichards commented 3 weeks ago

Looks similar to #10482, which also never provided us with enough context to look into, unfortunately.

joshtrichards commented 1 day ago

Fixed in #13084