diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/jena/JenaOutputUtils.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/jena/JenaOutputUtils.java index 5ff6e3c2e..6da2183ef 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/jena/JenaOutputUtils.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/jena/JenaOutputUtils.java @@ -21,6 +21,11 @@ public class JenaOutputUtils { public static void setNameSpacePrefixes(Model model, WebappDaoFactory wadf) { + if (model == null) { + log.warn("input model is null"); + return; + } + Map prefixes = new HashMap(); List ontologies = wadf.getOntologyDao().getAllOntologies(); Iterator iter = ontologies.iterator(); diff --git a/webapp/web/jenaIngest/exportSelection.jsp b/webapp/web/jenaIngest/exportSelection.jsp index 5eb1dd191..5c876c408 100644 --- a/webapp/web/jenaIngest/exportSelection.jsp +++ b/webapp/web/jenaIngest/exportSelection.jsp @@ -14,9 +14,9 @@
    -
  • Entire RDF model for the VIVO application (TBox and ABox, including application metadata)
  • -
  • Entire ontology (TBox) for the VIVO application
  • -
  • All Instance data (ABox) for the VIVO application
  • +
  • Entire RDF model for the application (TBox and ABox, including application metadata)
  • +
  • Entire ontology (TBox) for the application
  • +
  • All Instance data (ABox) for the application
  • <%VitroRequest vreq = new VitroRequest(request); OntologyDao daoObj = vreq.getFullWebappDaoFactory().getOntologyDao(); List ontologiesObj = daoObj.getAllOntologies();