When the FK is nullable a Nullpointer exception is generated. Correction:
RestUtil.getRowUrl(...)
if(id != null) return getTableUrl( servletURL, tableName) + URLEncoder.encode(id, "UTF-8") + "/"; else return "";
Log in to post a comment.