clerk

2024-01-16T20:59:24.903209Z

I have seen an other case where Clerk fails to render, because the "hashCode()" calculation of some value throws Exception. Is there anything Clerk could do to work nevertheless ?

Andrea 2024-01-17T08:51:39.640059Z

hi @carsten.behring are you referring to an existing thread here? do you know how can we reproduce such exceptions?

2024-01-17T20:13:25.455439Z

The libpython-clj library generates some java classes which "proxy" to python. And in python it is "acceptable" that classes throw exceptions on hash(). The default dict does so, among others: https://github.com/clj-python/libpython-clj/issues/259 I believe that simply doing a java class, which throws exception in its hashCode() will produce issues in Clerk. But I have not tried this.