Mongo Aggregation Pipeline inside a Kotlin Coroutine
Trying to run a Mongo Aggregate Pipeline inside a Kotlin Coroutine with IO Dispatchers. Normal Mongo Repository calls works fine but I am facing this only with the Aggregation Pipeline. At every execution I am getting below error.
01
0057.367 [DefaultDispatcher-worker-1] ERROR com.ukg.lore.unknown - Uncaught exception encountered on thread: DefaultDispatcher-worker-1
java.lang.UnsupportedOperationException: This class is an internal synthetic class generated by the Kotlin compiler, such as...