Ruben Holen
05/17/2022, 12:44 PMjava.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
}
Phil Richardson
05/17/2022, 2:08 PMEntity
implies that the ResultRow
for this given row in this executed query, either didn't include this column, or RDBMS side the columns value is null.
What exactly does the schema for this column in this table look like?Phil Richardson
05/17/2022, 2:09 PM