You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (Jira)" <ji...@apache.org> on 2025/09/06 10:15:00 UTC

[jira] [Commented] (OFBIZ-13290) InventoryReports screen broken

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

Deepak Dixit commented on OFBIZ-13290:
--------------------------------------

The issue is related to include-form tag usages, the ListFacilityInventoryByProduct define as grid. 

As a quick fix need to replace the include-form tag with include-grid, 

To fix this issue properly need to handle the grid as well while createModelForm

 

> InventoryReports screen broken
> ------------------------------
>
>                 Key: OFBIZ-13290
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13290
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Deepak Dixit
>            Priority: Major
>
> Getting following exception while rendering [InventoryReports|https://demo-trunk.ofbiz.apache.org/facility/control/InventoryReports]
>  
> {code:java}
> java.lang.RuntimeException: Error rendering included form named [ListFacilityInventoryByProduct] at location [component://product/widget/facility/FacilityForms.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
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)