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
Component used: Room Version used: 2.7.0-alpha04 Devices/Android versions reproduced on: n/a
I was able to reproduce this withhttps://github.com/android/sunflower after updating it to use Kotlin 2.0.0, KSP 2.0.0-1.0.22 and Room 2.7.0-alpha04.
The first NPE seems to be triggered by the here ):
@TypeConverters
annotation onAppDatabase
(seeWhen removing link ). Removing
@TypeConverters
I'm able to get a second different NPE which seems to originate in theGardenPlanting
entity (GardentPlanting
fromAppDatabase
will result in regular room validation errors that thegarden_planting
table wasn't found which should mean that only that entity triggers the NPE while the other entity (Plant
) is fine.