exception while calling rama/foreign-proxy

10 views
Skip to first unread message

Michael Frericks

unread,
Nov 22, 2025, 8:29:02 AMNov 22
to rama-user
Hi,
I get the following exception while calling rama/foreign-proxy 
{code}

Exception in thread "Thread-1309" Syntax error compiling fn* at (0:0).
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7689)
at clojure.lang.Compiler.analyze(Compiler.java:7372)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7669)
at clojure.lang.Compiler.analyze(Compiler.java:7372)
at clojure.lang.Compiler.analyze(Compiler.java:7328)
at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:6695)
at clojure.lang.Compiler$LetExpr$Parser.parse(Compiler.java:7011)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7681)
at clojure.lang.Compiler.analyze(Compiler.java:7372)
at clojure.lang.Compiler.analyze(Compiler.java:7328)
at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:6695)
at clojure.lang.Compiler$FnMethod.parse(Compiler.java:6034)
at clojure.lang.Compiler$FnExpr.parse(Compiler.java:4597)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7679)
at clojure.lang.Compiler.analyze(Compiler.java:7372)
at clojure.lang.Compiler.eval(Compiler.java:7748)
at clojure.lang.Compiler.eval(Compiler.java:7706)
at clojure.core$eval.invokeStatic(core.clj:3232)
at clojure.core$eval.invoke(core.clj:3228)
at com.rpl.ramaspecter.impl$closed_code.invokeStatic(impl.cljc:1888)
at com.rpl.ramaspecter.impl$closed_code.invoke(impl.cljc:1883)
at com.rpl.ramaspecter.impl$fn__14606$eval_PLUS___14618.invoke(impl.cljc:1921)
at com.rpl.ramaspecter.impl$mk_dynamic_path_maker.invokeStatic(impl.cljc:2255)
at com.rpl.ramaspecter.impl$mk_dynamic_path_maker.invoke(impl.cljc:2246)
at com.rpl.ramaspecter.impl$magic_precompilation.invokeStatic(impl.cljc:2295)
at com.rpl.ramaspecter.impl$magic_precompilation.invoke(impl.cljc:2279)
at omnibus.omnibus_client$other_participants.invokeStatic(omnibus_client.clj:110)
at omnibus.omnibus_client$other_participants.invoke(omnibus_client.clj:100)
at omnibus.omnibus_client$session_description_other_participant.invokeStatic(omnibus_client.clj:142)
at omnibus.omnibus_client$session_description_other_participant.invoke(omnibus_client.clj:139)
at omnibus.signaler$announce_session_description_internal.invokeStatic(signaler.clj:41)
at omnibus.signaler$announce_session_description_internal.invoke(signaler.clj:32)
at omnibus.signaler$create_signaler$reify__12590.announce_session_description(signaler.clj:50)
at omnibus.webrtc.core$localSetSessionDescriptionObserver$reify__12495.onSuccess(core.clj:156)
Caused by: java.lang.NoClassDefFoundError: clojure/lang/AFunction
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1027)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:889)
at clojure.lang.DynamicClassLoader.defineClass(DynamicClassLoader.java:46)
at clojure.lang.Compiler$ObjExpr.getCompiledClass(Compiler.java:5554)
at clojure.lang.Compiler$FnExpr.parse(Compiler.java:4684)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7679)
... 33 more
Caused by: java.lang.ClassNotFoundException: clojure.lang.AFunction
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:69)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
at clojure.lang.DynamicClassLoader.loadClass(DynamicClassLoader.java:77)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)

{code}

My code at those lines around line 110 looks like
{code}
107: (let [path0 (path/keypath conference-id :participant-ids)
108:        println-callback-fn (fn [new-value diff old-value]
109:                              (println (format "new-value='%s', diff='%s', old-value='%s'" new-value diff old-value)))
110:        proxy-state (rama/foreign-proxy path0 conferences-state)
{code}


Has anyone out there seen this error already?

Thankful for any hints


Michael

Nathan Marz

unread,
Nov 22, 2025, 11:32:27 AMNov 22
to rama...@googlegroups.com
This error seems to indicate there's something strange going on with your classpath, as clojure.lang.AFunction looks like it's been in Clojure since 2008. Can you share how you're specifying the dependencies for the project?

--
You received this message because you are subscribed to the Google Groups "rama-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rama-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rama-user/656c7b56-7053-4c74-ad2b-8e95bb24fbebn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages