IDEMPIERE-310 Show compilation errors instead of NPE

This commit is contained in:
Carlos Ruiz 2018-08-27 15:33:13 +02:00
parent e26d222572
commit 40085d3627
1 changed files with 1 additions and 1 deletions

View File

@ -1353,7 +1353,7 @@ public class ReportStarter implements ProcessCall, ClientProcess
jasperFile.setLastModified( reportFile.lastModified()); //Synchronize Dates
compiledJasperReport = (JasperReport)JRLoader.loadObject(jasperFile);
} catch (JRException e) {
log.log(Level.SEVERE, "Error", e);
throw new AdempiereException(e);
}
return compiledJasperReport;
}