Unable to export VIVO 1.13 using jena3tools
Created by: mbentz-uf
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:
- Create a VIVO directory
/home $ mkdir VIVO
- Cd into the
VIVO
directory/home $ cd VIVO
- Clone VIVO
/home/VIVO $ git clone https://github.com/vivo-project/VIVO.git --branch vivo-1.13.0
- Clone Vitro
/home/VIVO $ git clone https://github.com/vivo-project/Vitro.git --branch vitro-1.13.0
- Build VIVO
/home/VIVO $ mvn clean package -s installer/example-settings.xml
- Start VIVO Container
/home/VIVO $ docker compose up -d
- Wait for VIVO application to finish initial startup
- Stop the VIVO container
/home/VIVO $ docker compose stop vivo
- Cd into the
vivo-home
directory/home/VIVO $ cd vivo-home
- Create a copy of
runtime.properties
in thevivo-home
directory./home/VIVO/vivo-home $ cp config/runtime.properties runtime.properties
- 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
).
Environment (please complete the following information):
- OS: Mac Ventura 13.0
- Apache Tomcat/9.0.65
- VIVO version 1.13