Skip to content

Fix app crashes if local folder is null #14941

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fran-tor
Copy link

@fran-tor fran-tor commented Jun 1, 2025

  • Tests written, or not needed

This PR fixes #14845 by handling the mLocalFolder state to avoid the application crashes when it tries to perform the refresh folder operation on a low internet speed connection.

@tobiasKaminsky
Copy link
Member

Hi,
and welcome to Nextcloud.
I am very happy that you contribute to our project.

From looking at the code, I currently fail to understand why mLocalFolder can be null, when internet connection is slow.
Can you point me to the way how this can happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullPointerException in RefreshFolderOperation When Internet Connection is too slow
2 participants