wordpress-mobile / wordpress-mobile/WordPress-Android
IllegalArgumentException: Required value was null.
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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