diff --git a/src/main/java/com/metaweb/gridworks/ProjectMetadata.java b/src/main/java/com/metaweb/gridworks/ProjectMetadata.java index 44a8a0fb6..4b5628fad 100644 --- a/src/main/java/com/metaweb/gridworks/ProjectMetadata.java +++ b/src/main/java/com/metaweb/gridworks/ProjectMetadata.java @@ -166,7 +166,9 @@ public class ProjectMetadata implements Jsonizable { } public void setEncodingConfidence(String confidence) { - this.setEncodingConfidence(Integer.parseInt(confidence)); + if (confidence != null) { + this.setEncodingConfidence(Integer.parseInt(confidence)); + } } public int getEncodingConfidence() {