nextcloud / nextcloud/android

Help me please

Open
#17,444 1 comment 0 reactions 0 assignees View on GitHub
0. Needs triage bug needs info
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Cause of error
```java
Exception in thread "Thread-4" java.lang.NullPointerException: Parameter specified as non-null is null: method com.nextcloud.common.NextcloudClient., parameter userId
at com.nextcloud.common.NextcloudClient.(Unknown Source:8)
at com.owncloud.android.lib.common.OwnCloudClientFactory.createNextcloudClient(OwnCloudClientFactory.java:185)
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:803)
at com.owncloud.android.ui.activity.DrawerActivity$$ExternalSyntheticLambda6.run(Unknown Source:2)
at java.lang.Thread.run(Thread.java:933)

```

### App information
* ID: `com.nextcloud.client`
* Version: `30240090`
* Build flavor: `huawei`

### Device information
* Brand: `HUAWEI`
* Device: `HWADY`
* Model: `ADY-LX9`
* Id: `HUAWEIADY-L29`
* Product: `ADY-L29`

### Firmware
* SDK: `31`
* Release: `12`
* Incremental: `104.2.0.245C10`

Contributor guide

Open the contributing guide

Research direction

Start with OwnCloudClientFactory.java:185 and OwnCloudClientManager.java:220 in the stack trace, then follow the quota path from DrawerActivity.java:803. Determine why userId is null for this Huawei build and verify that the quota request no longer crashes with a NullPointerException.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.