Skip to content

Bad #uuid json values found in indexes #914

@alan-icebreaker

Description

@alan-icebreaker

Im finding some logs in my server lately along these lines (apologies for the verbose dump here), the json outlined here has been truncated to isolate the bad shape...

at fluree.server16:07:43.452 [async-dispatch-1325] ERROR fluree.db.util.json - "Exception JSON-parsing:

{
"children": [
{
"first": [
[103, "user-name-a3737326"],
[102, "id"],
"user-name-a3737326",
[2, "string"],
88,
true,
null
],
"id": #uuid "e6e71f19-04a2-419d-b3be-e54c3f6b055a", <-- This is the line that is causing the error
"leaf": true,
"leftmost?": false,
"rhs": [
[103, "foo-bar-a802121"],
[102, "children"],
"",
[2, "string"],
1274,
true,
null
],
"size": 1908224
}
]
}

at cheshire.parse$parseSTAR.invoke(parse.clj:63)
at cheshire.parse$parseSTAR.invokeStatic(parse.clj:66)
at cheshire.parse$parseSTAR.invoke(parse.clj:63)
at cheshire.parse$parseSTAR.invokeStatic(parse.clj:65)
at cheshire.parse$parseSTAR.invoke(parse.clj:63)
at cheshire.parse$parse.invokeStatic(parse.clj:100)
at cheshire.parse$parse.invoke(parse.clj:88)
at cheshire.core$parsestring.invokeStatic(core.clj:208)
at cheshire.core$parse_string.invoke(core.clj:194)
at cheshire.core$parse_string.invokeStatic(core.clj:205)
at cheshire.core$parse_string.invoke(core.clj:194)
at fluree.db.util.json$parse.invokeStatic(json.cljc:70)
at fluree.db.util.json$parse.invoke(json.cljc:54)
at fluree.db.storage.file.FileStore$fn46569$state_machine5947auto__46588$fn46591.invoke(file.cljc:39)
at fluree.db.storage.file.FileStore$fn46569$state_machine5947auto____46588.invoke(file.cljc:36)
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 clojure.core.async.impl.ioc_macros$take_BANG$fn5965.invoke(ioc_macros.clj:985)
at clojure.core.async.impl.channels.ManyToManyChannel$fn784$fn785.invoke(channels.clj:100)
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$reify687$fn__688.invoke(concurrent.clj:29)
at clojure.lang.AFn.run(AFn.java:22)
at java.base/java.lang.Thread.run(Unknown Source)

16:07:43.452 [async-dispatch-1333] ERROR fluree.db.flake.index - Error resolving index node: {:id "fluree:ee.flur/main:file://icebreaker/userdata/index/spot/d230fb3e34c10b95fffa8236e7f6da7fb90c21c1a544c5d5bfb077df30bc0888.json", :ledger-alias "icebreaker/userdata"}
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('#' (code 35)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 1, column: 29323]
at com.fasterxml.jackson.core.JsonParser._constructReadException(JsonParser.java:2643)
...
...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions