diff --git a/api/src/org/labkey/api/data/CachedResultSets.java b/api/src/org/labkey/api/data/CachedResultSets.java index caede3d553d..68bd1816503 100644 --- a/api/src/org/labkey/api/data/CachedResultSets.java +++ b/api/src/org/labkey/api/data/CachedResultSets.java @@ -56,7 +56,17 @@ public static CachedResultSet create(ResultSet rsIn, boolean cacheMetaData, int list.add(factory.getRowMap(rs)); // If we have another row, then we're not complete - boolean isComplete = !rs.next(); + boolean isComplete = true; + + // TODO: Remove this try/catch once SQL Server driver fixes getIndexInfo() + try + { + isComplete = !rs.next(); + } + catch (SQLException ignored) + { + // tolerate this for now + } return new CachedResultSet(md, list, isComplete, stackTrace); }