From 8cc282a502d6f360cd0955f5e14427935fa0b52e Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Sun, 14 Jan 2018 12:42:54 +0000 Subject: [PATCH] Fix null pointer exception in NewItemLibrary --- .../src/org/openrefine/wikidata/editing/NewItemLibrary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/wikidata/src/org/openrefine/wikidata/editing/NewItemLibrary.java b/extensions/wikidata/src/org/openrefine/wikidata/editing/NewItemLibrary.java index 1a4a4d9da..c66f2493b 100644 --- a/extensions/wikidata/src/org/openrefine/wikidata/editing/NewItemLibrary.java +++ b/extensions/wikidata/src/org/openrefine/wikidata/editing/NewItemLibrary.java @@ -68,7 +68,7 @@ public class NewItemLibrary { for(Row row : project.rows) { for(Cell cell : row.cells) { - if (cell.recon == null) { + if (cell == null || cell.recon == null) { continue; } Recon recon = cell.recon;