Like Jacques, I had to do a second pass of

./gradlew cleanAll loadAll testIntegration

and then the build was successful.

Everything else worked fine:

~/Projects/apache-ofbiz/dist  ../ofbiz-tools/download-ofbiz-release.sh apache-ofbiz-17.12.06
Getting files for $ZIP...

--2021-03-14 11:27:10-- https://dist.apache.org/repos/dist/dev/ofbiz/KEYS
Resolving dist.apache.org (dist.apache.org)... 13.90.137.153
Connecting to dist.apache.org (dist.apache.org)|13.90.137.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21796 (21K) [text/plain]
Saving to: 'KEYS'

KEYS 100%[=============================================================================================================================================================================>] 21.29K  --.-KB/s    in 0.1s

2021-03-14 11:27:11 (189 KB/s) - 'KEYS' saved [21796/21796]

--2021-03-14 11:27:11-- https://dist.apache.org/repos/dist/dev/ofbiz/apache-ofbiz-17.12.06.zip
Resolving dist.apache.org (dist.apache.org)... 13.90.137.153
Connecting to dist.apache.org (dist.apache.org)|13.90.137.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31649438 (30M) [application/zip]
Saving to: 'apache-ofbiz-17.12.06.zip'

apache-ofbiz-17.12.06.zip 100%[=============================================================================================================================================================================>] 30.18M  5.52MB/s    in 6.4s

2021-03-14 11:27:18 (4.70 MB/s) - 'apache-ofbiz-17.12.06.zip' saved [31649438/31649438]

--2021-03-14 11:27:18-- https://dist.apache.org/repos/dist/dev/ofbiz/apache-ofbiz-17.12.06.zip.asc
Resolving dist.apache.org (dist.apache.org)... 13.90.137.153
Connecting to dist.apache.org (dist.apache.org)|13.90.137.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 841 [text/plain]
Saving to: 'apache-ofbiz-17.12.06.zip.asc'

apache-ofbiz-17.12.06.zip.asc 100%[=============================================================================================================================================================================>] 841  --.-KB/s    in 0s

2021-03-14 11:27:19 (10.2 MB/s) - 'apache-ofbiz-17.12.06.zip.asc' saved [841/841]

--2021-03-14 11:27:19-- https://dist.apache.org/repos/dist/dev/ofbiz/apache-ofbiz-17.12.06.zip.sha512
Resolving dist.apache.org (dist.apache.org)... 13.90.137.153
Connecting to dist.apache.org (dist.apache.org)|13.90.137.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 225 [text/plain]
Saving to: 'apache-ofbiz-17.12.06.zip.sha512'

apache-ofbiz-17.12.06.zip.sha512 100%[=============================================================================================================================================================================>] 225  --.-KB/s    in 0s

2021-03-14 11:27:20 (2.36 MB/s) - 'apache-ofbiz-17.12.06.zip.sha512' saved [225/225]

Done!

~/Projects/apache-ofbiz/dist  ../ofbiz-tools/verify-ofbiz-release.sh apache-ofbiz-17.12.06.zip
sha check of file: apache-ofbiz-17.12.06.zip
Using sha file: apache-ofbiz-17.12.06.zip.sha512
apache-ofbiz-17.12.06.zip: 3B302353 D03A7B23 E4E42CDC 1A0257AE 2D29D9B7 89E6F91A 70DB8539 CF701E63 217F86FF 174325EC 67CD5C61 6E952A8F 286C7CA8 677CAB5F FE431FB7 4BA9166C apache-ofbiz-17.12.06.zip: 3B302353 D03A7B23 E4E42CDC 1A0257AE 2D29D9B7 89E6F91A 70DB8539 CF701E63 217F86FF 174325EC 67CD5C61 6E952A8F 286C7CA8 677CAB5F FE431FB7 4BA9166C
sha checksum OK

GPG verification output
gpg: Signature made Sun Mar 14 10:19:25 2021 CET
gpg:                using RSA key 7A580908847AF9E0
gpg: Good signature from "Jacopo Cappellato (CODE SIGNING KEY) <jaco...@apache.org>" [ultimate]


unzip apache-ofbiz-17.12.06.zip
...

cd apache-ofbiz-17.12.06

~/Projects/apache-ofbiz/dist/apache-ofbiz-17.12.06  ./gradle/init-gradle-wrapper.sh
 === Prepare operation ===
/Users/mbrohl/Projects/apache-ofbiz/dist/apache-ofbiz-17.12.06/gradle/wrapper/gradle-wrapper.jar not found, we download it
 === Download gradle-wrapper.jar ===
 === Control downloaded files ===
gradle/wrapper/gradle-wrapper.jar: OK
gradle/wrapper/gradle-wrapper.properties: OK
gradlew: OK

./gradlew cleanAll loadAll testIntegration

...
first pass failes

2nd pass worked.

Thanks,

Michael

Am 14.03.21 um 12:19 schrieb Jacopo Cappellato:
weird, I didn't notice the errors and all tests were successful.

Jacopo

On Sun, Mar 14, 2021 at 11:40 AM Michael Brohl <michael.br...@ecomify.de> wrote:
-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