This specific question is related to missing glass for a NullPointerException.
So, I have a Clojure file that compiled in my Java web application using the following:
Compiler.loadFile("/tmp/test.clj"); Var cljFunc = RT.var("abc", "foo"); cljFunc.invoke(12);
However, I get a NullPointerException in the cljfunc.invoke(12) . I expect it to show (on the stack) the line number of the .clj file that an exception has occurred. But stacktrace is null. I added -XX:-OmitStackTraceInFastThrow to the Tomcat launch command to disable JVM optimization. But it did not help.
source share