You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2024/07/04 08:52:00 UTC

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

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

Jacques Le Roux commented on OFBIZ-13005:
-----------------------------------------

I just checked the trunk demo error logs and the Product.groovy NPE issue still exists. I have no idea why, and how to reproduce it. :/

> 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 08:39:34,544 |-0.0.0.0-8009-exec-9 |ModelSingleForm               |E| Failed to find parent form definition 'ListInvoicesNotApplied' in same document.
> 2024-04-06 10:09:48,192 |-0.0.0.0-8009-exec-4 |ControlServlet                |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named [ExampleAppBar] at location [component://exampleext/widget/example/ExampleMenus.xml]: java.lang.IllegalArgumentException: Could not find menu with name [ExampleAppBar] in location [component://exampleext/widget/example/ExampleMenus.xml]
> 2024-04-06 13:11:31,610 |-0.0.0.0-8009-exec-9 |ModelScreenWidget             |E| Error rendering included menu named [GroupUpdate] at location [component://marketing/widget/sfa/SfaMenus.xml]:
> java.lang.IllegalArgumentException: Could not find menu with name [GroupUpdate] in location [component://marketing/widget/sfa/SfaMenus.xml]
> 2024-04-06 13:17:23,953 |-0.0.0.0-8009-exec-2 |ModelScreenWidget             |E| Error rendering included menu named [MyCommSubTabBar] at location [component://marketing/widget/sfa/SfaMenus.xml]:
> java.lang.IllegalArgumentException: Could not find menu with name [MyCommSubTabBar] in location [component://marketing/widget/sfa/SfaMenus.xml]
> 2024-04-07 04:48:29,665 |-0.0.0.0-8009-exec-5 |ControlServlet                |E| Error in request handler:
> java.lang.IllegalArgumentException: Error running script at location [component://order/src/main/groovy/org/apache/ofbiz/order/entry/catalog/Product.groovy]: java.lang.NullPointerException
> at org.apache.ofbiz.order.entry.catalog.Product.run(Product.groovy:125) ~[ofbiz.jar:?]
> 2024-04-07 10:53:48,711 |-0.0.0.0-8009-exec-8 |ServiceDispatcher             |E| Incoming context (in runSync : createWebSiteContactList) does not match expected requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required parameter is missing: fromDateThe following required parameter is missing: contactListIdThe following required parameter is missing: webSiteId
> 2024-04-07 07:59:31,225 |-0.0.0.0-8009-exec-8 |ControlServlet                |E| Error in request handler:
> 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@64afdb37]
> Possible solutions: from(java.lang.String), run(), run(), find(), grep(), error(java.lang.String)
> 2024-04-07 15:06:07,668 |-0.0.0.0-8009-exec-7 |RequestHandler                |E| Request setCurrentSearchFromHistory caused an error with the following message: java.lang.IllegalArgumentException: Could not set current search options to history index [0], only [0] entries in the history list.
> 2024-04-07 15:06:37,664 |-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-07 15:06:37,664 |-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-07 15:06:38,902 |-0.0.0.0-8009-exec-4 |ModelScreenWidget             |E| Could not find PortalPage with portalPageId []
> 2024-04-07 15:11:36,404 |-0.0.0.0-8009-exec-3 |FreeMarkerWorker              |E| null
> 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</#if>. (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]
> 2024-04-07 15:31:28,092 |-0.0.0.0-8009-exec-1 |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]
> |-0.0.0.0-8009-exec-3 |ControlServlet                |E| Error in request handler:
> java.lang.IllegalArgumentException: Error running script at location [component://order/src/main/groovy/org/apache/ofbiz/order/entry/catalog/Product.groovy]: java.lang.NullPointerException
> 	at org.apache.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:318) ~[ofbiz.jar:?]



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