dave08
10/12/2023, 4:12 PM│ device-api-5b7c4c9fc-p58pc java.lang.NullPointerException: null cannot be cast to non-null type kotlinx.datetime.LocalDateTime │
│ device-api-5b7c4c9fc-p58pc at com.....api.model.entitydef._Application.newEntity(_Application.kt:101) │
│ device-api-5b7c4c9fc-p58pc at com.....api.model.entitydef._Application.newEntity(_Application.kt:7) │
│ device-api-5b7c4c9fc-p58pc at org.komapper.r2dbc.dsl.runner.R2dbcEntityMapper.execute(R2dbcEntityMapper.kt:23) │
│ device-api-5b7c4c9fc-p58pc at org.komapper.r2dbc.dsl.runner.R2dbcRowTransformers$singleEntity$1.invoke(R2dbcRowTransformers.kt:15) │
│ device-api-5b7c4c9fc-p58pc at org.komapper.r2dbc.dsl.runner.R2dbcRowTransformers$singleEntity$1.invoke(R2dbcRowTransformers.kt:13) │
│ device-api-5b7c4c9fc-p58pc at org.komapper.r2dbc.R2dbcExecutor$executeQuery$1$1.invokeSuspend$lambda$2$lambda$0(R2dbcExecutor.kt:43) │
│ device-api-5b7c4c9fc-p58pc at com.github.jasync.r2dbc.mysql.JasyncResult$map$2.invoke(JasyncResult.kt:47) │
│ device-api-5b7c4c9fc-p58pc at com.github.jasync.r2dbc.mysql.JasyncResult$map$2.invoke(JasyncResult.kt:47) │
│ device-api-5b7c4c9fc-p58pc at com.github.jasync.r2dbc.mysql.JasyncResult.map$lambda$1(JasyncResult.kt:47)
what's funny is that when I looked at the field being assigned, on _Application.kt:101
, in the db, it's not defined as nullable...[db-sql-netty-thread-2] WARN c.g.j.sql.db.mysql.MySQLConnection - <mysql-connection-22> onResultSet - called without active query
and before that I get komappers' TRACE org.komapper.SqlWithArgs
...Toshihiro Nakamura
10/12/2023, 11:03 PM