@CompileTimeCalculation fun divide(a: Int, b: Int) = a / b @CompileTimeCalculation fun echo(a : Int, b: Int) = divide(a, b) @CompileTimeCalculation fun getLengthOrThrowException(str: String?): Int { try { return str!!.length } catch (e: NullPointerException) { throw UnsupportedOperationException(e) } } const val a = (stackTrace.kt:16)`!>echo(1, 0) const val b = (stackTrace.kt:17) Caused by: java.lang.NullPointerException at StackTraceKt.getLengthOrThrowException(stackTrace.kt:10) at StackTraceKt.(stackTrace.kt:17)`!>getLengthOrThrowException(null)