Is there a way to show a history of "inspections". That is the previous results in the inspector view. I basically want to see and be able to navigate the list of previous evaluations Any other good alternative? (I don't really want to send all the evaluations to the REPL but maybe that's an option)
One workaround could be to have an atom and just save any interesting value there via tap>
. I could then inspect the atom.
It's not very convenient but something that could work right now.
I forgot if there's a way to "hook into an evaluation" in Cider; so that I could automatically call tap>
every time I do cider-eval-*
Found this but it seems it's missing: https://docs.cider.mx/cider/usage/code_evaluation.html#evaluation-hooks
Currently there's nothing like this, but it wouldn't be hard to store the list of inspected expressions somewhere.
I keep getting this error on a mac, with adoptopenjdk 8 java.lang.ClassNotFoundException: com.sun.tools.javac.util.List
got a stack trace?
yep
java.lang.ClassNotFoundException: com.sun.tools.javac.util.List
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:69)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at clojure.lang.DynamicClassLoader.loadClass(DynamicClassLoader.java:77)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at clojure.lang.RT.classForName(RT.java:2211)
at clojure.lang.RT.classForName(RT.java:2220)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java.legacy_parser$parse_java.invokeStatic(legacy_parser.clj:88)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java.legacy_parser$parse_java.invoke(legacy_parser.clj:66)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java.legacy_parser$source_info.invokeStatic(legacy_parser.clj:274)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java.legacy_parser$source_info.invoke(legacy_parser.clj:265)
at clojure.lang.Var.invoke(Var.java:384)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$source_info.invokeStatic(java.clj:144)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$source_info.invoke(java.clj:139)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$class_info_STAR_.invokeStatic(java.clj:223)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$class_info_STAR_.invoke(java.clj:214)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$class_info.invokeStatic(java.clj:261)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$class_info.invoke(java.clj:253)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$resolve_class.invokeStatic(java.clj:340)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$resolve_class.invoke(java.clj:331)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$resolve_symbol.invokeStatic(java.clj:371)
at cider.nrepl.inlined_deps.orchard.v0v6v4.orchard.java$resolve_symbol.invoke(java.clj:357)
at cider.nrepl.middleware.stacktrace$analyze_fn.invokeStatic(stacktrace.clj:84)
at cider.nrepl.middleware.stacktrace$analyze_fn.invoke(stacktrace.clj:63)
at clojure.core$comp$fn__5807.invoke(core.clj:2569)
at clojure.core$comp$fn__5807.invoke(core.clj:2569)
at clojure.core$comp$fn__5807.invoke(core.clj:2569)
at cider.nrepl.middleware.stacktrace$analyze_frame.invokeStatic(stacktrace.clj:180)
at cider.nrepl.middleware.stacktrace$analyze_frame.invoke(stacktrace.clj:177)
at clojure.core$map$fn__5866.invoke(core.clj:2755)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
at clojure.lang.LazySeq.seq(LazySeq.java:51)
at clojure.lang.LazySeq.first(LazySeq.java:73)
at clojure.lang.RT.first(RT.java:692)
at clojure.core$first__5384.invokeStatic(core.clj:55)
at clojure.core$first__5384.invoke(core.clj:55)
at cider.nrepl.middleware.stacktrace$flag_duplicates.invokeStatic(stacktrace.clj:168)
at cider.nrepl.middleware.stacktrace$flag_duplicates.invoke(stacktrace.clj:164)
at cider.nrepl.middleware.stacktrace$analyze_stacktrace.invokeStatic(stacktrace.clj:186)
at cider.nrepl.middleware.stacktrace$analyze_stacktrace.invoke(stacktrace.clj:182)
at cider.nrepl.middleware.stacktrace$analyze_cause.invokeStatic(stacktrace.clj:290)
at cider.nrepl.middleware.stacktrace$analyze_cause.invoke(stacktrace.clj:281)
at cider.nrepl.middleware.stacktrace$analyze_causes$fn__3933.invoke(stacktrace.clj:315)
at clojure.core$map$fn__5862$fn__5863.invoke(core.clj:2742)
at clojure.core$take_while$fn__5913$fn__5914.invoke(core.clj:2901)
at clojure.lang.Iterate.reduce(Iterate.java:81)
at clojure.core$transduce.invokeStatic(core.clj:6883)
at clojure.core$into.invokeStatic(core.clj:6899)
at clojure.core$into.invoke(core.clj:6887)
the class should be in tools.jar
and tools.jar is there in $JAVA_HOME/lib
can you create an issue on https://github.com/clojure-emacs/orchard/ ?
sure, any ideas what might be the problem?
none at all
🙂
sorry. but figuring out where sun utility classes are (and should be) is not something i have at my fingertips. would require looking up some stuff to see what expectations are, have they moved, etc.
Added an issue here https://github.com/clojure-emacs/orchard/issues/105
That's a very similar stack trace to what I was getting. I have commented on https://github.com/clojure-emacs/orchard/issues/103. The workaround for me is to use Java 11, if that's an option for you.
upgrading to java 11 didn't work for me, sadly
oh wait, emacs is still seeing java 8
aw man now I'm missing these guys
Caused by java.lang.ClassNotFoundException
javax.xml.bind.DatatypeConverter