Fix null pointer exception in NewItemLibrary

This commit is contained in:
Antonin Delpeuch 2018-01-14 12:42:54 +00:00
parent ad9d7f9f0e
commit 8cc282a502

View File

@ -68,7 +68,7 @@ public class NewItemLibrary {
for(Row row : project.rows) { for(Row row : project.rows) {
for(Cell cell : row.cells) { for(Cell cell : row.cells) {
if (cell.recon == null) { if (cell == null || cell.recon == null) {
continue; continue;
} }
Recon recon = cell.recon; Recon recon = cell.recon;