Exposed 0.19.3 released with several bug fixes for...
# exposed
t
Exposed 0.19.3 released with several bug fixes for 0.19.1: https://github.com/JetBrains/Exposed/blob/master/ChangeLog.md#0193
👍 2
🎉 4
e
On this version i get an error while inserts
Copy code
Caused by: java.util.NoSuchElementException: List is empty.
at kotlin.collections.CollectionsKt___CollectionsKt.last(_Collections.kt:362)
at org.jetbrains.exposed.sql.statements.BatchInsertStatement.allColumnsInDataSet(BatchInsertStatement.kt:59)
at org.jetbrains.exposed.sql.statements.BatchInsertStatement.getArguments(BatchInsertStatement.kt:63)
at org.jetbrains.exposed.sql.statements.InsertStatement.arguments(InsertStatement.kt:147)
at org.jetbrains.exposed.sql.QueriesKt.batchInsert(Queries.kt:128)
at org.jetbrains.exposed.sql.QueriesKt.batchInsert$default(Queries.kt:89)
at org.jetbrains.exposed.dao.EntityCache.flushInserts$exposed_dao(EntityCache.kt:113)
at org.jetbrains.exposed.dao.EntityCache.flush(EntityCache.kt:81)
at org.jetbrains.exposed.dao.EntityCache.flush(EntityCache.kt:50)
at org.jetbrains.exposed.dao.EntityCacheKt.flushCache(EntityCache.kt:155)
at org.jetbrains.exposed.dao.EntityLifecycleInterceptor.beforeCommit(EntityLifecycleInterceptor.kt:40)
at org.jetbrains.exposed.sql.Transaction.commit(Transaction.kt:59)
at org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt.commitInAsync(Suspended.kt:64)
at org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt.access$commitInAsync(Suspended.kt:1)
at org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt:128)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
t
@Egor Babarykin could you please file an issue with code sample to github?