You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/07/12 19:51:00 UTC

[jira] [Created] (JENA-1575) tdbloader: class cast exception when using --graph.

Andy Seaborne created JENA-1575:
-----------------------------------

             Summary: tdbloader: class cast exception when using --graph.
                 Key: JENA-1575
                 URL: https://issues.apache.org/jira/browse/JENA-1575
             Project: Apache Jena
          Issue Type: Bug
          Components: TDB
    Affects Versions: Jena 3.8.0
            Reporter: Andy Seaborne


[Email on users@|https://lists.apache.org/thread.html/80759dd4ab869eab052ebb660209ff0a214866955c8c112df8039431@%3Cusers.jena.apache.org%3E].

{{tdbloader --loc=TMP --graph=http://example/g ~/tmp/D.ttl}}

causes:
{noformat}
java.lang.ClassCastException: org.apache.jena.tdb.store.GraphTxnTDB cannot be cast to org.apache.jena.tdb.store.GraphNonTxnTDB
	at tdb.cmdline.CmdTDBGraph.getGraph(CmdTDBGraph.java:69)
	at tdb.tdbloader.loadNamedGraph(tdbloader.java:127)
	at tdb.tdbloader.exec(tdbloader.java:117)
	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.tdbloader.main(tdbloader.java:48)
{noformat}

This work with Jena 3.7.0 but not 3.8.0.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)