if(rule == null){
throw new IllegalStateException("No such rule in server: "+issue.ruleKey());
}
rulesCache.put(issue.ruleKey(), rule);
}
issues.add(new RadarIssue(issue, rule));
}
pageIndex++;
}while(pageIndex <= result.paging().pages());
return issues;
}catch(HttpException ex) {