-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Circular Exception delivered to invokeOnCompletion #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good catch. As solution we can either try to do something similar to reactor |
Verified, it crashes logback and it's not going to be fixed: https://jira.qos.ch/browse/LOGBACK-1027 |
This specific case was fixed in 0.23 as part of #323 |
Thank you for shipping a fix! 👍 |
It seems that Kotlin can create Throwables with circular references. While methods like
printStackTrace()
tend to handle this well, a lot of logging frameworks crash or go into an infinite loop when encountering these.Kotlin program:
Output:
The text was updated successfully, but these errors were encountered: