From e35c4c3b94a16a079fe4d0ab1c23c22155974ca3 Mon Sep 17 00:00:00 2001 From: David Huynh Date: Sun, 14 Mar 2010 05:15:23 +0000 Subject: [PATCH] Minor bug. git-svn-id: http://google-refine.googlecode.com/svn/trunk@294 7d457c2a-affb-35e4-300a-418c747d4874 --- .../gridworks/operations/ReconMatchBestCandidatesOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/metaweb/gridworks/operations/ReconMatchBestCandidatesOperation.java b/src/main/java/com/metaweb/gridworks/operations/ReconMatchBestCandidatesOperation.java index 34f88636b..a57604499 100644 --- a/src/main/java/com/metaweb/gridworks/operations/ReconMatchBestCandidatesOperation.java +++ b/src/main/java/com/metaweb/gridworks/operations/ReconMatchBestCandidatesOperation.java @@ -72,7 +72,7 @@ public class ReconMatchBestCandidatesOperation extends EngineDependentMassCellOp public boolean visit(Project project, int rowIndex, Row row, boolean includeContextual, boolean includeDependent) { if (cellIndex < row.cells.size()) { Cell cell = row.cells.get(cellIndex); - if (cell.recon != null) { + if (cell != null && cell.recon != null) { ReconCandidate candidate = cell.recon.getBestCandidate(); if (candidate != null) { Cell newCell = new Cell(