[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-04-17 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13005:
-

I'll simply verified in few futur days the possible errors on trunk demo 
error.log

> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> For 3 days now I have collected the trunk demo errors in error.log. I believe 
> we should try to fix as most as possible of them before freezing a new branch.
> I did check the value of them but some could still be minor.
> @All ([~ofbiz.user]?), I have changed the priority to blocker. Of course not 
> all errors reported here are valid and some are surely not blocker. The idea 
> is more to have a look at remaining issueg before freezing. I have also 
> removed the no format, despite the place taken, to ease researches in the 
> errors list.
> Here is the result to be better filterered:
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in location [component://myportal/widget/MyPortalMenus.xml]
>   at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Menu.getModelMenu(ModelScreenWidget.java:1648)
>  ~[ofbiz.jar:?]
> 2024-04-05 12:53:05,232 |-0.0.0.0-8009-exec-5 |FreeMarkerWorker  
> |E| null
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> 
> FTL stack trace ("~" means nesting-related):
>   - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for 'boolean'.
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.usePrivate}' 
> is not a valid value for 'boolean'.
> 2024-04-06 08:38:25,998 |-0.0.0.0-8009-exec-7 |ControlServlet
> |E| Error in request handler:
> java.lang.IllegalArgumentException: Error running script at location 
> [component://accounting/src/main/groovy/org/apache/ofbiz/accounting/payment/ListNotAppliedInvoices.groovy]:
>  java.lang.NullPointerException: Cannot get property 'partyIdFrom' on null 
> object
> 2024-04-06 

[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-04-14 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13005:
-

New ones for yesterday:

2024-04-13 06:40:29,923 |-0.0.0.0-8009-exec-9 |ServiceDispatcher 
|E| Incoming context (in runSync : createSurveyResponse) does not match 
expected requirements
org.apache.ofbiz.service.ServiceValidationException: The following required 
parameter is missing: surveyIdRequired Field Missing : Answers.


java.lang.IllegalArgumentException: Could not find screen with name 
[InvoiceOverview] in class resource 
[component://accounting/widget/InvoiceScreens.xml]

freemarker.core.InvalidReferenceException: The following has evaluated to null 
or missing:
==> parameters.SEARCH_STRING  [in template 
"component://order/template/entry/catalog/TagSearch.ftl" at line 20, column 47]


Tip: It's the step after the last dot that caused this error, not those before 
it.

Tip: If the failing expression is known to legally refer to something that's 
sometimes null or missing, either specify a default value like 
myOptionalVar!myDefault, or use <#if 
myOptionalVar??>when-present<#else>when-missing. (These only cover the 
last step of the expression; to cover the whole expression, use parenthesis: 
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??



FTL stack trace ("~" means nesting-related):
- Failed at: ${parameters.SEARCH_STRING}  [in template 
"component://order/template/entry/catalog/TagSearch.ftl" at line 20, column 45]




java.lang.IllegalArgumentException: Error running script at location 
[component://product/src/main/groovy/org/apache/ofbiz/product/facility/facility/CountFacilityInventoryByProduct.groovy]:
 groovy.lang.MissingMethodException: No signature of method: 
org.apache.ofbiz.product.facility.facility.CountFacilityInventoryByProduct.from()
 is applicable for argument types: 
(org.apache.ofbiz.entity.model.DynamicViewEntity) values: 
[org.apache.ofbiz.entity.model.DynamicViewEntity@2c3d4324]
Possible solutions: from(java.lang.String), run(), run(), find(), grep(), 
error(java.lang.String)

java.lang.IllegalArgumentException: Error running script at location 
[component://product/src/main/groovy/org/apache/ofbiz/product/facility/facility/ViewFacilityInventoryByProduct.groovy]:
 groovy.lang.MissingMethodException: No signature of method: 
org.apache.ofbiz.product.facility.facility.ViewFacilityInventoryByProduct.from()
 is applicable for argument types: 
(org.apache.ofbiz.entity.model.DynamicViewEntity) values: 
[org.apache.ofbiz.entity.model.DynamicViewEntity@e03df4c]
Possible solutions: from(java.lang.String), run(), run(), find(), grep(), 
error(java.lang.String)

> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Blocker
>
> For 3 days now I have collected the trunk demo errors in error.log. I believe 
> we should try to fix as most as possible of them before freezing a new branch.
> I did check the value of them but some could still be minor.
> @All ([~ofbiz.user]?), I have changed the priority to blocker. Of course not 
> all errors reported here are valid and some are surely not blocker. The idea 
> is more to have a look at remaining issueg before freezing. I have also 
> removed the no format, despite the place taken, to ease researches in the 
> errors list.
> Here is the result to be better filterered:
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at 

[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-04-14 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13005:
-

I will soon close here and start a new similar Jira. I wait for a replacement 
solution to https://github.com/apache/ofbiz-plugins/pull/106

> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Blocker
>
> For 3 days now I have collected the trunk demo errors in error.log. I believe 
> we should try to fix as most as possible of them before freezing a new branch.
> I did check the value of them but some could still be minor.
> @All ([~ofbiz.user]?), I have changed the priority to blocker. Of course not 
> all errors reported here are valid and some are surely not blocker. The idea 
> is more to have a look at remaining issueg before freezing. I have also 
> removed the no format, despite the place taken, to ease researches in the 
> errors list.
> Here is the result to be better filterered:
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in location [component://myportal/widget/MyPortalMenus.xml]
>   at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Menu.getModelMenu(ModelScreenWidget.java:1648)
>  ~[ofbiz.jar:?]
> 2024-04-05 12:53:05,232 |-0.0.0.0-8009-exec-5 |FreeMarkerWorker  
> |E| null
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> 
> FTL stack trace ("~" means nesting-related):
>   - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for 'boolean'.
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.usePrivate}' 
> is not a valid value for 'boolean'.
> 2024-04-06 07:04:58,770 |-0.0.0.0-8009-exec-2 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for 'boolean'.
> 2024-04-06 07:04:58,771 |-0.0.0.0-8009-exec-2 |UtilXml   
> |E| XmlFileLoader: File 
> 

[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-04-11 Thread Pierre Smits (Jira)


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

Pierre Smits commented on OFBIZ-13005:
--

Hi [~jleroux],

The issues PersonUpdate/GroupUpdate are related to party portalpages (MyPortal) 
and related menus (menu-items). Parameterization of the 'ProfileScreens' 
related menu is addressed in OFBIZ-12981 via:
* ofbiz-framework: https://github.com/apache/ofbiz-framework/pull/749
* ofbiz-plugins: https://github.com/apache/ofbiz-plugins/pull/106

> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Blocker
>
> For 3 days now I have collected the trunk demo errors in error.log. I believe 
> we should try to fix as most as possible of them before freezing a new branch.
> I did check the value of them but some could still be minor.
> @All ([~ofbiz.user]?), I have changed the priority to blocker. Of course not 
> all errors reported here are valid and some are surely not blocker. The idea 
> is more to have a look at remaining issueg before freezing. I have also 
> removed the no format, despite the place taken, to ease researches in the 
> errors list.
> Here is the result to be better filterered:
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in location [component://myportal/widget/MyPortalMenus.xml]
>   at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Menu.getModelMenu(ModelScreenWidget.java:1648)
>  ~[ofbiz.jar:?]
> 2024-04-05 12:53:05,232 |-0.0.0.0-8009-exec-5 |FreeMarkerWorker  
> |E| null
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> 
> FTL stack trace ("~" means nesting-related):
>   - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for 'boolean'.
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.usePrivate}' 
> is not a valid value for 'boolean'.
> 2024-04-06 07:04:58,770 |-0.0.0.0-8009-exec-2 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: 

[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-04-10 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13005:
-

New one for today:
2024-04-10 07:34:15,073 |-0.0.0.0-8009-exec-3 |ModelScreenWidget 
|E| Error rendering included menu named [PersonUpdate] at location 
[component://scrum/widget/scrumMenus.xml]: 
java.lang.IllegalArgumentException: Could not find menu with name 
[PersonUpdate] in location [component://scrum/widget/scrumMenus.xml]
2024-04-10 07:37:34,865 |-0.0.0.0-8009-exec-9 |ModelScreenWidget 
|E| Error rendering included menu named [GroupUpdate] at location 
[component://scrum/widget/scrumMenus.xml]: 
java.lang.IllegalArgumentException: Could not find menu with name [GroupUpdate] 
in location [component://scrum/widget/scrumMenus.xml]

2024-04-10 12:36:36,044 |-0.0.0.0-8009-exec-1 |ControlServlet
|E| Error in request handler: 
java.lang.IllegalArgumentException: Error running script at location 
[component://webtools/src/main/groovy/org/apache/ofbiz/webtools/stats/StatsSinceStart.groovy]:
 groovy.lang.MissingPropertyException: No such property: requestSinceStarted 
for class: org.apache.ofbiz.webapp.stats.ServerHitBin



> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Blocker
>
> For 3 days now I have collected the trunk demo errors in error.log. I believe 
> we should try to fix as most as possible of them before freezing a new branch.
> I did check the value of them but some could still be minor.
> @All ([~ofbiz.user]?), I have changed the priority to blocker. Of course not 
> all errors reported here are valid and some are surely not blocker. The idea 
> is more to have a look at remaining issueg before freezing. I have also 
> removed the no format, despite the place taken, to ease researches in the 
> errors list.
> Here is the result to be better filterered:
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in location [component://myportal/widget/MyPortalMenus.xml]
>   at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Menu.getModelMenu(ModelScreenWidget.java:1648)
>  ~[ofbiz.jar:?]
> 2024-04-05 12:53:05,232 |-0.0.0.0-8009-exec-5 |FreeMarkerWorker  
> |E| null
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> 
> FTL stack trace ("~" means nesting-related):
>   - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> 

[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-04-09 Thread ASF subversion and git services (Jira)


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

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

Commit 6039526c744e1a75e5c40b553de964041f386531 in ofbiz-framework's branch 
refs/heads/trunk from Pierre Smits
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6039526c74 ]

Fixed: Trunk demo errors in error log (OFBIZ-13005) (#748)

* Improved: ORDER - have requestMenuLocation (OFBIZ-12991)

Given that request screens are used as portal pages, the inclusion of such 
portal pages in other applications leads to errors being thrown for the 
associated menus (due to the use of the mainMenuLocation parameter in web.xml).
Having a requestMenuLocation in web.xml solves this issue.

modified:
- web.xml: add contextParam requestMenuLocation
- CommonScreens.xml: change location request related menus
- CustRequestScreens.xml: change location request related menu

* Fixed: Trunk demo errors in error.log

modified:
EmployeeScreens.xml - removed form reference to grid ListEmployeeQualification

* Fixed: Trunk demo errors in error.log (OFBIZ-13005)

modified: EventForms.xml - MyTaks: extending a grid

> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Major
>
> For 3 days now I have collected the trunk demo errors in error.log.
> I did check the value of them but some could still be minor.
> Here is the result to be better filterered:
> {noformat}
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in location [component://myportal/widget/MyPortalMenus.xml]
>   at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Menu.getModelMenu(ModelScreenWidget.java:1648)
>  ~[ofbiz.jar:?]
> 2024-04-05 12:53:05,232 |-0.0.0.0-8009-exec-5 |FreeMarkerWorker  
> |E| null
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> 
> FTL stack trace ("~" means nesting-related):
>   - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for 'boolean'.
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: 

[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-04-08 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13005:
-

Hi [~pierresmits],

There are some errors that seems related to your work with "Lists and grids" 
like https://github.com/apache/ofbiz-framework/commit/c78c1f1 where you forgot 
to remove {{}} now a grid 
and I did not spot. Please have a look a the similar ones reported above. 
ListWorkEfforts, the 1st error in description could be one of them... TIA

> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Major
>
> For 3 days now I have collected the trunk demo errors in error.log.
> I did check the value of them but some could still be minor.
> Here is the result to be better filterered:
> {noformat}
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in location [component://myportal/widget/MyPortalMenus.xml]
>   at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Menu.getModelMenu(ModelScreenWidget.java:1648)
>  ~[ofbiz.jar:?]
> 2024-04-05 12:53:05,232 |-0.0.0.0-8009-exec-5 |FreeMarkerWorker  
> |E| null
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> 
> FTL stack trace ("~" means nesting-related):
>   - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for 'boolean'.
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.usePrivate}' 
> is not a valid value for 'boolean'.
> 2024-04-06 07:04:58,770 |-0.0.0.0-8009-exec-2 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for 'boolean'.
> 2024-04-06 07:04:58,771 |-0.0.0.0-8009-exec-2 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.usePrivate}' 
> is not a valid value for 'boolean'.
> 

[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-04-08 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13005:
-

Got these (new?) ones today:

2024-04-08 09:27:33,179 |-0.0.0.0-8009-exec-9 |ContentWorker 
|E| No dataResourceId found for contentId: STORE_POLICIES
2024-04-08 09:28:21,703 |-0.0.0.0-8009-exec-2 |ServiceUtil   
|E| {errorMessage=Product not found in the current category., 
responseMessage=fail}
2024-04-08 09:28:32,819 |-0.0.0.0-8009-exec-4 |FreeMarkerWorker  
|E| null
freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
parameter with name "dateType". Valid parameter names are: name, className, 
timeDropdownParamName, defaultDateTimeString, localizedIconTitle, timeHourName, 
timeMinutesName, ampmName, compositeType, alert, isTimeType, isDateType, 
amSelected, pmSelected, timeDropdown, classString, isTwelveHour, hour1, hour2, 
minutes, shortDateInput, title, value, size, maxlength, id, formName, mask, 
event, action, step, timeValues, tabindex, disabled, isXMLHttpRequest


FTL stack trace ("~" means nesting-related):
- Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
"component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, column 
17]


MAYBE RELATED/
Caused by: java.lang.NullPointerException
at 
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at 
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) 
~[?:?]
at 
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) 
~[?:?]
at 
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) 
~[?:?]
at 
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at 
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
at org.apache.ofbiz.base.util.StringUtil.join(StringUtil.java:110) 
~[ofbiz.jar:?]
at org.apache.ofbiz.base.util.StringUtil$join$1.call(Unknown Source) 
~[?:?]
at org.apache.ofbiz.order.entry.catalog.Product.run(Product.groovy:125) 
~[ofbiz.jar:?]


2024-04-08 10:49:29,480 |-0.0.0.0-8009-exec-2 |ModelScreenWidget 
|E| Error rendering included form named [ListEmployeeQualification] at location 
[component://humanres/widget/forms/EmployeeForms.xml]: 
java.lang.NullPointerException: Cannot invoke 
"org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
java.lang.NullPointerException: Cannot invoke 
"org.w3c.dom.Element.getAttribute(String)" because "formElement" is null


> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Major
>
> For 3 days now I have collected the trunk demo errors in error.log.
> I did check the value of them but some could still be minor.
> Here is the result to be better filterered:
> {noformat}
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in 

[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-04-08 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13005:
-

I'll check few days again, but it seems there are no new errors so far.

> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Major
>
> For 3 days now I have collected the trunk demo errors in error.log.
> I did check the value of them but some could still be minor.
> Here is the result to be better filterered:
> {noformat}
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in location [component://myportal/widget/MyPortalMenus.xml]
>   at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Menu.getModelMenu(ModelScreenWidget.java:1648)
>  ~[ofbiz.jar:?]
> 2024-04-05 12:53:05,232 |-0.0.0.0-8009-exec-5 |FreeMarkerWorker  
> |E| null
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> 
> FTL stack trace ("~" means nesting-related):
>   - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for 'boolean'.
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.usePrivate}' 
> is not a valid value for 'boolean'.
> 2024-04-06 07:04:58,770 |-0.0.0.0-8009-exec-2 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for 'boolean'.
> 2024-04-06 07:04:58,771 |-0.0.0.0-8009-exec-2 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.usePrivate}' 
> is not a valid value for 'boolean'.
> 2024-04-06 07:05:10,041 |-0.0.0.0-8009-exec-7 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '${parameters.confMode}' 
> is not a valid value for