in some tests, when I run, this appears in the REPL:
Cannot invoke "java.lang.StackTraceElement.getClassName()" because "element" is null
when this happens, it doesn't appear ✅ or ❌ in the UI (next to line number)
Getting the value from *e
(result in thread)
#error{:cause "Cannot invoke \"java.lang.StackTraceElement.getClassName()\" because \"element\" is null",
:via [{:type java.lang.NullPointerException,
:message "Cannot invoke \"java.lang.StackTraceElement.getClassName()\" because \"element\" is null",
:at [cursive.tests.report$test_machinery_QMARK_ invokeStatic "report.clj" 40]}],
:trace [[cursive.tests.report$test_machinery_QMARK_ invokeStatic "report.clj" 40]
[cursive.tests.report$test_machinery_QMARK_ invoke "report.clj" 39]
[cursive.tests.report$file_info$fn__59162 invoke "report.clj" 50]
[cursive.tests.report$file_info invokeStatic "report.clj" 49]
[cursive.tests.report$file_info invoke "report.clj" 46]
[cursive.tests.report$report invokeStatic "report.clj" 124]
[cursive.tests.report$report invoke "report.clj" 57]
[clojure.test$do_report invokeStatic "test.clj" 357]
[clojure.test$test_var$fn__9894 invoke "test.clj" 717]
[clojure.test$test_var invokeStatic "test.clj" 717]
[clojure.test$test_var invoke "test.clj" 708]
[my_app.e2e.app_test$eval59193$fn__59194$fn__59195]
....
If the exception is created by another thread, it generates the error.Thanks, I'll check that.