android icon indicating copy to clipboard operation
android copied to clipboard

Crash: NPE in com.nextcloud.common.NextcloudClient.<init>

Open lifeodyssey opened this issue 3 years ago • 3 comments

Cause of error

Exception in thread "Thread-4" java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter userId
    at com.nextcloud.common.NextcloudClient.<init>(Unknown Source:8)
    at com.owncloud.android.lib.common.OwnCloudClientFactory.createNextcloudClient(OwnCloudClientFactory.java:184)
    at com.owncloud.android.lib.common.OwnCloudClientManager.getNextcloudClientFor(OwnCloudClientManager.java:220)
    at com.owncloud.android.ui.activity.DrawerActivity.lambda$getAndDisplayUserQuota$4$com-owncloud-android-ui-activity-DrawerActivity(DrawerActivity.java:821)
    at com.owncloud.android.ui.activity.DrawerActivity$$ExternalSyntheticLambda2.run(Unknown Source:2)
    at java.lang.Thread.run(Thread.java:929)

App information

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

Device information

  • Brand: HUAWEI
  • Device: HWELE
  • Model: ELE-AL00
  • Id: HUAWEIELE-AL00
  • Product: ELE-AL00

Firmware

  • SDK: 29
  • Release: 10
  • Incremental: 10.1.0.162C00

lifeodyssey avatar Jul 04 '22 14:07 lifeodyssey

Looks like #8233 & #8370, but...

Is this reproducible, ~~@strugee~~ @lifeodyssey ?

https://github.com/nextcloud/android/issues/8233#issuecomment-832625565

joshtrichards avatar Aug 19 '24 16:08 joshtrichards

No clue, I just changed the title here while trawling through the issue tracker for duplicated crash reports. I didn't do any testing (and am not the original reporter).

strugee avatar Aug 19 '24 19:08 strugee

Oops, I didn't glance high enough; I thought you were the OP sorry. :-)

joshtrichards avatar Aug 19 '24 20:08 joshtrichards

This bug report 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!

github-actions[bot] avatar Sep 30 '24 00:09 github-actions[bot]