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

Crash on login #820

Closed
atomspring opened this issue Apr 11, 2017 · 2 comments · Fixed by #949
Closed

Crash on login #820

atomspring opened this issue Apr 11, 2017 · 2 comments · Fixed by #949

Comments

@atomspring
Copy link

atomspring commented Apr 11, 2017

Actual behaviour

Upon logging in after enabling TOTP, the app crashes. Switching off TOTP hasn't resolved the problem, and I've cleared data/cache for the app as well.

Expected behaviour

I should be able to login and use my Nextcloud account as I had been.

Steps to reproduce

  1. Enable TOTP
  2. Create Device Login
  3. Press the login button to see crach dialog, or to see the app just close.

Environment data

Android version: 7.1

Device model: xt1045

Stock or customized system: customized

Nextcloud app version: 1.4.2

Nextcloud server version:11.0.2

Logs

relevant part of logcat:
ExistenceCheckRemoteOperation: Existence check for https://clove.ele.home/remote.php/webdav/ targeting for existence finished with HTTP status 200
04-10 18:06:57.158 32000 514 D OwnCloudClient #1: REQUEST GET /ocs/v1.php/cloud/user
04-10 18:06:57.580 32000 514 D GetRemoteUserInfoOperation: Successful response: {"ocs":{"meta":{"status":"ok","statuscode":100,"message":"OK","totalitems":"","itemsperpage":""},"data":{"enabled":"true","id":"roger","quota":{"free":2791631941632,"used":8274591,"total":2791640216223,"relative":0,"quota":-3},"email":"[email protected]","phone":"","address":"","webpage":"","twitter":"","display-name":"Roger Dawson"}}}
04-10 18:06:57.605 32000 32000 D AuthenticatorActivity: Successful access - time to save the account
04-10 18:06:57.611 1210 31953 W AccountManagerService: insertAccountIntoDatabase: Account {name=[email protected], type=nextcloud}, skipping since the account already exists
04-10 18:06:57.720 1210 2445 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@e139a6a attribute=null, token = android.os.BinderProxy@c06d9bd
04-10 18:06:57.723 1210 21107 I ActivityManager: START u0 {flg=0x4000000 cmp=com.nextcloud.client/com.owncloud.android.ui.activity.FileDisplayActivity} from uid 10086 on display 0
04-10 18:06:57.741 1210 21107 I ActivityManager: moveTaskToBack: TaskRecord{926a790 #528 A=com.nextcloud.client U=0 StackId=1 sz=3}
04-10 18:06:57.747 32000 32000 D AuthenticatorActivity: onPause() ending

potential clues:

c/o pygi on IRC: https://code.google.com/p/android/issues/detail?id=210992

@mario mario self-assigned this Apr 13, 2017
@mario mario added the pr exists label May 3, 2017
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 1.5.0 milestone May 4, 2017
@atomspring
Copy link
Author

This is still affecting my system in spite of updating to NC 12.0.2 and using Android 7.1.2.. Logcat indicates the same issue with skipping adding the account. Nextcloud android 2.0.0RC9.

@atomspring
Copy link
Author

Fixed by modifying /data/system_ce/0/accounts_ce.db to delete my nextcloud account.

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

Successfully merging a pull request may close this issue.

3 participants