wordpress-mobile / wordpress-mobile/WordPress-Android

IllegalArgumentException: Required value was null.

Open
#19,436 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Crash Plugins
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Sentry Issue: JETPACK-ANDROID-DP9

IllegalArgumentException: Required value was null.
    at org.wordpress.android.viewmodel.plugins.PluginBrowserViewModel.onSiteChanged(PluginBrowserViewModel.kt:342)
    at java.lang.reflect.Method.invoke(Method.java)
    at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:517)
    at org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:461)
    at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:421)
...
(19 additional frame(s) were not displayed)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at PluginBrowserViewModel.kt:342 and trace onSiteChanged callers and the event that triggers it. The issue provides only a crash trace, so completion requires confirming the expected behavior when the required value is null and adding a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.