[ 
https://issues.apache.org/jira/browse/OFBIZ-13223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945386#comment-17945386
 ] 

ASF subversion and git services commented on OFBIZ-13223:
---------------------------------------------------------

Commit 354e86a241039382d10b2efc282c521e504caa43 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=354e86a241 ]

Fixed: Error rendering included form "MandatoryWorkEfforts" when approving 
parent production run (OFBIZ-13223)

Fix previous commit

Thanks to Yashwant Dhakad for the fix


> Error rendering included form "MandatoryWorkEfforts" when approving parent 
> 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: Nicolas Malin
>            Priority: Minor
>         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)

Reply via email to