On 24/04/2020 15:17, Jean-Marc Vanel wrote:
How to reproduce with 3.14.0
bin/*tdbloader* --loc TDB --graph=http://dbpedia.org/resource/User_guide \
--verbose http://dbpedia.org/resource/User_guide
Did the log say anything?
As this is a remote URL, did it all arrive and parse without warnings?
Was the database fresh or was there data in it to start with?
echo "
CONSTRUCT {
<http://dbpedia.org/resource/User_guide>
?P ?O . }
WHERE { GRAPH ?G {
<http://dbpedia.org/resource/User_guide>
?P ?O . } }
LIMIT
# 30 # OK
35 # KO !!!
" > /tmp/const.ql
bin/*tdbquery* --debug --loc=TDB --query /tmp/const.ql
And here is the *stack*:
16:14:23 ERROR BindingTDB :: get1(?O)
java.lang.StringIndexOutOfBoundsException: String index out of range: 39
at java.lang.String.charAt(String.java:658)
at org.apache.jena.atlas.lib.StrUtils.decodeHex(StrUtils.java:212)
at org.apache.jena.tdb.store.nodetable.NodecSSE.decode(NodecSSE.java:121)
If the load was clean, the database is intact and it is a decoding bug
in Jena for an URI. The data has a lot of encoded \u terms but its a URI
in the object position causing a problem. (I don't see why these are
encoded - it's not necessary).
Andy
...
at tdb.tdbquery.main(tdbquery.java:33)
NOTE : no problem with apache-jena-3.10.0-SNAPSHOT !?
Jean-Marc Vanel
<http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me>
+33 (0)6 89 16 29 52
Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui
Chroniques jardin
<http://semantic-forms.cc:1952/history?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FChronicle>