Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1575

tdbloader: class cast exception when using --graph.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.8.0
    • Jena 3.9.0
    • TDB
    • None

    Description

      Email on users@.

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

      causes:

      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)
      

      This work with Jena 3.7.0 but not 3.8.0.

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: