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 single sign on with news #4667

Closed
neelusR opened this issue Oct 12, 2019 · 8 comments
Closed

crash single sign on with news #4667

neelusR opened this issue Oct 12, 2019 · 8 comments

Comments

@neelusR
Copy link

neelusR commented Oct 12, 2019

Actual behaviour

I try to use single sign in for the android News app.
When i select my account and press ok it crashes.
Using an unofficial build of AospExtended.

Expected behaviour

  • Tell us what should happen

Steps to reproduce

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

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nextcloud.client/com.owncloud.android.ui.activity.SsoGrantPermissionActivity}: java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.accounts.Account.name' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
Caused by: java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.accounts.Account.name' on a null object reference
at com.owncloud.android.ui.activity.SsoGrantPermissionActivity.onCreate(SsoGrantPermissionActivity.java:108)
at android.app.Activity.performCreate(Activity.java)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java)
... 11 more

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

************ DEVICE INFORMATION ************
Brand: HUAWEI
Device: HWY360-U
Model: HUAWEI Y360-U23
Id: NJH47F
Product: Y360-U23

************ FIRMWARE ************
SDK: 25
Release: 7.1.2
Incremental: eng.root.20180105.092900

Environment data

Android version:

Device model:

Stock or customized system:

Nextcloud app version:

Nextcloud server version:

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

@neelusR neelusR added the bug label Oct 12, 2019
@stale
Copy link

stale bot commented Nov 9, 2019

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@stale stale bot added the stale label Nov 9, 2019
@stale stale bot closed this as completed Nov 23, 2019
@Yetangitu
Copy link

I just got hit by this, the bug is alive and kicking. Most recent versions of both NC app as well as NC News off Fdroid, same signs, same error. Running Lineage 14.1 on a Samsung GT-P5210.

@tobiasKaminsky
Copy link
Member

With which method do you install packages via Fdroid? Root, priviled extension / manual?

@stale stale bot removed stale labels Nov 25, 2019
@tobiasKaminsky
Copy link
Member

Background: I guess that somehow one of the apps is not allowed to access the others app account and thus it fails.

@Yetangitu
Copy link

With which method do you install packages via Fdroid? Root, priviled extension / manual?

Manual

@stale
Copy link

stale bot commented Dec 23, 2019

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@stale stale bot added the stale label Dec 23, 2019
@neelusR
Copy link
Author

neelusR commented Jan 5, 2020

It still happens only on this phone. I suppose it has something to do with the custom ROM. If there is anything I can add, please let me know.

@stale stale bot removed the stale label Jan 5, 2020
@stale
Copy link

stale bot commented Feb 2, 2020

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@stale stale bot added the stale label Feb 2, 2020
@stale stale bot closed this as completed Feb 16, 2020
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