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
19:27:31.901 [async-dispatch-12] WARN f.s.consensus.handlers.create-ledger - "Ledger id is already pending creation: rdfs/void"
19:27:31.902 [async-dispatch-4] INFO fluree.server.handlers.create - Ledger created: nil
19:27:31.902 [clojure-agent-send-off-pool-1] INFO fluree.db.json-ld.api - Creating ledger nil
Exception in thread "async-dispatch-12" java.lang.NullPointerException: Cannot invoke "Object.toString()" because "s" is null
at clojure.string$starts_with_QMARK_.invokeStatic(string.clj:365)
at clojure.string$starts_with_QMARK_.invoke(string.clj:361)
at fluree.db.json_ld.api$address_QMARK_.invokeStatic(api.cljc:104)
at fluree.db.json_ld.api$address_QMARK_.invoke(api.cljc:100)
at fluree.db.json_ld.api$exists_QMARK_$fn__61975$state_machine__14611__auto____61980$fn__61982.invoke(api.cljc:152)
at fluree.db.json_ld.api$exists_QMARK_$fn__61975$state_machine__14611__auto____61980.invoke(api.cljc:151)
at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:972)
at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:971)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:976)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:974)
at fluree.db.json_ld.api$exists_QMARK_$fn__61975.invoke(api.cljc:151)
at clojure.lang.AFn.run(AFn.java:22)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at clojure.core.async.impl.concurrent$counted_thread_factory$reify__9575$fn__9576.invoke(concurrent.clj:29)
at clojure.lang.AFn.run(AFn.java:22)
at java.base/java.lang.Thread.run(Unknown Source)
Exception in thread "async-dispatch-4" java.lang.NullPointerException
19:27:31.902 [async-dispatch-15] ERROR fluree.db.json-ld.api - #error {
:cause "Cannot invoke \"Object.toString()\" because \"s\" is null"
:via
[{:type java.lang.NullPointerException
:message "Cannot invoke \"Object.toString()\" because \"s\" is null"
:at [clojure.string$starts_with_QMARK_ invokeStatic "string.clj" 365]}]
:trace
[[clojure.string$starts_with_QMARK_ invokeStatic "string.clj" 365]
[clojure.string$starts_with_QMARK_ invoke "string.clj" 361]
[fluree.db.ledger.json_ld$normalize_alias invokeStatic "json_ld.cljc" 191]
[fluree.db.ledger.json_ld$normalize_alias invoke "json_ld.cljc" 188]
[fluree.db.ledger.json_ld$create_STAR_$fn__58612$state_machine__14611__auto____58619$fn__58622 invoke "json_ld.cljc" 239]
[fluree.db.ledger.json_ld$create_STAR_$fn__58612$state_machine__14611__auto____58619 invoke "json_ld.cljc" 214]
[clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 972]
[clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 971]
[clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 976]
[clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 974]
[fluree.db.ledger.json_ld$create_STAR_$fn__58612 invoke "json_ld.cljc" 214]
[clojure.lang.AFn run "AFn.java" 22]
[java.util.concurrent.ThreadPoolExecutor runWorker nil -1]
[java.util.concurrent.ThreadPoolExecutor$Worker run nil -1]
[clojure.core.async.impl.concurrent$counted_thread_factory$reify__9575$fn__9576 invoke "concurrent.clj" 29]
[clojure.lang.AFn run "AFn.java" 22]
[java.lang.Thread run nil -1]]}
19:27:31.902 [clojure-agent-send-off-pool-1] ERROR f.s.components.consensus-handler - "Unexpected error in processor function for event :ledger-create with message: Cannot invoke \"Object.toString()\" because \"s\" is null"
java.lang.NullPointerException: Cannot invoke "Object.toString()" because "s" is null
at clojure.string$starts_with_QMARK_.invokeStatic(string.clj:365)
at clojure.string$starts_with_QMARK_.invoke(string.clj:361)
at fluree.db.ledger.json_ld$normalize_alias.invokeStatic(json_ld.cljc:191)
at fluree.db.ledger.json_ld$normalize_alias.invoke(json_ld.cljc:188)
at fluree.db.ledger.json_ld$create_STAR_$fn__58612$state_machine__14611__auto____58619$fn__58622.invoke(json_ld.cljc:239)
at fluree.db.ledger.json_ld$create_STAR_$fn__58612$state_machine__14611__auto____58619.invoke(json_ld.cljc:214)
at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:972)
at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:971)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:976)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:974)
at fluree.db.ledger.json_ld$create_STAR_$fn__58612.invoke(json_ld.cljc:214)
at clojure.lang.AFn.run(AFn.java:22)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at clojure.core.async.impl.concurrent$counted_thread_factory$reify__9575$fn__9576.invoke(concurrent.clj:29)
at clojure.lang.AFn.run(AFn.java:22)
at java.base/java.lang.Thread.run(Unknown Source)
The text was updated successfully, but these errors were encountered:
alan-deronyan
changed the title
Cannot add ledger named "rdfs/void"
Adding ledger with no "insert" or "delete" clause hangs
Feb 9, 2024
alan-deronyan
changed the title
Adding ledger with no "insert" or "delete" clause hangs
Adding ledger with no "insert" clause hangs
Feb 9, 2024
I'm adding a ledger, but forgot to add the "insert" clause.
Client (postman) consistently hangs on my request, and the server throws some exceptions (attached below).
Request Body:
curl:
Server Logs:
If I go back and fix the request, it still hangs, as the previous creation attempt is "stuck"...
Request body:
curl:
Server logs:
The text was updated successfully, but these errors were encountered: