Closed yamelsenih closed 9 months ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Bug report
When a report is generated from the ZK and the company does not have an associated logo, it gives an NPE type error.
============> zkoss.handleError:1130: >>java.lang.NullPointerException
>> at org.compiere.print.layout.LayoutEngine.createStandardHeaderFooter(LayoutEngine.java:958)
>> at org.compiere.print.layout.LayoutEngine.layout(LayoutEngine.java:444)
>> at org.compiere.print.layout.LayoutEngine.<init>(LayoutEngine.java:134)
>> at org.compiere.print.ReportEngine.layout(ReportEngine.java:320)
>> at org.compiere.print.ReportEngine.getLayout(ReportEngine.java:330)
>> at org.compiere.print.ReportEngine.getCtx(ReportEngine.java:367)
If there is no logo in the company, you should simply validate and not show it
-Your OS: -Java version:
Add any other context about the problem here.
https://github.com/adempiere/adempiere/issues/4245
Bug report
Cuando se genera un reporte desde el ZK y la compañía no tiene logo asociado, da un error del tipo NPE.
Steps to reproduce
Screenshot or Gif
Link to minimal reproduction
Expected behavior
Si no existe logo en la compañía debería simplemente validar y no mostrarlo
Other relevant information
Additional context
Add any other context about the problem here.