Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
When using the string "null" to navigate to a destination which is expecting a
String
argument, the app crashes.Steps to reproduce
Expected result
The app displays the text: User name is: null
Actual result
The app crashes with the following error:
java.lang.IllegalArgumentException: Wrong argument type for 'name' in argument bundle. string expected.
More info
Having "null" as a name is more than just hypothetical:https://www.wired.com/2015/11/null/ (although admittedly that person's lastname starts with a capital N).
Component used: Navigation-Compose Version used: 2.8.0-SNAPSHOT (build 12208038) Devices/Android versions reproduced on: All