Fix NPE on cluster record iterator
@@ -142,7 +142,7 @@ public class ORecordIteratorCluster<REC extends ORecord> extends OIdentifiableIt
} catch (Exception e) {
OLogManager.instance().error(this, "Error during read of record", e);
- final ORID recordRid = currentRecord.getIdentity();
+ final ORID recordRid = record == null ? null : record.getIdentity();
if (recordRid != null)
brokenRIDs.add(recordRid.copy());
