Coder Social home page Coder Social logo

jenatools's People

Contributors

gneissone avatar grahamtriggs avatar mconlon17 avatar mjaved495 avatar roflinn avatar taeber avatar vivo-uab avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jenatools's Issues

Unable to export VIVO 1.13 using jena3tools

Describe the bug
I get a null pointer exception when exporting tdbContentModels from VIVO 1.13 using jena3tools. Running time java -jar ./bin/jena3tools.jar -e -f -o nq -d . produces

Exception in thread "main" java.lang.NullPointerException
   at org.vivoweb.tools.ApplicationStores.writeContent(ApplicationStores.java:240)
   at org.vivoweb.tools.JenaCli.main(JenaCli.java:65)

To Reproduce
Steps to reproduce the behavior:

  1. Create a VIVO directory
    • /home $ mkdir VIVO
  2. Cd into the VIVO directory
    • /home $ cd VIVO
  3. Clone VIVO
    • /home/VIVO $ git clone https://github.com/vivo-project/VIVO.git --branch vivo-1.13.0
  4. Clone Vitro
    • /home/VIVO $ git clone https://github.com/vivo-project/Vitro.git --branch vitro-1.13.0
  5. Build VIVO
    • /home/VIVO $ mvn clean package -s installer/example-settings.xml
  6. Start VIVO Container
    • /home/VIVO $ docker compose up -d
  7. Wait for VIVO application to finish initial startup
  8. Stop the VIVO container
    • /home/VIVO $ docker compose stop vivo
  9. Cd into the vivo-home directory
    • /home/VIVO $ cd vivo-home
  10. Create a copy of runtime.properties in the vivo-home directory.
    • /home/VIVO/vivo-home $ cp config/runtime.properties runtime.properties
  11. Export using jena3tools
    • /home/VIVO/vivo-home $ time java -jar ./bin/jena3tools.jar -e -f -o nq -d .

Expected behavior
Running jena3tools creates a dumps directory containing the export (content.nq).

Screenshots
image

Environment (please complete the following information):

  • OS: Mac Ventura 13.0
  • Apache Tomcat/9.0.65
  • VIVO version 1.13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.