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

NPE: AuthenticatorActivity.createAccount in getVersion() #13965

Open
Eshwarnani74 opened this issue Nov 6, 2024 · 2 comments
Open

NPE: AuthenticatorActivity.createAccount in getVersion() #13965

Eshwarnani74 opened this issue Nov 6, 2024 · 2 comments
Labels
bug feature: authentication Authentication or accounts related performance: NPE 🚫 NullPointerException / Null Pointer Exception stable-3.29

Comments

@Eshwarnani74
Copy link

Cause of error

Exception in thread "main" java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.owncloud.android.lib.resources.status.OwnCloudVersion.getVersion()' on a null object reference
    at com.owncloud.android.authentication.AuthenticatorActivity.createAccount(AuthenticatorActivity.java:1314)
    at com.owncloud.android.authentication.AuthenticatorActivity.onAuthenticatorTaskCallback(AuthenticatorActivity.java:1120)
    at com.owncloud.android.authentication.AuthenticatorAsyncTask.onPostExecute(AuthenticatorAsyncTask.kt:90)
    at com.owncloud.android.authentication.AuthenticatorAsyncTask.onPostExecute(AuthenticatorAsyncTask.kt:30)
    at android.os.AsyncTask.finish(AsyncTask.java:771)
    at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
    at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
    at android.os.Handler.dispatchMessage(Handler.java:108)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:328)
    at android.app.ActivityThread.main(ActivityThread.java:9242)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

App information

  • ID: com.nextcloud.client
  • Version: 30290290
  • Build flavor: gplay

Device information

  • Brand: vivo
  • Device: 2127
  • Model: V2142
  • Id: UP1A.231005.007
  • Product: 2127i

Firmware

  • SDK: 34
  • Release: 14
  • Incremental: compiler10211622
@joshtrichards joshtrichards changed the title Nextcloud crash NPE: AuthenticatorActivity.createAccount in getVersion() Nov 6, 2024
@joshtrichards
Copy link
Member

joshtrichards commented Nov 6, 2024

Is this easily reproducible for you?

Is this a new installation?

What version of Nextcloud Server?

@joshtrichards joshtrichards added stable-3.29 bug feature: authentication Authentication or accounts related performance: NPE 🚫 NullPointerException / Null Pointer Exception labels Nov 6, 2024
@Eshwarnani74
Copy link
Author

Eshwarnani74 commented Nov 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature: authentication Authentication or accounts related performance: NPE 🚫 NullPointerException / Null Pointer Exception stable-3.29
Projects
None yet
Development

No branches or pull requests

2 participants