Yashwant Dhakad created OFBIZ-13223:
---------------------------------------
Summary: Error rendering included form "MandatoryWorkEfforts" when
approving prent production run
Key: OFBIZ-13223
URL: https://issues.apache.org/jira/browse/OFBIZ-13223
Project: OFBiz
Issue Type: Bug
Components: manufacturing
Affects Versions: Upcoming Branch, 24.09.01
Reporter: Yashwant Dhakad
Assignee: Yashwant Dhakad
Attachments:
OFBiz-Manufacturing-Manager-Production-Run-Declaration-04-16-2025_01_29_PM.png
Description:
When attempting to approve a main production run that has dependent production
runs, an error is thrown, and the UI displays an error message instead of
rendering the "MandatoryWorkEfforts" section. This prevents the user from
proceeding further with the production run process.
Steps to Reproduce:
* Create a production run with dependent production components.
* Navigate to the Production Run screen.
* Confirm or approve the main job (production run).
* Observe the error in the ManufacturingMandatoryWorkEfforts section.
Expected Result: The "MandatoryWorkEfforts" form should load properly with
required data.
Actual Result: An error is shown:
ERROR MESSAGE
java.lang.RuntimeException: Error rendering included form named
[MandatoryWorkEfforts] at location
[component://manufacturing/widget/manufacturing/ProductionRunForms.xml]:
java.lang.NullPointerException: Cannot invoke
"org.w3c.dom.Element.getAttribute(String)" because "formElement" is
nulljava.lang.NullPointerException: Cannot invoke
"org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
--
This message was sent by Atlassian Jira
(v8.20.10#820010)