You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/12 22:41:00 UTC
[jira] [Commented] (JENA-1575) tdbloader: class cast exception when
using --graph.
[ https://issues.apache.org/jira/browse/JENA-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16542279#comment-16542279 ]
ASF GitHub Bot commented on JENA-1575:
--------------------------------------
GitHub user afs opened a pull request:
https://github.com/apache/jena/pull/448
JENA-1575: tdbloader - unnecessarily specific class cast.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/afs/jena tdbloader-ng
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/448.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #448
----
commit f77332fd0cb3374df51ee3b3b97ee8e423175c98
Author: Andy Seaborne <an...@...>
Date: 2018-07-12T22:38:52Z
JENA-1575: tdbloader - unnecessarily specific class cast.
----
> 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
> Priority: Major
>
> [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)