-1

Unfortunately I get several Freemarker errors during

./gradlew cleanAll loadAll testIntegration

like this

2021-03-14 11:34:49,334 |main |ServiceDispatcher             |T| Sync service [test-dispatcher-R437fRXV8X/getPartyEmail] finished in [2] milliseconds
2021-03-14 11:34:49,336 |main |FreeMarkerWorker              |E| null
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> person  [in template "component://scrum/template/AcceptedBacklogNotification.ftl" at line 25, column 20]

----
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: ${person.firstName!}  [in template "component://scrum/template/AcceptedBacklogNotification.ftl" at line 25, column 18]
----
        at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:85) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.UnexpectedTypeException.<init>(UnexpectedTypeException.java:48) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.NonHashException.<init>(NonHashException.java:49) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.Dot._eval(Dot.java:48) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.Expression.eval(Expression.java:83) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:88) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.Expression.eval(Expression.java:83) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.DollarVariable.accept(DollarVariable.java:63) ~[freemarker-2.3.28.jar:2.3.28]         at freemarker.core.Environment.visit(Environment.java:330) [freemarker-2.3.28.jar:2.3.28]         at freemarker.core.Environment.visit(Environment.java:336) [freemarker-2.3.28.jar:2.3.28]         at freemarker.core.Environment.process(Environment.java:309) [freemarker-2.3.28.jar:2.3.28]         at org.apache.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:227) [ofbiz.jar:?]         at org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:163) [ofbiz.jar:?]         at org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:200) [ofbiz.jar:?]         at org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:139) [ofbiz.jar:?]         at org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1321) [ofbiz.jar:?]         at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:102) [ofbiz.jar:?]         at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:284) [ofbiz.jar:?]         at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) [ofbiz.jar:?]         at org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:140) [ofbiz.jar:?]         at org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:102) [ofbiz.jar:?]         at org.apache.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:506) [ofbiz.jar:?]         at sun.reflect.GeneratedMethodAccessor404.invoke(Unknown Source) ~[?:?]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282]
        at org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) [ofbiz.jar:?]         at org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) [ofbiz.jar:?]         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:403) [ofbiz.jar:?]         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:228) [ofbiz.jar:?]         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:103) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.method.callops.CallService.exec(CallService.java:217) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:310) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:61) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:310) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:457) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:274) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:293) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48) [ofbiz.jar:?]         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:403) [ofbiz.jar:?]         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:228) [ofbiz.jar:?]         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88) [ofbiz.jar:?]         at org.apache.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:128) [ofbiz.jar:?]         at org.apache.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:160) [ofbiz.jar:?]         at org.apache.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:195) [ofbiz.jar:?]         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:502) [ofbiz.jar:?]         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:228) [ofbiz.jar:?]         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:103) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.method.callops.CallService.exec(CallService.java:217) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:310) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:81) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:310) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:457) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:112) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:310) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:457) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:274) [ofbiz.jar:?]         at org.apache.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:287) [ofbiz.jar:?]         at org.apache.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:85) [ofbiz.jar:?]         at junit.framework.TestSuite.runTest(TestSuite.java:255) [junit-4.11.jar:?]         at junit.framework.TestSuite.run(TestSuite.java:250) [junit-4.11.jar:?]         at org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:89) [ofbiz.jar:?]         at org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:148) [ofbiz.jar:?]         at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:73) [ofbiz.jar:?]         at org.apache.ofbiz.base.start.StartupControlPanel.loadStartupLoaders(StartupControlPanel.java:218) [ofbiz.jar:?]         at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:71) [ofbiz.jar:?]         at org.apache.ofbiz.base.start.Start.main(Start.java:85) [ofbiz.jar:?]


Could there be a problem with the downgrade of Freemarker in commit 9dd2a255e95c10588004e4fdfb794ab23d173103 ?

Thanks,

Michael

Am 14.03.21 um 10:39 schrieb Jacopo Cappellato:
This is the vote thread (second attempt) to release a new bug fix
release for the
release17.12 branch. This new release, "Apache OFBiz 17.12.06" will
supersede all the previous releases from the same branch.

The release files can be downloaded from here:
https://dist.apache.org/repos/dist/dev/ofbiz/

and are:
* apache-ofbiz-17.12.06.zip
* KEYS: text file with keys
* apache-ofbiz-17.12.06.zip.asc: the detached signature file
* apache-ofbiz-17.12.06.zip.sha512: checksum file

Please download and test the zip file and its signatures (for
instructions on testing the signatures see
http://www.apache.org/info/verification.html).

Vote:
[ +1] release as Apache OFBiz 17.12.06
[ -1] do not release

This vote will be open for 5 days.
For more details about this process please read
http://www.apache.org/foundation/voting.html

Reply via email to