I recently updated to the latest stable versions in my project and now I'm getting this error. Did something change around the way the companion object serializer is implemented? In my case, EventName is an enum.
Copy code
java.lang.NullPointerException: Attempt to invoke virtual method 'kotlinx.serialization.KSerializer com.example.models.EventName$Companion.serializer()' on a null object reference