Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE: Attempt to invoke virtual method 'java.lang.String com.owncloud.android.datamodel.OCFile.getEtag()' via checkForChanges #13784

Open
acress1 opened this issue Oct 14, 2024 · 3 comments · May be fixed by #13937
Assignees
Labels
bug feature: sync performance: NPE 🚫 NullPointerException / Null Pointer Exception stable-3.30

Comments

@acress1
Copy link

acress1 commented Oct 14, 2024

Hi,
I've got this error message in the Android app:

Cause of error

Exception in thread "Syncfolder thread" java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.owncloud.android.datamodel.OCFile.getEtag()' on a null object reference
    at com.owncloud.android.operations.SynchronizeFolderOperation.checkForChanges(SynchronizeFolderOperation.java:169)
    at com.owncloud.android.operations.SynchronizeFolderOperation.run(SynchronizeFolderOperation.java:127)
    at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:193)
    at com.owncloud.android.services.SyncFolderHandler.doOperation(SyncFolderHandler.java:106)
    at com.owncloud.android.services.SyncFolderHandler.handleMessage(SyncFolderHandler.java:79)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.os.HandlerThread.run(HandlerThread.java:85)

App information

  • ID: com.nextcloud.client
  • Version: 30300190
  • Build flavor: generic

Device information

  • Brand: OnePlus
  • Device: OnePlus5T
  • Model: ONEPLUS A5010
  • Id: AP2A.240905.003
  • Product: OnePlus5T

Firmware

  • SDK: 34
  • Release: 14
  • Incremental: 0c7a9b4c4c
@joshtrichards joshtrichards added bug performance: NPE 🚫 NullPointerException / Null Pointer Exception stable-3.30 labels Oct 15, 2024
@joshtrichards joshtrichards changed the title Error on Nextcloud Android app NPE: Attempt to invoke virtual method 'java.lang.String com.owncloud.android.datamodel.OCFile.getEtag()' via checkForChanges Oct 15, 2024
@z3ntu
Copy link

z3ntu commented Oct 18, 2024

Also just saw this crash on the same version, while trying to stop #13738

@strugee
Copy link
Member

strugee commented Nov 1, 2024

I've just hit this on version 30300290. It happened literally while I was removing entries from the "internal 2-way sync" section in the app settings.

@AndyScherzinger
Copy link
Member

CC @alperozturk96

@alperozturk96 alperozturk96 self-assigned this Nov 4, 2024
@alperozturk96 alperozturk96 linked a pull request Nov 4, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature: sync performance: NPE 🚫 NullPointerException / Null Pointer Exception stable-3.30
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants