Skip to content

Instantly share code, notes, and snippets.

@pwhittin
Created June 25, 2021 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwhittin/565327507a8ea6d820e4f06356b01a2d to your computer and use it in GitHub Desktop.
Save pwhittin/565327507a8ea6d820e4f06356b01a2d to your computer and use it in GitHub Desktop.
Reflection Exception Using https://github.com/borkdude/sci and GraalVM
Exception in thread "main" java.lang.IllegalArgumentException: No matching method indexOf found taking 1 args for class clojure.lang.PersistentVector
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:127)
at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
at edpdl.platform_utils$index_of.invokeStatic(platform_utils.cljc:38)
at edpdl.platform_utils$index_of.invoke(platform_utils.cljc:37)
at edpdl.semantics$fn__1148.invokeStatic(semantics.clj:183)
at edpdl.semantics$fn__1148.invoke(semantics.clj:182)
at clojure.spec.alpha$spec_impl$reify__2060.conform_STAR_(alpha.clj:930)
at clojure.spec.alpha$and_spec_impl$fn__2178.invoke(alpha.clj:1164)
at clojure.spec.alpha$and_spec_impl$reify__2184.conform_STAR_(alpha.clj:1190)
at clojure.spec.alpha$and_spec_impl$fn__2182.invoke(alpha.clj:1178)
at clojure.spec.alpha$and_spec_impl$reify__2184.conform_STAR_(alpha.clj:1190)
at clojure.spec.alpha$or_spec_impl$fn__2116.invoke(alpha.clj:1096)
at clojure.spec.alpha$or_spec_impl$reify__2119.conform_STAR_(alpha.clj:1107)
at clojure.spec.alpha$conform.invokeStatic(alpha.clj:171)
at clojure.spec.alpha$conform.invoke(alpha.clj:167)
at clojure.spec.alpha$map_spec_impl$reify__1998.conform_STAR_(alpha.clj:844)
at clojure.spec.alpha$valid_QMARK_.invokeStatic(alpha.clj:776)
at clojure.spec.alpha$valid_QMARK_.invoke(alpha.clj:772)
at edpdl.semantics$unique_keys_QMARK_.invokeStatic(semantics.clj:14)
at edpdl.semantics$unique_keys_QMARK_.invoke(semantics.clj:13)
at edpdl.semantics$fn__1251.invokeStatic(semantics.clj:276)
at edpdl.semantics$fn__1251.invoke(semantics.clj:276)
at clojure.spec.alpha$spec_impl$reify__2060.conform_STAR_(alpha.clj:930)
at clojure.spec.alpha$and_spec_impl$fn__2178.invoke(alpha.clj:1161)
at clojure.spec.alpha$and_spec_impl$reify__2184.conform_STAR_(alpha.clj:1190)
at clojure.spec.alpha$or_spec_impl$fn__2116.invoke(alpha.clj:1096)
at clojure.spec.alpha$or_spec_impl$reify__2119.conform_STAR_(alpha.clj:1107)
at clojure.spec.alpha$every_impl$reify__2255.conform_STAR_(alpha.clj:1300)
at clojure.spec.alpha$and_spec_impl$fn__2178.invoke(alpha.clj:1161)
at clojure.spec.alpha$and_spec_impl$reify__2184.conform_STAR_(alpha.clj:1190)
at clojure.spec.alpha$conform.invokeStatic(alpha.clj:171)
at clojure.spec.alpha$conform.invoke(alpha.clj:167)
at clojure.spec.alpha$map_spec_impl$reify__1998.conform_STAR_(alpha.clj:844)
at clojure.spec.alpha$valid_QMARK_.invokeStatic(alpha.clj:776)
at clojure.spec.alpha$valid_QMARK_.invoke(alpha.clj:772)
at edpdl.semantics$execute_semantic_function.invokeStatic(semantics.clj:459)
at edpdl.semantics$execute_semantic_function.invoke(semantics.clj:455)
at edpdl.semantics$valid_QMARK_.invokeStatic(semantics.clj:475)
at edpdl.semantics$valid_QMARK_.invoke(semantics.clj:472)
at edpdl.core$semantically_correct_QMARK_.invokeStatic(core.clj:139)
at edpdl.core$semantically_correct_QMARK_.invoke(core.clj:138)
at edpdl.core$_main.invokeStatic(core.clj:204)
at edpdl.core$_main.doInvoke(core.clj:192)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at edpdl.core.main(Unknown Source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment