<Static final field is null when it shouldn't> We ...
# stackoverflow
u
Static final field is null when it shouldn't We have some code in our app that is using Java and other that is using Kotlin. We have come across a very strange situation. The problem shows up on some devices, where it reports platform as being null when passing it to the AutoValue_Session constructor despite us checking whether lastPlatform is not null and providing the constant Platform.MISSING otherwise: Caused by java.lang.NullPointerException: Null lastPlatform x.x.x.x.AutoValue_Session. (SourceFile:27) x.x.x.x.Session.from...