erpcya / adempiere

ADempiere Business Suite ERP/CRM/MFG/SCM/POS done the Bazaar way in an open and unabated fashion. Focus is on the Community that includes Subject Matter Specialists, Implementors and End-Users.
www.adempiere.net
GNU General Public License v2.0
2 stars 5 forks source link

[Bug Report] Error al instanciar clase de importación de I_Product_BOM #41

Open yamelsenih opened 1 year ago

yamelsenih commented 1 year ago

Bug report

Cuando se intenta instanciar la clase de importación de lista de materiales, da un error cargando las clases X y las I. El error es que no consigue la clase modelo para la tabla:

-----------> MTable.getClass: No class for table: I_Product_BOM [64]
===========> ImportProductBOM.process: class org.adempiere.model.GenericPO cannot be cast to class org.adempiere.core.domains.models.X_I_Product_BOM (org.adempiere.model.GenericPO and org.adempiere.core.domains.models.X_I_Product_BOM are in unnamed module of loader 'app') [64]
java.lang.ClassCastException: class org.adempiere.model.GenericPO cannot be cast to class org.adempiere.core.domains.models.X_I_Product_BOM (org.adempiere.model.GenericPO and org.adempiere.core.domains.models.X_I_Product_BOM are in unnamed module of loader 'app')
        at org.eevolution.manufacturing.process.ImportProductBOM.fillIDValues(ImportProductBOM.java:83)
        at org.eevolution.manufacturing.process.ImportProductBOM.doIt(ImportProductBOM.java:74)
        at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
        at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
        at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:171)
        at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:116)
        at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
        at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
        at java.base/java.lang.Thread.run(Thread.java:829)

Steps to reproduce

  1. Vaya System Admin -> Data -> Data Import -> Import Product BOM
  2. Presione el botón Import Product BOM
  3. Vea el error

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. https://github.com/adempiere/adempiere/pull/4237