[ https://issues.apache.org/jira/browse/JENA-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425199#comment-17425199 ]
Martynas Jusevičius edited comment on JENA-2180 at 10/6/21, 8:52 PM: --------------------------------------------------------------------- Is this Fuseki in an unprivileged Docker container with the data mounted to the host? We experienced similar: [https://www.mail-archive.com/users@jena.apache.org/msg18984.html] But in that case this is a Docker issue rather than Jena/Fuseki issue. was (Author: graphity): Is this Fuseki in a Docker container with the data mounted to the host? We experienced similar: [https://www.mail-archive.com/users@jena.apache.org/msg18984.html] But in that case this is a Docker issue rather than Jena/Fuseki issue. > NPE in tdbquery > --------------- > > Key: JENA-2180 > URL: https://issues.apache.org/jira/browse/JENA-2180 > Project: Apache Jena > Issue Type: Bug > Components: Cmd line tools > Affects Versions: Jena 3.14.0 > Reporter: Elie Roux > Priority: Major > > I have a TDB1 dataset created with jena 3.14.0 (or at least I strongly think > it is... is there any reliable way I can check that?). It runs fine with > Fuseki, but when I run > {noformat} > tdbquery --file=/tmp/querytodebug.rq --explain > --loc=/usr/local/fuseki/base/databases/core/ > {noformat} > (with the tdbquery from Jena 3.14.0), I'm getting > {noformat} > java.lang.NullPointerException > at > org.apache.jena.tdb.sys.TDBInternal.isNewDatabaseArea(TDBInternal.java:210) > at > org.apache.jena.tdb.setup.DatasetBuilderStd.create(DatasetBuilderStd.java:140) > at org.apache.jena.tdb.StoreConnection.build(StoreConnection.java:253) > at org.apache.jena.tdb.StoreConnection.make(StoreConnection.java:243) > at org.apache.jena.tdb.StoreConnection.make(StoreConnection.java:258) > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.<init>(DatasetGraphTransaction.java:69) > at org.apache.jena.tdb.sys.TDBMaker.createDirect(TDBMaker.java:126) > at > java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) > at org.apache.jena.tdb.sys.TDBMaker._create(TDBMaker.java:112) > at > org.apache.jena.tdb.sys.TDBMaker.createDatasetGraphTransaction(TDBMaker.java:43) > at > org.apache.jena.tdb.TDBFactory._createDatasetGraph(TDBFactory.java:93) > at org.apache.jena.tdb.TDBFactory.createDatasetGraph(TDBFactory.java:71) > at org.apache.jena.tdb.TDBFactory.createDataset(TDBFactory.java:55) > at tdb.cmdline.ModTDBDataset.createDataset(ModTDBDataset.java:103) > at arq.cmdline.ModDataset.getDataset(ModDataset.java:36) > at arq.query.getDataset(query.java:176) > at arq.query.queryExec(query.java:214) > at arq.query.exec(query.java:153) > at jena.cmd.CmdMain.mainMethod(CmdMain.java:93) > at jena.cmd.CmdMain.mainRun(CmdMain.java:58) > at jena.cmd.CmdMain.mainRun(CmdMain.java:45) > at tdb.tdbquery.main(tdbquery.java:33) > {noformat} > I'm happy to send the 73GB dataset if that helps... -- This message was sent by Atlassian Jira (v8.3.4#803005)