IDEMPIERE-310 Show compilation errors instead of NPE
This commit is contained in:
parent
e26d222572
commit
40085d3627
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue