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

Regression: Problem with using riot on csv->rdf with Jena 3.3.0 (tested that works on 3.1.1)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.3.0
    • Jena 3.4.0
    • None
    • None
    • Linux

    Description

      ./apache-jena-3.3.0/bin/riot --base='http://example.com/csvtest/' --syntax=csv --output=ttl csv_dbs_examples/csv_inputs/CDs.csv
      java.lang.NullPointerException
      at org.apache.jena.ext.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770)
      at org.apache.jena.ext.com.google.common.cache.LocalCache.get(LocalCache.java:4153)
      at org.apache.jena.ext.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:5060)
      at org.apache.jena.atlas.lib.cache.CacheGuava.getOrFill(CacheGuava.java:58)
      at org.apache.jena.riot.system.IRIResolver$IRIResolverNormal.resolveSilentCache(IRIResolver.java:470)
      at org.apache.jena.riot.system.IRIResolver$IRIResolverNormal.resolveSilent(IRIResolver.java:454)
      at org.apache.jena.riot.system.IRIResolver.resolve(IRIResolver.java:328)
      at org.apache.jena.riot.system.IRIResolver$IRIResolverSync.resolve(IRIResolver.java:489)
      at org.apache.jena.riot.system.IRIResolver.resolveIRI(IRIResolver.java:254)
      at org.apache.jena.riot.system.IRIResolver.resolveString(IRIResolver.java:233)
      at org.apache.jena.riot.lang.ReaderRIOTCSV.parse(ReaderRIOTCSV.java:89)
      at org.apache.jena.riot.lang.ReaderRIOTCSV.read(ReaderRIOTCSV.java:67)
      at org.apache.jena.riot.RDFParser.read(RDFParser.java:293)
      at org.apache.jena.riot.RDFParser.parseNotUri(RDFParser.java:283)
      at org.apache.jena.riot.RDFParser.parse(RDFParser.java:233)
      at riotcmd.CmdLangParse.parseRIOT(CmdLangParse.java:286)
      at riotcmd.CmdLangParse.parseFile(CmdLangParse.java:216)
      at riotcmd.CmdLangParse.exec$(CmdLangParse.java:161)
      at riotcmd.CmdLangParse.exec(CmdLangParse.java:127)
      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 riotcmd.riot.main(riot.java:34)

      originally posted on : http://stackoverflow.com/q/43968425/544721

      I am new to this Jira bug tracker, please excuse if I failed to find duplicate, and please kindly de-duplicate if it was already reported.

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              gwpublic@wp.pl Grzegorz Wierzowiecki
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified