fixed bug #7486 - correção null pointer Modificação Massiva Alias

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@56112 d1611594-4594-4d17-8e1d-87c2c4800839
master
frederico 2016-05-18 14:07:09 +00:00
parent c3bbb605cf
commit b1c16f0ac5
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ public class ModificacionMasivaAliasUploadController extends MyGenericForwardCom
private Integer getCorridaPorRow(Row row) { private Integer getCorridaPorRow(Row row) {
Cell cell = row.getCell(CELL_ID_CORRIDA); Cell cell = row.getCell(CELL_ID_CORRIDA);
if (cell.toString() == null || cell.toString().isEmpty()) { if (cell == null || cell.toString() == null || cell.toString().isEmpty()) {
return null; return null;
} }
BigDecimal bdId = new BigDecimal(cell.getStringCellValue()); BigDecimal bdId = new BigDecimal(cell.getStringCellValue());