Fixed ReportRendererException by implementing the new  getAttachments method