solop-develop / frontend-core

ADempiere-Vue is a new UI for ADempiere ERP, CRM & SCM. It is based on Vue and uses the UI Toolkit element-ui. It is a great UI for ADempiere ERP, CRM & SCM, based on the newest development stack of Vue, built-in i18n solution, typical templates for enterprise applications, lots of awesome features. This project was forked from Vue-Element-Admin originally write by PanJiaChen / 花裤衩 over MIT license and was changed to GNU/GPL v3 by Yamel Senih after forked granted by PanJiaChen / 花裤衩 on the issue "Extend as GNU/Gpl v3 License #1434".
https://solop-develop.github.io/frontend-core
GNU General Public License v3.0
2 stars 7 forks source link

Informe financiero no muestra información #2756

Open mgarciaQ76 opened 1 week ago

mgarciaQ76 commented 1 week ago

Bug report

Se selecciona el informe financiero ventas por contrato. Seleccionando mismos filtros no trae info en vue (en zk genera ok el reporte)

Parámetros: Org Laistar, período 01/2024 Adjunto comparativa vue y zk Detectado en instancia 24816

Steps to reproduce

  1. [Ingresar a informe financiero]
  2. [Seleccionar informe, parámetros y ejecutar]

Screenshot or Gif(截图或动态图)

informe financiero zk informe financiero vue

Link to minimal reproduction(最小可在线还原demo)

Expected behavior

Que brinde información consistente con zk

Other relevant information

Additional context

Add any other context about the problem here.

yamelsenih commented 2 days ago

Hola, una sugerencia. Es bueno copiar y pegar los parámetros para que sea más facil ubicarse, en este caso sería 101 - Ventas por Contrato (M). Lo mismo con el período image

yamelsenih commented 2 days ago
2024-10-16T16:39:38.597595764Z ===========> FinReport.process: java.lang.NullPointerException [44]
2024-10-16T16:39:38.597641741Z java.lang.NullPointerException
2024-10-16T16:39:38.597645669Z   at org.compiere.report.FinReport.lambda$setNameAndDescription$21(FinReport.java:1215)
2024-10-16T16:39:38.597648795Z   at org.compiere.util.Trx.run(Trx.java:529)
2024-10-16T16:39:38.597651691Z   at org.compiere.util.Trx.run(Trx.java:497)
2024-10-16T16:39:38.597654567Z   at org.compiere.report.FinReport.setNameAndDescription(FinReport.java:1211)
2024-10-16T16:39:38.597657512Z   at org.compiere.report.FinReport.insertLineSource(FinReport.java:1061)
2024-10-16T16:39:38.597660418Z   at org.compiere.report.FinReport.lambda$insertLineDetail$16(FinReport.java:940)
2024-10-16T16:39:38.597663333Z   at org.compiere.util.Trx.run(Trx.java:529)
2024-10-16T16:39:38.597666148Z   at org.compiere.util.Trx.run(Trx.java:497)
2024-10-16T16:39:38.597669014Z   at org.compiere.report.FinReport.insertLineDetail(FinReport.java:936)
2024-10-16T16:39:38.597671879Z   at org.compiere.report.FinReport.doIt(FinReport.java:156)
2024-10-16T16:39:38.597674734Z   at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
2024-10-16T16:39:38.597677610Z   at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
2024-10-16T16:39:38.597680595Z

Esto es local sin patches. Es bueno saber si en una instancia con patches pasa lo mismo con el log

yamelsenih commented 2 days ago

El error lo da la clase FindReport, esta clase no valida contra null antes de llamar un método que probablemente devuelva null. image image

En ZK me da el mismo error sobre la instancia de dev sin patches:

https://github.com/user-attachments/assets/bcfac5cd-4e87-4478-be8d-5e65186d67ad

===========> FinReport.process: java.lang.NullPointerException [110]
java.lang.NullPointerException
    at org.compiere.report.FinReport.lambda$setNameAndDescription$21(FinReport.java:1215)
    at org.compiere.util.Trx.run(Trx.java:529)
    at org.compiere.util.Trx.run(Trx.java:497)
    at org.compiere.report.FinReport.setNameAndDescription(FinReport.java:1211)
    at org.compiere.report.FinReport.insertLineSource(FinReport.java:1061)
    at org.compiere.report.FinReport.lambda$insertLineDetail$16(FinReport.java:940)
    at org.compiere.util.Trx.run(Trx.java:529)
    at org.compiere.util.Trx.run(Trx.java:497)
    at org.compiere.report.FinReport.insertLineDetail(FinReport.java:936)
    at org.compiere.report.FinReport.doIt(FinReport.java:156)
    at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
    at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)