Uploaded image for project: 'VIVO (LEGACY)'
  1. VIVO (LEGACY)
  2. VIVO-1465

Jena2tools NullPointerException on read

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      8
    • Sprint:
      VIVO Sprint 1

      Description

      Muhammad Javed reports a NullPointerException from the jena libraries when running jena2tools on Scholars@Cornell data.

       

      Here's the trace:

      Javed [1:26 PM]
      lib-c02mjedqfd57:jena3tools mj495$ cd /Users/mj495/Documents/VIVO-DATA/VIVO-1-10/vitroHome/bin 
      lib-c02mjedqfd57:bin mj495$ 
      lib-c02mjedqfd57:bin mj495$ java -jar jena2tools-1.1.1.jar -d /Users/mj495/Documents/VIVO-DATA/VIVO-1-10/vitroHome -e
      Exception in thread "main" java.lang.NullPointerException
      at com.hp.hpl.jena.tdb.transaction.JournalControl.replay(JournalControl.java:281)
      at com.hp.hpl.jena.tdb.transaction.JournalControl.recoverSegment(JournalControl.java:186)
      at com.hp.hpl.jena.tdb.transaction.JournalControl.recoverFromJournal(JournalControl.java:138)
      at com.hp.hpl.jena.tdb.StoreConnection._makeAndCache(StoreConnection.java:238)
      at com.hp.hpl.jena.tdb.StoreConnection.make(StoreConnection.java:218)
      at com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction.<init>(DatasetGraphTransaction.java:76)
      at com.hp.hpl.jena.tdb.sys.TDBMaker._create(TDBMaker.java:57)
      at com.hp.hpl.jena.tdb.sys.TDBMaker.createDatasetGraphTransaction(TDBMaker.java:45)
      at com.hp.hpl.jena.tdb.TDBFactory._createDatasetGraph(TDBFactory.java:104)
      at com.hp.hpl.jena.tdb.TDBFactory.createDatasetGraph(TDBFactory.java:73)
      at com.hp.hpl.jena.tdb.TDBFactory.createDataset(TDBFactory.java:52)
      at com.hp.hpl.jena.tdb.TDBFactory.createDataset(TDBFactory.java:48)
      at org.vivoweb.tools.ApplicationStores.<init>(ApplicationStores.java:148)
      at org.vivoweb.tools.JenaCli.main(JenaCli.java:30)
      lib-c02mjedqfd57:bin mj495$ java -jar jena2tools-1.1.1.jar -d '/Users/mj495/Documents/VIVO-DATA/VIVO-1-10/vitroHome' -e
      Exception in thread "main" java.lang.NullPointerException
      at com.hp.hpl.jena.tdb.transaction.JournalControl.replay(JournalControl.java:281)
      at com.hp.hpl.jena.tdb.transaction.JournalControl.recoverSegment(JournalControl.java:186)
      at com.hp.hpl.jena.tdb.transaction.JournalControl.recoverFromJournal(JournalControl.java:138)
      at com.hp.hpl.jena.tdb.StoreConnection._makeAndCache(StoreConnection.java:238)
      at com.hp.hpl.jena.tdb.StoreConnection.make(StoreConnection.java:218)
      at com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction.<init>(DatasetGraphTransaction.java:76)
      at com.hp.hpl.jena.tdb.sys.TDBMaker._create(TDBMaker.java:57)
      at com.hp.hpl.jena.tdb.sys.TDBMaker.createDatasetGraphTransaction(TDBMaker.java:45)
      at com.hp.hpl.jena.tdb.TDBFactory._createDatasetGraph(TDBFactory.java:104)
      at com.hp.hpl.jena.tdb.TDBFactory.createDatasetGraph(TDBFactory.java:73)
      at com.hp.hpl.jena.tdb.TDBFactory.createDataset(TDBFactory.java:52)
      at com.hp.hpl.jena.tdb.TDBFactory.createDataset(TDBFactory.java:48)
      at org.vivoweb.tools.ApplicationStores.<init>(ApplicationStores.java:148)
      at org.vivoweb.tools.JenaCli.main(JenaCli.java:30)
      lib-c02mjedqfd57:bin mj495$ cd ..
      lib-c02mjedqfd57:vitroHome mj495$ cd bin/
      lib-c02mjedqfd57:bin mj495$ java -jar original-jena2tools-1.1.1.jar -d /Users/mj495/Documents/VIVO-DATA/VIVO-1-10/vitroHome -e
      no main manifest attribute, in original-jena2tools-1.1.1.jar
      lib-c02mjedqfd57:bin mj495$ java -jar original-jena2tools-1.1.1.jar -d '/Users/mj495/Documents/VIVO-DATA/VIVO-1-10/vitroHome' -e
      no main manifest attribute, in original-jena2tools-1.1.1.jar
      lib-c02mjedqfd57:bin mj495$
      

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              j2blake Jim Blake
              Reporter:
              mj495 Muhammad Javed
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: