Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to export VIVO 1.13 using jena3tools #20

Open
michael-bentz opened this issue May 1, 2023 · 0 comments
Open

Unable to export VIVO 1.13 using jena3tools #20

michael-bentz opened this issue May 1, 2023 · 0 comments
Assignees

Comments

@michael-bentz
Copy link

michael-bentz commented May 1, 2023

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
@michael-bentz michael-bentz changed the title Unable to export Unable to export VIVO 1.13 using jena3tools May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants