diff --git a/main/src/com/google/refine/model/recon/StandardReconConfig.java b/main/src/com/google/refine/model/recon/StandardReconConfig.java index fe14b47bb..3a8e7d73c 100644 --- a/main/src/com/google/refine/model/recon/StandardReconConfig.java +++ b/main/src/com/google/refine/model/recon/StandardReconConfig.java @@ -110,7 +110,8 @@ public class StandardReconConfig extends ReconConfig { JSONObject t = obj.has("type") && !obj.isNull("type") ? obj.getJSONObject("type") : null; - int limit = obj.has("limit") ? obj.getInt("limit") : 0; + String limitString = obj.has("limit") && !obj.isNull("limit") ? obj.getString("limit") : ""; + int limit = "".equals(limitString) ? 0 : Integer.parseInt(limitString); return new StandardReconConfig( obj.getString("service"),