Skip to content

crash while account deletion #10076

@Jane232

Description

@Jane232

Steps to reproduce

  1. Have an inactive Nextcloud instance
  2. Replace inactive Nextcloud with new one and create account with same user name but other password
  3. Try to fetch activities in app
  4. Remove account from app
  5. Crash

Expected behaviour

Ask for new password
Or not crash if account is deleted

Actual behaviour

Crashed after account deletion

Comment

I dont know what caused that crash, I am aware of the unusual conditions but I wanted to include the circumstances

Report from crash

*********** CAUSE OF ERROR ************

java.lang.RuntimeException
	at com.owncloud.android.ui.activities.ActivitiesActivity$$ExternalSyntheticLambda0.get(Unknown Source)
	at com.nextcloud.java.util.Optional.orElseThrow(Optional.java:309)
	at com.owncloud.android.ui.activity.FileDisplayActivity$8.run(FileDisplayActivity.java:2061)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5525)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30190090
Build flavor: generic

************ DEVICE INFORMATION ************
Brand: lge
Device: p1
Model: LG-H815
Id: MRA58K
Product: p1_global_com

************ FIRMWARE ************
SDK: 23
Release: 6.0
Incremental: 18092193816c9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions