<BUG>webCallResult = m_webResource.get(new GenericType<List<RemoteReportSDO>>() {

});</BUG>
} catch (Exception e) {
<BUG>logger.error("Error requesting report template from repository. Error message: '{}' Uri was: '{}'", e.getMessage(), m_webResource.getURI());
</BUG>
e.printStackTrace();
}
<BUG>logger.debug("getReports got '{}' RemoteReportSDOs from uri '{}'", webCallResult.size(), m_webResource.getURI());
</BUG>
resultReports = this.mapSDOListToBasicReportList(webCallResult);

}
@Override
public List<BasicReportDefinition> getReports() {
List<BasicReportDefinition> resultReports = new ArrayList<BasicReportDefinition>();
if (isConfigOk()) {
WebTarget target = getTarget(m_remoteRepositoryDefintion.getURI() + "reports" + "/" + m_jasperReportsVersion);
List<RemoteReportSDO> webCallResult = new ArrayList<RemoteReportSDO>();
try {
webCallResult = getBuilder(target).get(new GenericType<List<RemoteReportSDO>>() {});
} catch (Exception e) {
logger.error("Error requesting report template from repository. Error message: '{}' Uri was: '{}'", e.getMessage(), target.getUri());
e.printStackTrace();
}
logger.debug("getReports got '{}' RemoteReportSDOs from uri '{}'", webCallResult.size(), target.getUri());
