else
boundStatement = getLatestRepresentationRevisionStatement.bind(cloudId, schema, revisionProviderId, revisionName);
ResultSet rs = connectionProvider.getSession().execute(boundStatement);
QueryTracer.logConsistencyLevel(boundStatement, rs);
Row row = rs.one();
<BUG>if (row == null) {

throw new RevisionNotExistsException("Revision identified by " + RevisionUtils.getRevisionKey(revisionProviderId, revisionName, revisionTimestamp.getTime()) + " does not exist.");
} else {</BUG>
RepresentationRevisionResponse representationRevision = new RepresentationRevisionResponse(cloudId, schema,

else
boundStatement = getLatestRepresentationRevisionStatement.bind(cloudId, schema, revisionProviderId, revisionName);
ResultSet rs = connectionProvider.getSession().execute(boundStatement);
QueryTracer.logConsistencyLevel(boundStatement, rs);
Row row = rs.one();
if (row != null) {
RepresentationRevisionResponse representationRevision = new RepresentationRevisionResponse(cloudId, schema,
