Crash: NPE in com.nextcloud.common.NextcloudClient.<init>
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
Looks like #8233 & #8370, but...
Is this reproducible, ~~@strugee~~ @lifeodyssey ?
https://github.com/nextcloud/android/issues/8233#issuecomment-832625565
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).
Oops, I didn't glance high enough; I thought you were the OP sorry. :-)
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!