java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlinx.support.jdk7.AutoCloseableKt.closeSuppressed, parameter $receiver


Solutions on the web1

Solution icon of github
Parameter specified as non-null is null: method kotlinx.support.jdk7.AutoCloseableKt.closeSuppressed, parameter $receiver

Stack trace

java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlinx.support.jdk7.AutoCloseableKt.closeSuppressed, parameter $receiver
	at kotlinx.support.jdk7.AutoCloseableKt.closeSuppressed(AutoCloseable.kt)
	at test.MainKt.main(main.kt:31)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.