Open yamelsenih opened 1 year ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Bug reports
When the ADempiere is loaded with a reference of the image or logo of the company in the information of the company, the misma does not hold binary or active of the image generates an error of the NPE type as described below:
-----------> MImage.load: NO Data found for AD_Image_ID=1000028 [31]
===========> ThemeManager.getLogo: Could not write logo file, using default [31]
java.lang.NullPointerException
at java.base/java.io.FileOutputStream.write(FileOutputStream.java:341)
at org.fulfil.webui.theme.ThemeManager.getLogo(ThemeManager.java:80)
at org.fulfill.webui.theme.ThemeManager.getLogo(ThemeManager.java:100)
at org.fulfil.webui.theme.ThemeManager.getLargeLogo(ThemeManager.java:116)
at org.fulfill.webui.panel.RolePanel.init(RolePanel.java:174)
at org.fulfil.webui.panel.RolePanel.<init>(RolePanel.java:117)
at org.fulfil.webui.window.LoginWindow.loginOk(LoginWindow.java:98)
at org.fulfil.webui.panel.LoginPanel.validateLogin(LoginPanel.java:528)
at org.fulfil.webui.window.LoginWindow.onEvent(LoginWindow.java:160)
at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:197)
at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)
A clear and concise description of what you expected to happen.
Add any other context about the problem here.
Bug report
Cuando se carga el ADempiere con una referencia de imagen o logo de la empresa en la información de la compañía y, la misma no tiene binario o activo de la imagen genera un error del tipo NPE como se describe a continuación:
Steps to reproduce
Screenshot or Gif
Link to minimal reproduction
Expected behavior
A clear and concise description of what you expected to happen.
Other relevant information
Additional context
Add any other context about the problem here.