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

[3.3.0RC2] NPE in TrashbinActivity.showTrashbinFolder #3035

Closed
AndyScherzinger opened this issue Sep 13, 2018 · 3 comments
Closed

[3.3.0RC2] NPE in TrashbinActivity.showTrashbinFolder #3035

AndyScherzinger opened this issue Sep 13, 2018 · 3 comments

Comments

@AndyScherzinger
Copy link
Member

From GPlay

ava.lang.NullPointerException: 
  at com.owncloud.android.ui.trashbin.TrashbinActivity.showTrashbinFolder (TrashbinActivity.java:257)
  at com.owncloud.android.ui.trashbin.TrashbinPresenter$1.onSuccess (TrashbinPresenter.java:72)
  at com.owncloud.android.ui.trashbin.RemoteTrashbinRepository$ReadRemoteTrashbinFolderTask.onPostExecute (RemoteTrashbinRepository.java:211)
  at com.owncloud.android.ui.trashbin.RemoteTrashbinRepository$ReadRemoteTrashbinFolderTask.onPostExecute (RemoteTrashbinRepository.java:175)
  at android.os.AsyncTask.finish (AsyncTask.java:695)
  at android.os.AsyncTask.-wrap1 (Unknown Source)
  at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:712)
  at android.os.Handler.dispatchMessage (Handler.java:105)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:6798)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)
@nextcloud-android-bot

This comment has been minimized.

@AndyScherzinger
Copy link
Member Author

TrashbinActivity.showTrashbinFolder (TrashbinActivity.java:257):

swipeListRefreshLayout.setRefreshing(false);

@tobiasKaminsky
Copy link
Member

I expect this to be some kind of race condition, as a regular "show folder list" is working. Maybe the remote operation takes too long and then the view is already destroyed…

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

No branches or pull requests

3 participants