I upgraded from 0.37.3 to 0.38.2 a few days ago and have started seeing some
java.lang.NullPointerException
being thrown. It's only a few hundred out of many millions of calls, but it's still odd. This column is
definitely not nullable, and I have confirmed there
is proper data in every row. Anyone else seen this?
java.lang.NullPointerException
at org.jetbrains.exposed.dao.Entity.lookup(Entity.kt:193)
at org.jetbrains.exposed.dao.Entity.getValue(Entity.kt:173)
at com.company.user.data.Profile.getBirthDay(Profile.kt:19)
It's looks like this in code:
object ProfileTable : LongIdTable("profile") {
val birthDay = timestamp("birthDay")
// etc
}
class Profile(id: EntityID<Long>) : LongEntity(id) {
companion object : LongEntityClass<Profile>(ProfileTable, Profile::class.java)
var birthDay by ProfileTable.birthDay
// etc
}