diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/PropertyEditLinks.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/PropertyEditLinks.java index 54b4d0779..7dbfd1604 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/PropertyEditLinks.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/PropertyEditLinks.java @@ -360,7 +360,14 @@ public class PropertyEditLinks extends TagSupport{ String value = dpropStmt.getData(); Model model = (Model)pageContext.getServletContext().getAttribute("jenaOntModel"); - String dpropHash = String.valueOf(RdfLiteralHash.makeVitroNsLiteralHash( subject, predicateUri, value, model )); + String dpropHash = null; + try{ + dpropHash = String.valueOf(RdfLiteralHash.makeVitroNsLiteralHash( subject, predicateUri, value, model )); + }catch(IllegalArgumentException ex){ + log.debug("could not create hash for " + subject + " " + predicateUri + " " + value); + return links; + } + String dispatchUrl = contextPath + "edit/editDatapropStmtRequestDispatch.jsp"; int index = 0;