diff --git a/software/cananolab-webapp/src/gov/nih/nci/cananolab/dto/common/FindingBean.java b/software/cananolab-webapp/src/gov/nih/nci/cananolab/dto/common/FindingBean.java index e17102cf5f..0ae026d3c7 100644 --- a/software/cananolab-webapp/src/gov/nih/nci/cananolab/dto/common/FindingBean.java +++ b/software/cananolab-webapp/src/gov/nih/nci/cananolab/dto/common/FindingBean.java @@ -391,7 +391,7 @@ public void setupDomain( String internalFileUriPath, String createdBy ) // Test each cell for valid value here, so we can give a complete error list. - ArrayList> errorDataArray = new ArrayList<>(); + ArrayList> errorDataArray = new ArrayList>(); boolean errorFlag = false; for( Row row : rows ) { @@ -404,7 +404,11 @@ public void setupDomain( String internalFileUriPath, String createdBy ) try { - Float errorTestFloat = Float.valueOf( cell.getValue() ); + // Don't reject an empty value. + if( ( cell != null ) && (cell.getValue() != null ) && (cell.getValue().length() > 0 ) ) + { + Float errorTestFloat = Float.valueOf( cell.getValue() ); + } } catch( NumberFormatException e ) {