You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#error {
:cause "class clojure.lang.PersistentArrayMap cannot be cast to class java.lang.Number (clojure.lang.PersistentArrayMap is in unnamed module of loader 'app'; java.lang.Number is in module java.base of loader 'bootstrap')"
:via
[{:type java.lang.ClassCastException
:message "class clojure.lang.PersistentArrayMap cannot be cast to class java.lang.Number (clojure.lang.PersistentArrayMap is in unnamed module of loader 'app'; java.lang.Number is in module java.base of loader 'bootstrap')"
:at [fluree.db.flake$cmp_long invokeStatic "flake.cljc" 310]}]
:trace
[[fluree.db.flake$cmp_long invokeStatic "flake.cljc" 310]
[fluree.db.flake$cmp_long invoke "flake.cljc" 309]
[fluree.db.flake$cmp_pred invokeStatic "flake.cljc" 321]
[fluree.db.flake$cmp_pred invoke "flake.cljc" 320]
[fluree.db.flake$cmp_flakes_psot invokeStatic "flake.cljc" 382]
[fluree.db.flake$cmp_flakes_psot invoke "flake.cljc" 380]
[clojure.lang.AFunction compare "AFunction.java" 51]
[clojure.data.avl$insert_BANG_ invokeStatic "avl.clj" 797]
[clojure.data.avl$insert_BANG_ invoke "avl.clj" 791]
[clojure.data.avl.AVLTransientMap assoc "avl.clj" 1606]
[clojure.data.avl.AVLTransientSet conj "avl.clj" 1810]
[clojure.core$conj_BANG_ invokeStatic "core.clj" 3367]
[clojure.core$conj_BANG_ invoke "core.clj" 3359]
[clojure.lang.ArraySeq reduce "ArraySeq.java" 119]
[clojure.core$reduce invokeStatic "core.clj" 6885]
[clojure.core$reduce invoke "core.clj" 6868]
[clojure.data.avl$sorted_set_by invokeStatic "avl.clj" 1933]
[clojure.data.avl$sorted_set_by doInvoke "avl.clj" 1928]
[clojure.lang.RestFn applyTo "RestFn.java" 139]
[clojure.core$apply invokeStatic "core.clj" 669]
[clojure.core$apply invoke "core.clj" 662]
[fluree.db.flake$sorted_set_by invokeStatic "flake.cljc" 526]
[fluree.db.flake$sorted_set_by doInvoke "flake.cljc" 524]
[clojure.lang.RestFn invoke "RestFn.java" 439]
[fluree.db.query.subject_crawl.subject$subjects_chan invokeStatic "subject.cljc" 42]
[fluree.db.query.subject_crawl.subject$subjects_chan invoke "subject.cljc" 15]
[fluree.db.query.subject_crawl.subject$subj_crawl$fn__26529$state_machine__7578__auto____26554$fn__26557 invoke "subject.cljc" 155]
[fluree.db.query.subject_crawl.subject$subj_crawl$fn__26529$state_machine__7578__auto____26554 invoke "subject.cljc" 143]
[clojure.core.async.impl.runtime$run_state_machine invokeStatic "runtime.clj" 62]
[clojure.core.async.impl.runtime$run_state_machine invoke "runtime.clj" 61]
[clojure.core.async.impl.runtime$run_state_machine_wrapped invokeStatic "runtime.clj" 66]
[clojure.core.async.impl.runtime$run_state_machine_wrapped invoke "runtime.clj" 64]
[fluree.db.query.subject_crawl.subject$subj_crawl$fn__26529 invoke "subject.cljc" 143]
[clojure.lang.AFn run "AFn.java" 22]
[java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
[java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
[clojure.core.async.impl.concurrent$counted_thread_factory$reify__1977$fn__1978 invoke "concurrent.clj" 29]
[clojure.lang.AFn run "AFn.java" 22]
[java.lang.Thread run "Thread.java" 833]]}
Given the appropriate context/data, this query should run (and in fact, when I remove this or and allow this to run with the default strategy, it does).
Unsure if this is relevant, but: other tests exist which successfully utilize the simple-subject-crawl strategy. I found several in this test ns. All of them use a :from key, none use a :where.
The text was updated successfully, but these errors were encountered:
mpoffald
changed the title
Some queries
Some queries that use simple-subject-crawl strategy throw an error
Nov 28, 2022
The following query:
Throws this error:
Given the appropriate context/data, this query should run (and in fact, when I remove this
or
and allow this to run with the default strategy, it does).Unsure if this is relevant, but: other tests exist which successfully utilize the
simple-subject-crawl
strategy. I found several in this test ns. All of them use a:from
key, none use a:where
.The text was updated successfully, but these errors were encountered: