[jira] [Commented] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-17 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847307#comment-17847307
 ] 

Hudson commented on TAP5-2779:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #15 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/15/])
TAP5-2779: multiple classloader fixes (thiago: rev 
70438950cf5c4aee41dfc6cdc9e1e7851df18520)
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test_/Enumeration.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PageSourceImpl.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java


> Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature
> -
>
> Key: TAP5-2779
> URL: https://issues.apache.org/jira/browse/TAP5-2779
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: plastic, tapestry-core
>Affects Versions: 5.8.3, 5.8.4, 5.8.6, 5.8.7
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> TAP5-2742 



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


[jira] [Commented] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-17 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847288#comment-17847288
 ] 

Hudson commented on TAP5-2779:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #238 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/238/])
TAP5-2779: multiple classloader fixes (thiago: rev 
199795a8d326fc13562f7d4d74e8ebdbc163bf00)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PageSourceImpl.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test_/Enumeration.java


> Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature
> -
>
> Key: TAP5-2779
> URL: https://issues.apache.org/jira/browse/TAP5-2779
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: plastic, tapestry-core
>Affects Versions: 5.8.3, 5.8.4, 5.8.6, 5.8.7
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> TAP5-2742 



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


[jira] [Commented] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-17 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847287#comment-17847287
 ] 

Hudson commented on TAP5-2779:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #104 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/104/])
TAP5-2779: multiple classloader fixes (thiago: rev 
199795a8d326fc13562f7d4d74e8ebdbc163bf00)
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PageSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test_/Enumeration.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java


> Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature
> -
>
> Key: TAP5-2779
> URL: https://issues.apache.org/jira/browse/TAP5-2779
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: plastic, tapestry-core
>Affects Versions: 5.8.3, 5.8.4, 5.8.6, 5.8.7
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> TAP5-2742 



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


[jira] [Commented] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-17 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847284#comment-17847284
 ] 

Hudson commented on TAP5-2779:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#13 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/13/])
TAP5-2779: multiple classloader fixes (thiago: rev 
70438950cf5c4aee41dfc6cdc9e1e7851df18520)
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test_/Enumeration.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PageSourceImpl.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java


> Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature
> -
>
> Key: TAP5-2779
> URL: https://issues.apache.org/jira/browse/TAP5-2779
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: plastic, tapestry-core
>Affects Versions: 5.8.3, 5.8.4, 5.8.6, 5.8.7
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> TAP5-2742 



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


[jira] [Commented] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-17 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847282#comment-17847282
 ] 

Hudson commented on TAP5-2779:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #17 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/17/])
TAP5-2779: multiple classloader fixes (thiago: rev 
70438950cf5c4aee41dfc6cdc9e1e7851df18520)
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test_/Enumeration.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PageSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java


> Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature
> -
>
> Key: TAP5-2779
> URL: https://issues.apache.org/jira/browse/TAP5-2779
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: plastic, tapestry-core
>Affects Versions: 5.8.3, 5.8.4, 5.8.6, 5.8.7
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> TAP5-2742 



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


[jira] [Commented] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-17 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847281#comment-17847281
 ] 

Hudson commented on TAP5-2779:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#15 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/15/])
TAP5-2779: multiple classloader fixes (thiago: rev 
70438950cf5c4aee41dfc6cdc9e1e7851df18520)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PageSourceImpl.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test_/Enumeration.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java


> Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature
> -
>
> Key: TAP5-2779
> URL: https://issues.apache.org/jira/browse/TAP5-2779
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: plastic, tapestry-core
>Affects Versions: 5.8.3, 5.8.4, 5.8.6, 5.8.7
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> TAP5-2742 



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


[jira] [Commented] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847273#comment-17847273
 ] 

ASF subversion and git services commented on TAP5-2779:
---

Commit 70438950cf5c4aee41dfc6cdc9e1e7851df18520 in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=70438950c ]

TAP5-2779: multiple classloader fixes

> Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature
> -
>
> Key: TAP5-2779
> URL: https://issues.apache.org/jira/browse/TAP5-2779
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: plastic, tapestry-core
>Affects Versions: 5.8.3, 5.8.4, 5.8.6, 5.8.7
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> TAP5-2742 



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


[jira] [Commented] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847271#comment-17847271
 ] 

ASF subversion and git services commented on TAP5-2779:
---

Commit 199795a8d326fc13562f7d4d74e8ebdbc163bf00 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=199795a8d ]

TAP5-2779: multiple classloader fixes

> Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature
> -
>
> Key: TAP5-2779
> URL: https://issues.apache.org/jira/browse/TAP5-2779
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: plastic, tapestry-core
>Affects Versions: 5.8.3, 5.8.4, 5.8.6, 5.8.7
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> TAP5-2742 



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


[jira] [Commented] (TAP5-2777) Update the closure compiler for better support of modern JavaScript

2024-05-11 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845605#comment-17845605
 ] 

Hudson commented on TAP5-2777:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#12 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/12/])
TAP5-2777: upgrade google closure compiler to v20220502 (ben: rev 
19732165c42a7df9a111c6ad13c2b01258bac366)
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java
* (edit) tapestry-webresources/build.gradle


> Update the closure compiler for better support of modern JavaScript
> ---
>
> Key: TAP5-2777
> URL: https://issues.apache.org/jira/browse/TAP5-2777
> Project: Tapestry 5
>  Issue Type: Task
>  Components: tapestry-webresources
>Affects Versions: 5.8.6
>Reporter: Chris Poulsen
>Assignee: Ben Weidig
>Priority: Minor
>
> A couple of years ago we encountered errors related to the closure compiler 
> not understanding certain modern JavaScript constructs.
> The details are sort of hazy, but IIRC the newest version(s) of the compiler 
> were not just drop-in upgrades (primo 2022). We ended up with "v20210505" 
> back then, it allowed our JavaScript to pass through and was still just a 
> drop-in upgrade.
> We have been running the following config in production for 2 years (on a 
> bunch of installations) without issues, so maybe more people would benefit 
> from this upgrade.
> {code:java}
> runtimeOnly("org.apache.tapestry:tapestry-webresources:$tapestryVersion") {
>     exclude group: 'com.google.javascript'
> }
> runtimeOnly("com.google.javascript:closure-compiler-unshaded:v20210505") 
> runtimeOnly("com.google.javascript:closure-compiler-externs:v20210505")     
> {code}
> Ideally the compiler support would be updated to the newest version and kept 
> up-to-date, but for a low hanging fruit, this one should be a simple step.



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


[jira] [Commented] (TAP5-2605) JS minimizer regression bug in 5.5.0-beta-1

2024-05-11 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845604#comment-17845604
 ] 

Hudson commented on TAP5-2605:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#12 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/12/])
TAP5-2605: google closure compiler use generic filename (ben: rev 
b1e144c74129ff7da0998eee9f9e3e6b7163b9d9)
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/GoogleClosureMinimizerOptionsProvider.java


> JS minimizer regression bug in 5.5.0-beta-1
> ---
>
> Key: TAP5-2605
> URL: https://issues.apache.org/jira/browse/TAP5-2605
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-webresources
>Affects Versions: 5.5.0
>Reporter: Balázs Palcsó
>Assignee: Ben Weidig
>Priority: Major
>  Labels: regression
> Attachments: clipboard-polyfill.promise.js
>
>
> After upgrading from 5.4.4 to 5.5.0-beta-1 I am getting the following error 
> for the attached [^clipboard-polyfill.promise.js]
>  
> {code:java}
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Illegal char <<> at index 18: 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Streaming compressed module clipboard
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Streaming 
> classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> (compressed)
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Minimizing 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.246 [http-nio-8080-exec-5] ERROR 
> o.a.t.m.T.RequestExceptionHandler - Processing of request failed with 
> uncaught exception: {}
> org.apache.tapestry5.ioc.internal.OperationException: Illegal char <<> at 
> index 18: StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:186)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:118)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.webresources.AbstractMinimizer.minimize(AbstractMinimizer.java:67)
> at 
> org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:42)
> at $ResourceMinimizer_2469ff1505ff6.minimize(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.assets.SRSMinimizingInterceptor.getStreamableResource(SRSMinimizingInterceptor.java:42)
> at 
> org.apache.tapestry5.internal.services.assets.JavaScriptStackMinimizeDisabler.getStreamableResource(JavaScriptStackMinimizeDisabler.java:61)
> at 
> org.apache.tapestry5.internal.services.assets.UTF8ForTextAssets.getStreamableResource(UTF8ForTextAssets.java:40)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCompressingInterceptor.getStreamableResource(SRSCompressingInterceptor.java:38)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at $StreamableResourceSource_2469ff1505e6a.getStreamableResource(Unknown 
> Source)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:114)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:107)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(Opera

[jira] [Commented] (TAP5-2777) Update the closure compiler for better support of modern JavaScript

2024-05-11 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845603#comment-17845603
 ] 

Hudson commented on TAP5-2777:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #16 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/16/])
TAP5-2777: upgrade google closure compiler to v20220502 (ben: rev 
19732165c42a7df9a111c6ad13c2b01258bac366)
* (edit) tapestry-webresources/build.gradle
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java


> Update the closure compiler for better support of modern JavaScript
> ---
>
> Key: TAP5-2777
> URL: https://issues.apache.org/jira/browse/TAP5-2777
> Project: Tapestry 5
>  Issue Type: Task
>  Components: tapestry-webresources
>Affects Versions: 5.8.6
>Reporter: Chris Poulsen
>Assignee: Ben Weidig
>Priority: Minor
>
> A couple of years ago we encountered errors related to the closure compiler 
> not understanding certain modern JavaScript constructs.
> The details are sort of hazy, but IIRC the newest version(s) of the compiler 
> were not just drop-in upgrades (primo 2022). We ended up with "v20210505" 
> back then, it allowed our JavaScript to pass through and was still just a 
> drop-in upgrade.
> We have been running the following config in production for 2 years (on a 
> bunch of installations) without issues, so maybe more people would benefit 
> from this upgrade.
> {code:java}
> runtimeOnly("org.apache.tapestry:tapestry-webresources:$tapestryVersion") {
>     exclude group: 'com.google.javascript'
> }
> runtimeOnly("com.google.javascript:closure-compiler-unshaded:v20210505") 
> runtimeOnly("com.google.javascript:closure-compiler-externs:v20210505")     
> {code}
> Ideally the compiler support would be updated to the newest version and kept 
> up-to-date, but for a low hanging fruit, this one should be a simple step.



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


[jira] [Commented] (TAP5-2605) JS minimizer regression bug in 5.5.0-beta-1

2024-05-11 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845602#comment-17845602
 ] 

Hudson commented on TAP5-2605:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #16 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/16/])
TAP5-2605: google closure compiler use generic filename (ben: rev 
b1e144c74129ff7da0998eee9f9e3e6b7163b9d9)
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/GoogleClosureMinimizerOptionsProvider.java


> JS minimizer regression bug in 5.5.0-beta-1
> ---
>
> Key: TAP5-2605
> URL: https://issues.apache.org/jira/browse/TAP5-2605
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-webresources
>Affects Versions: 5.5.0
>Reporter: Balázs Palcsó
>Assignee: Ben Weidig
>Priority: Major
>  Labels: regression
> Attachments: clipboard-polyfill.promise.js
>
>
> After upgrading from 5.4.4 to 5.5.0-beta-1 I am getting the following error 
> for the attached [^clipboard-polyfill.promise.js]
>  
> {code:java}
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Illegal char <<> at index 18: 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Streaming compressed module clipboard
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Streaming 
> classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> (compressed)
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Minimizing 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.246 [http-nio-8080-exec-5] ERROR 
> o.a.t.m.T.RequestExceptionHandler - Processing of request failed with 
> uncaught exception: {}
> org.apache.tapestry5.ioc.internal.OperationException: Illegal char <<> at 
> index 18: StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:186)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:118)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.webresources.AbstractMinimizer.minimize(AbstractMinimizer.java:67)
> at 
> org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:42)
> at $ResourceMinimizer_2469ff1505ff6.minimize(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.assets.SRSMinimizingInterceptor.getStreamableResource(SRSMinimizingInterceptor.java:42)
> at 
> org.apache.tapestry5.internal.services.assets.JavaScriptStackMinimizeDisabler.getStreamableResource(JavaScriptStackMinimizeDisabler.java:61)
> at 
> org.apache.tapestry5.internal.services.assets.UTF8ForTextAssets.getStreamableResource(UTF8ForTextAssets.java:40)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCompressingInterceptor.getStreamableResource(SRSCompressingInterceptor.java:38)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at $StreamableResourceSource_2469ff1505e6a.getStreamableResource(Unknown 
> Source)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:114)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:107)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(Opera

[jira] [Commented] (TAP5-2605) JS minimizer regression bug in 5.5.0-beta-1

2024-05-11 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845600#comment-17845600
 ] 

Hudson commented on TAP5-2605:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#14 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/14/])
TAP5-2605: google closure compiler use generic filename (ben: rev 
b1e144c74129ff7da0998eee9f9e3e6b7163b9d9)
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/GoogleClosureMinimizerOptionsProvider.java


> JS minimizer regression bug in 5.5.0-beta-1
> ---
>
> Key: TAP5-2605
> URL: https://issues.apache.org/jira/browse/TAP5-2605
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-webresources
>Affects Versions: 5.5.0
>Reporter: Balázs Palcsó
>Assignee: Ben Weidig
>Priority: Major
>  Labels: regression
> Attachments: clipboard-polyfill.promise.js
>
>
> After upgrading from 5.4.4 to 5.5.0-beta-1 I am getting the following error 
> for the attached [^clipboard-polyfill.promise.js]
>  
> {code:java}
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Illegal char <<> at index 18: 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Streaming compressed module clipboard
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Streaming 
> classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> (compressed)
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Minimizing 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.246 [http-nio-8080-exec-5] ERROR 
> o.a.t.m.T.RequestExceptionHandler - Processing of request failed with 
> uncaught exception: {}
> org.apache.tapestry5.ioc.internal.OperationException: Illegal char <<> at 
> index 18: StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:186)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:118)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.webresources.AbstractMinimizer.minimize(AbstractMinimizer.java:67)
> at 
> org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:42)
> at $ResourceMinimizer_2469ff1505ff6.minimize(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.assets.SRSMinimizingInterceptor.getStreamableResource(SRSMinimizingInterceptor.java:42)
> at 
> org.apache.tapestry5.internal.services.assets.JavaScriptStackMinimizeDisabler.getStreamableResource(JavaScriptStackMinimizeDisabler.java:61)
> at 
> org.apache.tapestry5.internal.services.assets.UTF8ForTextAssets.getStreamableResource(UTF8ForTextAssets.java:40)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCompressingInterceptor.getStreamableResource(SRSCompressingInterceptor.java:38)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at $StreamableResourceSource_2469ff1505e6a.getStreamableResource(Unknown 
> Source)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:114)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:107)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(Opera

[jira] [Commented] (TAP5-2777) Update the closure compiler for better support of modern JavaScript

2024-05-11 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845601#comment-17845601
 ] 

Hudson commented on TAP5-2777:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#14 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/14/])
TAP5-2777: upgrade google closure compiler to v20220502 (ben: rev 
19732165c42a7df9a111c6ad13c2b01258bac366)
* (edit) tapestry-webresources/build.gradle
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java


> Update the closure compiler for better support of modern JavaScript
> ---
>
> Key: TAP5-2777
> URL: https://issues.apache.org/jira/browse/TAP5-2777
> Project: Tapestry 5
>  Issue Type: Task
>  Components: tapestry-webresources
>Affects Versions: 5.8.6
>Reporter: Chris Poulsen
>Assignee: Ben Weidig
>Priority: Minor
>
> A couple of years ago we encountered errors related to the closure compiler 
> not understanding certain modern JavaScript constructs.
> The details are sort of hazy, but IIRC the newest version(s) of the compiler 
> were not just drop-in upgrades (primo 2022). We ended up with "v20210505" 
> back then, it allowed our JavaScript to pass through and was still just a 
> drop-in upgrade.
> We have been running the following config in production for 2 years (on a 
> bunch of installations) without issues, so maybe more people would benefit 
> from this upgrade.
> {code:java}
> runtimeOnly("org.apache.tapestry:tapestry-webresources:$tapestryVersion") {
>     exclude group: 'com.google.javascript'
> }
> runtimeOnly("com.google.javascript:closure-compiler-unshaded:v20210505") 
> runtimeOnly("com.google.javascript:closure-compiler-externs:v20210505")     
> {code}
> Ideally the compiler support would be updated to the newest version and kept 
> up-to-date, but for a low hanging fruit, this one should be a simple step.



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


[jira] [Commented] (TAP5-2777) Update the closure compiler for better support of modern JavaScript

2024-05-11 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845597#comment-17845597
 ] 

Hudson commented on TAP5-2777:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #14 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/14/])
TAP5-2777: upgrade google closure compiler to v20220502 (ben: rev 
19732165c42a7df9a111c6ad13c2b01258bac366)
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java
* (edit) tapestry-webresources/build.gradle


> Update the closure compiler for better support of modern JavaScript
> ---
>
> Key: TAP5-2777
> URL: https://issues.apache.org/jira/browse/TAP5-2777
> Project: Tapestry 5
>  Issue Type: Task
>  Components: tapestry-webresources
>Affects Versions: 5.8.6
>Reporter: Chris Poulsen
>Assignee: Ben Weidig
>Priority: Minor
>
> A couple of years ago we encountered errors related to the closure compiler 
> not understanding certain modern JavaScript constructs.
> The details are sort of hazy, but IIRC the newest version(s) of the compiler 
> were not just drop-in upgrades (primo 2022). We ended up with "v20210505" 
> back then, it allowed our JavaScript to pass through and was still just a 
> drop-in upgrade.
> We have been running the following config in production for 2 years (on a 
> bunch of installations) without issues, so maybe more people would benefit 
> from this upgrade.
> {code:java}
> runtimeOnly("org.apache.tapestry:tapestry-webresources:$tapestryVersion") {
>     exclude group: 'com.google.javascript'
> }
> runtimeOnly("com.google.javascript:closure-compiler-unshaded:v20210505") 
> runtimeOnly("com.google.javascript:closure-compiler-externs:v20210505")     
> {code}
> Ideally the compiler support would be updated to the newest version and kept 
> up-to-date, but for a low hanging fruit, this one should be a simple step.



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


[jira] [Commented] (TAP5-2605) JS minimizer regression bug in 5.5.0-beta-1

2024-05-11 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845596#comment-17845596
 ] 

Hudson commented on TAP5-2605:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #14 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/14/])
TAP5-2605: google closure compiler use generic filename (ben: rev 
b1e144c74129ff7da0998eee9f9e3e6b7163b9d9)
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/GoogleClosureMinimizerOptionsProvider.java
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java


> JS minimizer regression bug in 5.5.0-beta-1
> ---
>
> Key: TAP5-2605
> URL: https://issues.apache.org/jira/browse/TAP5-2605
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-webresources
>Affects Versions: 5.5.0
>Reporter: Balázs Palcsó
>Assignee: Ben Weidig
>Priority: Major
>  Labels: regression
> Attachments: clipboard-polyfill.promise.js
>
>
> After upgrading from 5.4.4 to 5.5.0-beta-1 I am getting the following error 
> for the attached [^clipboard-polyfill.promise.js]
>  
> {code:java}
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Illegal char <<> at index 18: 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Streaming compressed module clipboard
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Streaming 
> classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> (compressed)
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Minimizing 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.246 [http-nio-8080-exec-5] ERROR 
> o.a.t.m.T.RequestExceptionHandler - Processing of request failed with 
> uncaught exception: {}
> org.apache.tapestry5.ioc.internal.OperationException: Illegal char <<> at 
> index 18: StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:186)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:118)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.webresources.AbstractMinimizer.minimize(AbstractMinimizer.java:67)
> at 
> org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:42)
> at $ResourceMinimizer_2469ff1505ff6.minimize(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.assets.SRSMinimizingInterceptor.getStreamableResource(SRSMinimizingInterceptor.java:42)
> at 
> org.apache.tapestry5.internal.services.assets.JavaScriptStackMinimizeDisabler.getStreamableResource(JavaScriptStackMinimizeDisabler.java:61)
> at 
> org.apache.tapestry5.internal.services.assets.UTF8ForTextAssets.getStreamableResource(UTF8ForTextAssets.java:40)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCompressingInterceptor.getStreamableResource(SRSCompressingInterceptor.java:38)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at $StreamableResourceSource_2469ff1505e6a.getStreamableResource(Unknown 
> Source)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:114)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:107)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(Opera

[jira] [Commented] (TAP5-2777) Update the closure compiler for better support of modern JavaScript

2024-05-11 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845592#comment-17845592
 ] 

ASF subversion and git services commented on TAP5-2777:
---

Commit 19732165c42a7df9a111c6ad13c2b01258bac366 in tapestry-5's branch 
refs/heads/javax from Ben Weidig
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=19732165c ]

TAP5-2777: upgrade google closure compiler to v20220502


> Update the closure compiler for better support of modern JavaScript
> ---
>
> Key: TAP5-2777
> URL: https://issues.apache.org/jira/browse/TAP5-2777
> Project: Tapestry 5
>  Issue Type: Task
>  Components: tapestry-webresources
>Affects Versions: 5.8.6
>Reporter: Chris Poulsen
>Assignee: Ben Weidig
>Priority: Minor
>
> A couple of years ago we encountered errors related to the closure compiler 
> not understanding certain modern JavaScript constructs.
> The details are sort of hazy, but IIRC the newest version(s) of the compiler 
> were not just drop-in upgrades (primo 2022). We ended up with "v20210505" 
> back then, it allowed our JavaScript to pass through and was still just a 
> drop-in upgrade.
> We have been running the following config in production for 2 years (on a 
> bunch of installations) without issues, so maybe more people would benefit 
> from this upgrade.
> {code:java}
> runtimeOnly("org.apache.tapestry:tapestry-webresources:$tapestryVersion") {
>     exclude group: 'com.google.javascript'
> }
> runtimeOnly("com.google.javascript:closure-compiler-unshaded:v20210505") 
> runtimeOnly("com.google.javascript:closure-compiler-externs:v20210505")     
> {code}
> Ideally the compiler support would be updated to the newest version and kept 
> up-to-date, but for a low hanging fruit, this one should be a simple step.



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


[jira] [Commented] (TAP5-2605) JS minimizer regression bug in 5.5.0-beta-1

2024-05-11 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845593#comment-17845593
 ] 

ASF subversion and git services commented on TAP5-2605:
---

Commit b1e144c74129ff7da0998eee9f9e3e6b7163b9d9 in tapestry-5's branch 
refs/heads/javax from Ben Weidig
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=b1e144c74 ]

TAP5-2605: google closure compiler use generic filename


> JS minimizer regression bug in 5.5.0-beta-1
> ---
>
> Key: TAP5-2605
> URL: https://issues.apache.org/jira/browse/TAP5-2605
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-webresources
>Affects Versions: 5.5.0
>Reporter: Balázs Palcsó
>Assignee: Ben Weidig
>Priority: Major
>  Labels: regression
> Attachments: clipboard-polyfill.promise.js
>
>
> After upgrading from 5.4.4 to 5.5.0-beta-1 I am getting the following error 
> for the attached [^clipboard-polyfill.promise.js]
>  
> {code:java}
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Illegal char <<> at index 18: 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Streaming compressed module clipboard
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Streaming 
> classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> (compressed)
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Minimizing 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.246 [http-nio-8080-exec-5] ERROR 
> o.a.t.m.T.RequestExceptionHandler - Processing of request failed with 
> uncaught exception: {}
> org.apache.tapestry5.ioc.internal.OperationException: Illegal char <<> at 
> index 18: StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:186)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:118)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.webresources.AbstractMinimizer.minimize(AbstractMinimizer.java:67)
> at 
> org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:42)
> at $ResourceMinimizer_2469ff1505ff6.minimize(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.assets.SRSMinimizingInterceptor.getStreamableResource(SRSMinimizingInterceptor.java:42)
> at 
> org.apache.tapestry5.internal.services.assets.JavaScriptStackMinimizeDisabler.getStreamableResource(JavaScriptStackMinimizeDisabler.java:61)
> at 
> org.apache.tapestry5.internal.services.assets.UTF8ForTextAssets.getStreamableResource(UTF8ForTextAssets.java:40)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCompressingInterceptor.getStreamableResource(SRSCompressingInterceptor.java:38)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at $StreamableResourceSource_2469ff1505e6a.getStreamableResource(Unknown 
> Source)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:114)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:107)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:110)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.services.Resou

[jira] [Commented] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

2024-05-09 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17844914#comment-17844914
 ] 

Hudson commented on TAP5-2778:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #103 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/103/])
TAP5-2778: upgrade junit to 5.10.2 (ben: rev 
9090b8d0b149cb376be21971b04a919a7023b469)
* (edit) build.gradle


> JUnit upgrade to support Eclipse 2023-09+
> -
>
> Key: TAP5-2778
> URL: https://issues.apache.org/jira/browse/TAP5-2778
> Project: Tapestry 5
>  Issue Type: Task
>Affects Versions: 5.8.6
>Reporter: Ben Weidig
>Assignee: Ben Weidig
>Priority: Major
>
> JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
>  
> Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]
>  
> Possible solutions:
> - Add {{testImplementation 
> 'org.junit.platform:junit-platform-launcher:1.9.3'}} to all {{build.gradle}} 
> files that use JUnit
> - Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
>  
>  
>  



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


[jira] [Commented] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

2024-05-09 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17844913#comment-17844913
 ] 

Hudson commented on TAP5-2778:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #237 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/237/])
TAP5-2778: upgrade junit to 5.10.2 (ben: rev 
9090b8d0b149cb376be21971b04a919a7023b469)
* (edit) build.gradle


> JUnit upgrade to support Eclipse 2023-09+
> -
>
> Key: TAP5-2778
> URL: https://issues.apache.org/jira/browse/TAP5-2778
> Project: Tapestry 5
>  Issue Type: Task
>Affects Versions: 5.8.6
>Reporter: Ben Weidig
>Assignee: Ben Weidig
>Priority: Major
>
> JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
>  
> Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]
>  
> Possible solutions:
> - Add {{testImplementation 
> 'org.junit.platform:junit-platform-launcher:1.9.3'}} to all {{build.gradle}} 
> files that use JUnit
> - Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
>  
>  
>  



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


[jira] [Commented] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

2024-05-09 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17844905#comment-17844905
 ] 

Hudson commented on TAP5-2778:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#13 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/13/])
TAP5-2778: upgrade junit to 5.10.2 (ben: rev 
dd6398e381fe6922b3c3b71435c22a9ea534d6be)
* (edit) build.gradle


> JUnit upgrade to support Eclipse 2023-09+
> -
>
> Key: TAP5-2778
> URL: https://issues.apache.org/jira/browse/TAP5-2778
> Project: Tapestry 5
>  Issue Type: Task
>Affects Versions: 5.8.6
>Reporter: Ben Weidig
>Assignee: Ben Weidig
>Priority: Major
>
> JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
>  
> Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]
>  
> Possible solutions:
> - Add {{testImplementation 
> 'org.junit.platform:junit-platform-launcher:1.9.3'}} to all {{build.gradle}} 
> files that use JUnit
> - Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
>  
>  
>  



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


[jira] [Commented] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

2024-05-09 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17844900#comment-17844900
 ] 

Hudson commented on TAP5-2778:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #13 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/13/])
TAP5-2778: upgrade junit to 5.10.2 (ben: rev 
dd6398e381fe6922b3c3b71435c22a9ea534d6be)
* (edit) build.gradle


> JUnit upgrade to support Eclipse 2023-09+
> -
>
> Key: TAP5-2778
> URL: https://issues.apache.org/jira/browse/TAP5-2778
> Project: Tapestry 5
>  Issue Type: Task
>Affects Versions: 5.8.6
>Reporter: Ben Weidig
>Assignee: Ben Weidig
>Priority: Major
>
> JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
>  
> Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]
>  
> Possible solutions:
> - Add {{testImplementation 
> 'org.junit.platform:junit-platform-launcher:1.9.3'}} to all {{build.gradle}} 
> files that use JUnit
> - Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
>  
>  
>  



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


[jira] [Commented] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

2024-05-09 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17844892#comment-17844892
 ] 

Hudson commented on TAP5-2778:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#11 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/11/])
TAP5-2778: upgrade junit to 5.10.2 (ben: rev 
dd6398e381fe6922b3c3b71435c22a9ea534d6be)
* (edit) build.gradle


> JUnit upgrade to support Eclipse 2023-09+
> -
>
> Key: TAP5-2778
> URL: https://issues.apache.org/jira/browse/TAP5-2778
> Project: Tapestry 5
>  Issue Type: Task
>Affects Versions: 5.8.6
>Reporter: Ben Weidig
>Assignee: Ben Weidig
>Priority: Major
>
> JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
>  
> Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]
>  
> Possible solutions:
> - Add {{testImplementation 
> 'org.junit.platform:junit-platform-launcher:1.9.3'}} to all {{build.gradle}} 
> files that use JUnit
> - Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
>  
>  
>  



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


[jira] [Commented] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

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


[ 
https://issues.apache.org/jira/browse/TAP5-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17844890#comment-17844890
 ] 

ASF subversion and git services commented on TAP5-2778:
---

Commit 9090b8d0b149cb376be21971b04a919a7023b469 in tapestry-5's branch 
refs/heads/master from Ben Weidig
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=9090b8d0b ]

TAP5-2778: upgrade junit to 5.10.2


> JUnit upgrade to support Eclipse 2023-09+
> -
>
> Key: TAP5-2778
> URL: https://issues.apache.org/jira/browse/TAP5-2778
> Project: Tapestry 5
>  Issue Type: Task
>Affects Versions: 5.8.6
>Reporter: Ben Weidig
>Assignee: Ben Weidig
>Priority: Major
>
> JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
>  
> Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]
>  
> Possible solutions:
> - Add {{testImplementation 
> 'org.junit.platform:junit-platform-launcher:1.9.3'}} to all {{build.gradle}} 
> files that use JUnit
> - Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
>  
>  
>  



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


[jira] [Commented] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

2024-05-09 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17844889#comment-17844889
 ] 

Hudson commented on TAP5-2778:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #15 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/15/])
TAP5-2778: upgrade junit to 5.10.2 (ben: rev 
dd6398e381fe6922b3c3b71435c22a9ea534d6be)
* (edit) build.gradle


> JUnit upgrade to support Eclipse 2023-09+
> -
>
> Key: TAP5-2778
> URL: https://issues.apache.org/jira/browse/TAP5-2778
> Project: Tapestry 5
>  Issue Type: Task
>Affects Versions: 5.8.6
>Reporter: Ben Weidig
>Assignee: Ben Weidig
>Priority: Major
>
> JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
>  
> Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]
>  
> Possible solutions:
> - Add {{testImplementation 
> 'org.junit.platform:junit-platform-launcher:1.9.3'}} to all {{build.gradle}} 
> files that use JUnit
> - Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
>  
>  
>  



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


[jira] [Commented] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

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


[ 
https://issues.apache.org/jira/browse/TAP5-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17844885#comment-17844885
 ] 

ASF subversion and git services commented on TAP5-2778:
---

Commit dd6398e381fe6922b3c3b71435c22a9ea534d6be in tapestry-5's branch 
refs/heads/javax from Ben Weidig
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=dd6398e38 ]

TAP5-2778: upgrade junit to 5.10.2


> JUnit upgrade to support Eclipse 2023-09+
> -
>
> Key: TAP5-2778
> URL: https://issues.apache.org/jira/browse/TAP5-2778
> Project: Tapestry 5
>  Issue Type: Task
>Affects Versions: 5.8.6
>Reporter: Ben Weidig
>Assignee: Ben Weidig
>Priority: Major
>
> JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
>  
> Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]
>  
> Possible solutions:
> - Add {{testImplementation 
> 'org.junit.platform:junit-platform-launcher:1.9.3'}} to all {{build.gradle}} 
> files that use JUnit
> - Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
>  
>  
>  



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


[jira] [Commented] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-08 Thread Ben Weidig (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17844557#comment-17844557
 ] 

Ben Weidig commented on TAP5-2779:
--

The following data-driven test in {{tapestry-core}} fails for the first value, 
each subsequent one is fine.

{{org.apache.tapestry5.internal.bindings.PropBindingFactoryTest#special_prop_binding_values}}

Changing the order of the test values doesn't change that behavior; always the 
first one fails.

The change you suggested on Slack is already applied.

I haven't looked further into into it, as you're already working on 
ClassLoader-related things.

Environment info:
- javax branch
- Temurin JDK 8+412-b08
- Debian 12 (6.1.0-18-amd64)

Stacktrace:
{code:java}
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.proxy.
at 
org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:360)
at 
org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.get(PageClassLoaderContextManagerImpl.java:150)
at $PageClassLoaderContextManager_d8a7536dd1e0a.get(Unknown Source)
at 
org.apache.tapestry5.internal.bindings.PropBindingFactory.getClassLoaderAppropriateClass(PropBindingFactory.java:69)
at 
org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(PropBindingFactory.java:54)
at $BindingFactory_d8a7536dd4116.newBinding(Unknown Source)
at $BindingFactory_d8a7536dd410b.newBinding(Unknown Source)
at 
org.apache.tapestry5.internal.bindings.PropBindingFactoryTest.special_prop_binding_values(PropBindingFactoryTest.java:526)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at 
org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:148)
at 
org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:95)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at 
org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at 
org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at 
org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at com.sun.proxy.$Proxy2.stop(Unknown Source)
at 
org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
at 
org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at 
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at 
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at 
org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java

[jira] [Assigned] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-06 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo reassigned TAP5-2779:
-

Assignee: Thiago Henrique De Paula Figueiredo

> Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature
> -
>
> Key: TAP5-2779
> URL: https://issues.apache.org/jira/browse/TAP5-2779
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: plastic, tapestry-core
>Affects Versions: 5.8.3, 5.8.4, 5.8.6, 5.8.7
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> TAP5-2742 



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


[jira] [Created] (TAP5-2779) Tapestry 5.8.3 to 5.8.7 issues caused by the multiple classloader feature

2024-05-06 Thread Thiago Henrique De Paula Figueiredo (Jira)
Thiago Henrique De Paula Figueiredo created TAP5-2779:
-

 Summary: Tapestry 5.8.3 to 5.8.7 issues caused by the multiple 
classloader feature
 Key: TAP5-2779
 URL: https://issues.apache.org/jira/browse/TAP5-2779
 Project: Tapestry 5
  Issue Type: Bug
  Components: plastic, tapestry-core
Affects Versions: 5.8.6, 5.8.4, 5.8.3, 5.8.7
Reporter: Thiago Henrique De Paula Figueiredo


TAP5-2742 



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


[jira] [Created] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

2024-05-05 Thread Ben Weidig (Jira)
Ben Weidig created TAP5-2778:


 Summary: JUnit upgrade to support Eclipse 2023-09+
 Key: TAP5-2778
 URL: https://issues.apache.org/jira/browse/TAP5-2778
 Project: Tapestry 5
  Issue Type: Task
Affects Versions: 5.8.6
Reporter: Ben Weidig


JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
 
Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]

 
Possible solutions:
- Add {{testImplementation 'org.junit.platform:junit-platform-launcher:1.9.3'}} 
to all {{build.gradle}} files that use JUnit
- Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
 

 

 



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


[jira] [Assigned] (TAP5-2778) JUnit upgrade to support Eclipse 2023-09+

2024-05-05 Thread Ben Weidig (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Weidig reassigned TAP5-2778:


Assignee: Ben Weidig

> JUnit upgrade to support Eclipse 2023-09+
> -
>
> Key: TAP5-2778
> URL: https://issues.apache.org/jira/browse/TAP5-2778
> Project: Tapestry 5
>  Issue Type: Task
>Affects Versions: 5.8.6
>Reporter: Ben Weidig
>Assignee: Ben Weidig
>Priority: Major
>
> JUnit tests fail to run with a version < 5.10.0 in Eclipse 2023-09 and later.
>  
> Related GitHub issue: [https://github.com/eclipse/buildship/issues/1265]
>  
> Possible solutions:
> - Add {{testImplementation 
> 'org.junit.platform:junit-platform-launcher:1.9.3'}} to all {{build.gradle}} 
> files that use JUnit
> - Update {{org.junit.jupiter:junit-jupiter}} from 5.8.2 to 5.10.2
>  
>  
>  



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


[jira] [Commented] (TAP5-2776) Make page preloading optional in production mode

2024-05-03 Thread Roman Trapickin (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17843239#comment-17843239
 ] 

Roman Trapickin commented on TAP5-2776:
---

To make things more clear: We are currently blaming the [line 119 in 
PageLoadModule.preloadPageClassLoaderContexts(...)|https://github.com/apache/tapestry-5/blob/5.8.5/tapestry-core/src/main/java/org/apache/tapestry5/modules/PageLoadModule.java#L119]:
{code:java}
else if (productionMode)
{
pageClassLoaderContextManager.preload();
}
{code}
In dev mode Tapestry falls back to the old behavior and everything works fine. 
Hence we need a possibility to disable the call to 
{{pageClassLoaderContextManager.preload()}}. We may also try to call it right 
after the Spring context has been initialized.

Please let me know if you have other questions concerning this issue.

> Make page preloading optional in production mode
> 
>
> Key: TAP5-2776
> URL: https://issues.apache.org/jira/browse/TAP5-2776
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5, 5.8.6
>Reporter: Roman Trapickin
>Priority: Major
>
> We use Tapestry 5.8.4 and Spring Boot 2.7 in production. To make things work, 
> Tapestry context is initialized by the Spring context, not vice versa as done 
> by {{tapestry-spring}}. This a tricky situation since Tapestry needs Spring 
> beans and Spring beans sometimes need Tapestry beans.
> To solve this problem we exploit Spring's BeanFactoryPostProcessor in order 
> to initialize Tapestry context before Spring beans are evaluated:
> # Start initializing Spring context
> # "Pause" within BeanFactoryPostProcessor and initialize Tapestry context. 
> Tapestry beans do not need fully initialized Spring beans yet.
> # Finish Spring context initialization.
> # Tapestry beans and pages can now inject fully initialized Spring beans.
> I'll provide some code snippets in the comments below.
> TAP5-2772 has changed the preloading behavior in production mode so that 
> Tapestry now eagerly resolves the Spring beans, thus relying on a fully 
> initialized Spring context. Since Spring context init is not finished yet, a 
> good amount of unresolved bean/property exceptions is thrown. Now we cannot 
> break this vicious cycle of both contexts having a need for each other. This 
> problem is not present in development mode.
> I file this issue as a bug since we need the old behavior to be restored in 
> production mode. Alternatively we could introduce a setting for production 
> mode to disable the new preloading feature.



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


[jira] [Commented] (TAP5-2777) Update the closure compiler for better support of modern JavaScript

2024-05-01 Thread Ben Weidig (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17842568#comment-17842568
 ] 

Ben Weidig commented on TAP5-2777:
--

Updating it to the latest working version makes sense, but I remember too that 
there were some issues...

If you have v20210505 working for over two years without issues, that should be 
the minimum version we should use.

 

Around June 2022, Java 11 become a prerequisite, which means we should update 
to the latest one that works with Java 8 (and Tapestry), and try to update to 
the latest in the Jakarta branch.

 

I've added the version to our applications to see if it works with our setup, 
as we have at least one advise/hack thanks to the closure compiler destroying 
JS.

Checking out the problematic components, it looks fine so far.

 

Nevertheless, Google Closure Compiler is always a double-edged sword.

The "important caveats" list in their README.md is long, and it boils down to 
"if in doubt, write JS with the compiler in mind, we optimize for our own use 
cases".

> Update the closure compiler for better support of modern JavaScript
> ---
>
> Key: TAP5-2777
> URL: https://issues.apache.org/jira/browse/TAP5-2777
> Project: Tapestry 5
>  Issue Type: Task
>  Components: tapestry-webresources
>Affects Versions: 5.8.6
>Reporter: Chris Poulsen
>Assignee: Ben Weidig
>Priority: Minor
>
> A couple of years ago we encountered errors related to the closure compiler 
> not understanding certain modern JavaScript constructs.
> The details are sort of hazy, but IIRC the newest version(s) of the compiler 
> were not just drop-in upgrades (primo 2022). We ended up with "v20210505" 
> back then, it allowed our JavaScript to pass through and was still just a 
> drop-in upgrade.
> We have been running the following config in production for 2 years (on a 
> bunch of installations) without issues, so maybe more people would benefit 
> from this upgrade.
> {code:java}
> runtimeOnly("org.apache.tapestry:tapestry-webresources:$tapestryVersion") {
>     exclude group: 'com.google.javascript'
> }
> runtimeOnly("com.google.javascript:closure-compiler-unshaded:v20210505") 
> runtimeOnly("com.google.javascript:closure-compiler-externs:v20210505")     
> {code}
> Ideally the compiler support would be updated to the newest version and kept 
> up-to-date, but for a low hanging fruit, this one should be a simple step.



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


[jira] [Assigned] (TAP5-2777) Update the closure compiler for better support of modern JavaScript

2024-05-01 Thread Ben Weidig (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Weidig reassigned TAP5-2777:


Assignee: Ben Weidig

> Update the closure compiler for better support of modern JavaScript
> ---
>
> Key: TAP5-2777
> URL: https://issues.apache.org/jira/browse/TAP5-2777
> Project: Tapestry 5
>  Issue Type: Task
>  Components: tapestry-webresources
>Affects Versions: 5.8.6
>Reporter: Chris Poulsen
>Assignee: Ben Weidig
>Priority: Minor
>
> A couple of years ago we encountered errors related to the closure compiler 
> not understanding certain modern JavaScript constructs.
> The details are sort of hazy, but IIRC the newest version(s) of the compiler 
> were not just drop-in upgrades (primo 2022). We ended up with "v20210505" 
> back then, it allowed our JavaScript to pass through and was still just a 
> drop-in upgrade.
> We have been running the following config in production for 2 years (on a 
> bunch of installations) without issues, so maybe more people would benefit 
> from this upgrade.
> {code:java}
> runtimeOnly("org.apache.tapestry:tapestry-webresources:$tapestryVersion") {
>     exclude group: 'com.google.javascript'
> }
> runtimeOnly("com.google.javascript:closure-compiler-unshaded:v20210505") 
> runtimeOnly("com.google.javascript:closure-compiler-externs:v20210505")     
> {code}
> Ideally the compiler support would be updated to the newest version and kept 
> up-to-date, but for a low hanging fruit, this one should be a simple step.



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


[jira] [Created] (TAP5-2777) Update the closure compiler for better support of modern JavaScript

2024-05-01 Thread Chris Poulsen (Jira)
Chris Poulsen created TAP5-2777:
---

 Summary: Update the closure compiler for better support of modern 
JavaScript
 Key: TAP5-2777
 URL: https://issues.apache.org/jira/browse/TAP5-2777
 Project: Tapestry 5
  Issue Type: Task
  Components: tapestry-webresources
Affects Versions: 5.8.6
Reporter: Chris Poulsen


A couple of years ago we encountered errors related to the closure compiler not 
understanding certain modern JavaScript constructs.

The details are sort of hazy, but IIRC the newest version(s) of the compiler 
were not just drop-in upgrades (primo 2022). We ended up with "v20210505" back 
then, it allowed our JavaScript to pass through and was still just a drop-in 
upgrade.



We have been running the following config in production for 2 years (on a bunch 
of installations) without issues, so maybe more people would benefit from this 
upgrade.
{code:java}
runtimeOnly("org.apache.tapestry:tapestry-webresources:$tapestryVersion") {
    exclude group: 'com.google.javascript'
}
runtimeOnly("com.google.javascript:closure-compiler-unshaded:v20210505") 
runtimeOnly("com.google.javascript:closure-compiler-externs:v20210505")     
{code}
Ideally the compiler support would be updated to the newest version and kept 
up-to-date, but for a low hanging fruit, this one should be a simple step.



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


[jira] [Commented] (TAP5-2605) JS minimizer regression bug in 5.5.0-beta-1

2024-04-30 Thread Chris Poulsen (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17842320#comment-17842320
 ] 

Chris Poulsen commented on TAP5-2605:
-

The error handling in this case is not great. Something up the call chain 
usually have some sensible, contextual info to add if an exception is thrown as 
part of their work, maybe that would suffice (that added info could use 
.toString(), .getDescription() or something else) - no matter what is fed into 
the closure compiler as a dummy filename.

This seems like the only case where an identifier of a streamable resource is 
needed, so it might be sort of intrusive to mess with the interfaces just to 
handle that one case.

I don't feel strongly about it, as long as the error is fixed.

> JS minimizer regression bug in 5.5.0-beta-1
> ---
>
> Key: TAP5-2605
> URL: https://issues.apache.org/jira/browse/TAP5-2605
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-webresources
>Affects Versions: 5.5.0
>Reporter: Balázs Palcsó
>Assignee: Ben Weidig
>Priority: Major
>  Labels: regression
> Attachments: clipboard-polyfill.promise.js
>
>
> After upgrading from 5.4.4 to 5.5.0-beta-1 I am getting the following error 
> for the attached [^clipboard-polyfill.promise.js]
>  
> {code:java}
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Illegal char <<> at index 18: 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Streaming compressed module clipboard
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Streaming 
> classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> (compressed)
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Minimizing 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.246 [http-nio-8080-exec-5] ERROR 
> o.a.t.m.T.RequestExceptionHandler - Processing of request failed with 
> uncaught exception: {}
> org.apache.tapestry5.ioc.internal.OperationException: Illegal char <<> at 
> index 18: StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:186)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:118)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.webresources.AbstractMinimizer.minimize(AbstractMinimizer.java:67)
> at 
> org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:42)
> at $ResourceMinimizer_2469ff1505ff6.minimize(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.assets.SRSMinimizingInterceptor.getStreamableResource(SRSMinimizingInterceptor.java:42)
> at 
> org.apache.tapestry5.internal.services.assets.JavaScriptStackMinimizeDisabler.getStreamableResource(JavaScriptStackMinimizeDisabler.java:61)
> at 
> org.apache.tapestry5.internal.services.assets.UTF8ForTextAssets.getStreamableResource(UTF8ForTextAssets.java:40)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCompressingInterceptor.getStreamableResource(SRSCompressingInterceptor.java:38)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at $StreamableResourceSource_2469ff1505e6a.getStreamableResource(Unknown 
> Source)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:114)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:107)
> at 
> org.apache.tapestry5.ioc.internal

[jira] [Commented] (TAP5-2605) JS minimizer regression bug in 5.5.0-beta-1

2024-04-30 Thread Ben Weidig (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17842278#comment-17842278
 ] 

Ben Weidig commented on TAP5-2605:
--

Using such a descriptive toString() resulted in issues for us in other places 
before.

 

In general, I believe it's helpful that the information on which resources are 
involved is available, especially in the case of an exception.

But the SourceFile.fromInputStream shouldn't use it as a parameter, it's the 
responsibility of the RuntimeException below to share that info if necessary.

 

Maybe adding a "String getIdentifer()" to StreamableResource, that returns a 
filename-safe variant would be a nice workaround.

If it defaults to getDescription(), it wouldn't affect any custom 
implementations out there.

> JS minimizer regression bug in 5.5.0-beta-1
> ---
>
> Key: TAP5-2605
> URL: https://issues.apache.org/jira/browse/TAP5-2605
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-webresources
>Affects Versions: 5.5.0
>Reporter: Balázs Palcsó
>Priority: Major
>  Labels: regression
> Attachments: clipboard-polyfill.promise.js
>
>
> After upgrading from 5.4.4 to 5.5.0-beta-1 I am getting the following error 
> for the attached [^clipboard-polyfill.promise.js]
>  
> {code:java}
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Illegal char <<> at index 18: 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Streaming compressed module clipboard
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Streaming 
> classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> (compressed)
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Minimizing 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.246 [http-nio-8080-exec-5] ERROR 
> o.a.t.m.T.RequestExceptionHandler - Processing of request failed with 
> uncaught exception: {}
> org.apache.tapestry5.ioc.internal.OperationException: Illegal char <<> at 
> index 18: StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:186)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:118)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.webresources.AbstractMinimizer.minimize(AbstractMinimizer.java:67)
> at 
> org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:42)
> at $ResourceMinimizer_2469ff1505ff6.minimize(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.assets.SRSMinimizingInterceptor.getStreamableResource(SRSMinimizingInterceptor.java:42)
> at 
> org.apache.tapestry5.internal.services.assets.JavaScriptStackMinimizeDisabler.getStreamableResource(JavaScriptStackMinimizeDisabler.java:61)
> at 
> org.apache.tapestry5.internal.services.assets.UTF8ForTextAssets.getStreamableResource(UTF8ForTextAssets.java:40)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCompressingInterceptor.getStreamableResource(SRSCompressingInterceptor.java:38)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at $StreamableResourceSource_2469ff1505e6a.getStreamableResource(Unknown 
> Source)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:114)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:107)
> at 
> org.apache.tapestry5.ioc.intern

[jira] [Assigned] (TAP5-2605) JS minimizer regression bug in 5.5.0-beta-1

2024-04-30 Thread Ben Weidig (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Weidig reassigned TAP5-2605:


Assignee: Ben Weidig

> JS minimizer regression bug in 5.5.0-beta-1
> ---
>
> Key: TAP5-2605
> URL: https://issues.apache.org/jira/browse/TAP5-2605
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-webresources
>Affects Versions: 5.5.0
>Reporter: Balázs Palcsó
>Assignee: Ben Weidig
>Priority: Major
>  Labels: regression
> Attachments: clipboard-polyfill.promise.js
>
>
> After upgrading from 5.4.4 to 5.5.0-beta-1 I am getting the following error 
> for the attached [^clipboard-polyfill.promise.js]
>  
> {code:java}
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Illegal char <<> at index 18: 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Streaming compressed module clipboard
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Streaming 
> classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> (compressed)
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Minimizing 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.246 [http-nio-8080-exec-5] ERROR 
> o.a.t.m.T.RequestExceptionHandler - Processing of request failed with 
> uncaught exception: {}
> org.apache.tapestry5.ioc.internal.OperationException: Illegal char <<> at 
> index 18: StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:186)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:118)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.webresources.AbstractMinimizer.minimize(AbstractMinimizer.java:67)
> at 
> org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:42)
> at $ResourceMinimizer_2469ff1505ff6.minimize(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.assets.SRSMinimizingInterceptor.getStreamableResource(SRSMinimizingInterceptor.java:42)
> at 
> org.apache.tapestry5.internal.services.assets.JavaScriptStackMinimizeDisabler.getStreamableResource(JavaScriptStackMinimizeDisabler.java:61)
> at 
> org.apache.tapestry5.internal.services.assets.UTF8ForTextAssets.getStreamableResource(UTF8ForTextAssets.java:40)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCompressingInterceptor.getStreamableResource(SRSCompressingInterceptor.java:38)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at $StreamableResourceSource_2469ff1505e6a.getStreamableResource(Unknown 
> Source)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:114)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl$1.perform(ResourceStreamerImpl.java:107)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:110)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.services.ResourceStreamerImpl.streamResource(ResourceStreamerImpl.java:106)
> at $ResourceStreamer_2469ff1505e97.streamResource(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.javascript.ModuleDispatcher$1.perform(ModuleDispatcher.java:167)
> at 
&

[jira] [Commented] (TAP5-2605) JS minimizer regression bug in 5.5.0-beta-1

2024-04-30 Thread Chris Poulsen (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17842264#comment-17842264
 ] 

Chris Poulsen commented on TAP5-2605:
-

I just hit this one as well during an upgrade from Tapestry 5.8.2 to 5.8.6.

It only happens on our Windows servers and in our case the error happen 
directly with the "core" stack, production mode = true and 
tapestry-webresources present.

The culprit is: GoogleClosureMinimizer:96
{code:java}
SourceFile input = SourceFile.fromInputStream(resource.toString(), 
resource.openStream(), StandardCharsets.UTF_8); {code}
The "resource.toString()" to be specific. Which in our case contains:
{code:java}
StreamableResource
 {code}
The Windows path parser complains about the < at index 18.

The "filename" parameter is required, but the docs says that it just need to be 
a name, it does not have to resolve to an actual file (obviously). Since the 
filename is not used, I just replaced the

"resource.toString()" with "streamable-resource" and then we are going again.

 

> JS minimizer regression bug in 5.5.0-beta-1
> ---
>
> Key: TAP5-2605
> URL: https://issues.apache.org/jira/browse/TAP5-2605
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-webresources
>Affects Versions: 5.5.0
>Reporter: Balázs Palcsó
>Priority: Major
>  Labels: regression
> Attachments: clipboard-polyfill.promise.js
>
>
> After upgrading from 5.4.4 to 5.5.0-beta-1 I am getting the following error 
> for the attached [^clipboard-polyfill.promise.js]
>  
> {code:java}
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Illegal char <<> at index 18: 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - Operations trace:
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 1] Streaming compressed module clipboard
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 2] Streaming 
> classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> (compressed)
> 20190105 22:07:58.126 [http-nio-8080-exec-5] ERROR 
> org.apache.tapestry5.ioc.Registry - [ 3] Minimizing 
> StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> 20190105 22:07:58.246 [http-nio-8080-exec-5] ERROR 
> o.a.t.m.T.RequestExceptionHandler - Processing of request failed with 
> uncaught exception: {}
> org.apache.tapestry5.ioc.internal.OperationException: Illegal char <<> at 
> index 18: StreamableResource classpath:META-INF/assets/js/3rd-party/clipboard-polyfill.promise.js 
> COMPRESSABLE lastModified: Sat Jan 05 22:07:25 CET 2019 size: 24061>
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:186)
> at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:118)
> at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
> at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1266)
> at 
> org.apache.tapestry5.internal.webresources.AbstractMinimizer.minimize(AbstractMinimizer.java:67)
> at 
> org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:42)
> at $ResourceMinimizer_2469ff1505ff6.minimize(Unknown Source)
> at 
> org.apache.tapestry5.internal.services.assets.SRSMinimizingInterceptor.getStreamableResource(SRSMinimizingInterceptor.java:42)
> at 
> org.apache.tapestry5.internal.services.assets.JavaScriptStackMinimizeDisabler.getStreamableResource(JavaScriptStackMinimizeDisabler.java:61)
> at 
> org.apache.tapestry5.internal.services.assets.UTF8ForTextAssets.getStreamableResource(UTF8ForTextAssets.java:40)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCompressingInterceptor.getStreamableResource(SRSCompressingInterceptor.java:38)
> at 
> org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor.getStreamableResource(SRSCachingInterceptor.java:55)
> at $StreamableResourceSource_2469ff1505e6a.getStr

[jira] [Commented] (TAP5-2774) Form in form error when forms are not inside one another.

2024-04-27 Thread Ben Weidig (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17841452#comment-17841452
 ] 

Ben Weidig commented on TAP5-2774:
--

Thank you for the test files!
I'm still a little confused about the whole setup, but I think I understand 
what you're getting at.

As I understand it, even though Form A isn't an enclosing form in the TML, the 
construct of partially rendering it in the submit kind of nests is due to the 
RenderCommands.

Personally, I find the PartialTemplateRenderer + outputRaw a little unusual.
The tests in Tapestry itself use the PartialTemplateRenderer this way to verify 
it's working, but the documentation states that it's supposed to render HTML 
for external use like mails, etc., not normally rendered stuff.
For example, we use it in combination with Thymeleaf for mail generation.

[https://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/PartialTemplateRenderer.html]

I'd suggest using the normal rendering mechanisms, like t:delegate
{code:java}
public class FormTest {

@Inject
private AjaxResponseRenderer ajax;

@InjectComponent
private Zone zone;

@Inject
private Block initialBlock, templateBlock;

private boolean renderBlock;

@Property
private String someText1, someText2;

void onSuccessFromFormA() {
this.renderBlock = true;
this.ajax.addRender(this.zone);
}

public Block getBlock() {
return this.renderBlock ? this.templateBlock : this.initialBlock;
}
}
{code}
{code:xml}










Hello There!







{code}
Nevertheless, the question is if the PartialRenderService should or shouldn't 
be affected by the current non-partial rendering environment. I see arguments 
for both, depending on the use-case.

I didn't dig deep into the issue, so I can't say if there's an easy way around 
the FormSupport/Environment issue, and what is needed to make 
PartialRenderService more flexible.
But my educated guess is that it's not a trivial change.

For the time being, I'd suggest using t:delegate with conditional blocks. Or if 
the forms are too complex to handle easily on the Tapestry side, I'd be using 
TypeScript + Ajax to do it myself.
You can even trigger zone-refreshs from the client side, and thanks to 
@PublishEvents / @RequestParameter, handling is quite straightforward.

> Form in form error when forms are not inside one another.
> -
>
> Key: TAP5-2774
> URL: https://issues.apache.org/jira/browse/TAP5-2774
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.2
>Reporter: Maximillian Steinbach
>Assignee: Ben Weidig
>Priority: Critical
> Attachments: Test.java, Test.tml
>
>
> I have t:form (form A) with an onSubmit action. This form's submit action 
> triggers an ajax reload. The part of the page that is being reloaded is 
> different to that of form A. The area being reloaded contains another t:form 
> (form B) that must be re-rendered. While it is re-rendering form B it hits an 
> exception at
> org.apache.tapestry5.corelib.components.Form.setupRender(Form.java:330)
> The error is "Form components may not be placed inside other Form 
> components." 
> It seems that there is a check here to see if there is an existing outer 
> enclosing form in the process of being rendered. However the existing form it 
> finds is the form A that is not an enclosing form, it is the form that 
> triggers the submit action. Form A seems to be pushed into the environment on 
> line 503 in the method onAction.
> I have taken a look at the git history here and there doesn't seems to have 
> been any recent changes to this code so I am confused why this issue has 
> begun on my end.
> As such, the result of this bug seems to be that a form's onSubmit action can 
> never trigger the reload of another component that itself contains a form. 
> This seems to be problematic.
> I can take a look at addressing this issue myself but I would appreciate 
> other's more experienced input first before I attempt it.



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


[jira] [Comment Edited] (TAP5-2776) Make page preloading optional in production mode

2024-04-26 Thread Roman Trapickin (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17841159#comment-17841159
 ] 

Roman Trapickin edited comment on TAP5-2776 at 4/26/24 11:18 AM:
-

As promised, here are the code snippets from our Tapestry Spring Boot setup 
(simplified for better readability):
{code:java|title=TapestrySpringBootFilter.java}
@Override
public void init(FilterConfig config) throws ServletException {
  ((ConfigurableApplicationContext) WebApplicationContextUtils
  .getRequiredWebApplicationContext(config.getServletContext()))
  .addBeanFactoryPostProcessor(this::delayedInit);
}
private void delayedInit(ConfigurableListableBeanFactory beanFactory) {
  // ...
  registry.performRegistryStartup();
  appInitializer.announceStartup();
  registry.cleanupThread();
}
// the rest is almost identical to TapestryFilter
{code}
{code:java|title=TapestrySpringBootModuleDef.java}
ObjectProvider springBeanProvider = new ObjectProvider() {
@Override
public  T provide(Class t, AnnotationProvider p, ObjectLocator l) {
  Map beanMap = WebApplicationContextUtils
  .getRequiredWebApplicationContext(servletContext)
  .getBeansOfType(t);
  switch (beanMap.size()) {
case 0:
  return null;
case 1:
  return t.cast(beanMap.values().iterator().next());
// ... 
  }
}
};
// The rest is very similar to SpringModuleDef
{code}

Please let me know if you need any further information.


was (Author: JIRAUSER305242):
As promised, here are the code snippets from our Tapestry Spring Boot setup 
(simplified for better readability):
{code:java|title=TapestrySpringBootFilter.java}
@Override
public void init(FilterConfig filterConfig) throws ServletException {
  ((ConfigurableApplicationContext) WebApplicationContextUtils
  .getRequiredWebApplicationContext(config.getServletContext()))
  .addBeanFactoryPostProcessor(this::delayedInit);
}
private void delayedInit(ConfigurableListableBeanFactory beanFactory) {
  // ...
  registry.performRegistryStartup();
  appInitializer.announceStartup();
  registry.cleanupThread();
}
// the rest is almost identical to TapestryFilter
{code}
{code:java|title=TapestrySpringBootFilter.java}
ObjectProvider springBeanProvider = new ObjectProvider() {
@Override
public  T provide(Class t, AnnotationProvider p, ObjectLocator l) {
  Map beanMap = WebApplicationContextUtils
  .getRequiredWebApplicationContext(servletContext)
  .getBeansOfType(t);
  switch (beanMap.size()) {
case 0:
  return null;
case 1:
  return t.cast(beanMap.values().iterator().next());
// ... 
  }
}
};
{code}

Please let me know if you need any further information.

> Make page preloading optional in production mode
> 
>
> Key: TAP5-2776
> URL: https://issues.apache.org/jira/browse/TAP5-2776
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5, 5.8.6
>Reporter: Roman Trapickin
>Priority: Major
>
> We use Tapestry 5.8.4 and Spring Boot 2.7 in production. To make things work, 
> Tapestry context is initialized by the Spring context, not vice versa as done 
> by {{tapestry-spring}}. This a tricky situation since Tapestry needs Spring 
> beans and Spring beans sometimes need Tapestry beans.
> To solve this problem we exploit Spring's BeanFactoryPostProcessor in order 
> to initialize Tapestry context before Spring beans are evaluated:
> # Start initializing Spring context
> # "Pause" within BeanFactoryPostProcessor and initialize Tapestry context. 
> Tapestry beans do not need fully initialized Spring beans yet.
> # Finish Spring context initialization.
> # Tapestry beans and pages can now inject fully initialized Spring beans.
> I'll provide some code snippets in the comments below.
> TAP5-2772 has changed the preloading behavior in production mode so that 
> Tapestry now eagerly resolves the Spring beans, thus relying on a fully 
> initialized Spring context. Since Spring context init is not finished yet, a 
> good amount of unresolved bean/property exceptions is thrown. Now we cannot 
> break this vicious cycle of both contexts having a need for each other. This 
> problem is not present in development mode.
> I file this issue as a bug since we need the old behavior to be restored in 
> production mode. Alternatively we could introduce a setting for production 
> mode to disable the new preloading feature.



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


[jira] [Updated] (TAP5-2776) Make page preloading optional in production mode

2024-04-26 Thread Roman Trapickin (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roman Trapickin updated TAP5-2776:
--
Description: 
We use Tapestry 5.8.4 and Spring Boot 2.7 in production. To make things work, 
Tapestry context is initialized by the Spring context, not vice versa as done 
by {{tapestry-spring}}. This a tricky situation since Tapestry needs Spring 
beans and Spring beans sometimes need Tapestry beans.

To solve this problem we exploit Spring's BeanFactoryPostProcessor in order to 
initialize Tapestry context before Spring beans are evaluated:
# Start initializing Spring context
# "Pause" within BeanFactoryPostProcessor and initialize Tapestry context. 
Tapestry beans do not need fully initialized Spring beans yet.
# Finish Spring context initialization.
# Tapestry beans and pages can now inject fully initialized Spring beans.

I'll provide some code snippets in the comments below.

TAP5-2772 has changed the preloading behavior in production mode so that 
Tapestry now eagerly resolves the Spring beans, thus relying on a fully 
initialized Spring context. Since Spring context init is not finished yet, a 
good amount of unresolved bean/property exceptions is thrown. Now we cannot 
break this vicious cycle of both contexts having a need for each other. This 
problem is not present in development mode.

I file this issue as a bug since we need the old behavior to be restored in 
production mode. Alternatively we could introduce a setting for production mode 
to disable the new preloading feature.

  was:
We use Tapestry 5.8.4 and Spring Boot 2.7 in production. To make things work, 
Tapestry context is initialized by the Spring context, not vice versa as done 
by {{tapestry-spring}}. This a tricky situation since Tapestry needs Spring 
beans and Spring beans sometimes need Tapestry beans.

To solve this problem we exploit Spring's BeanFactoryPostProcessor in order to 
initialize Tapestry context before Spring beans are evaluated:
# Start initializing Spring context
# "Pause" within BeanFactoryPostProcessor and initialize Tapestry context. 
Tapestry beans do not need fully initialized Spring beans yet.
# Finish Spring context initialization.
# Tapestry beans and pages can now inject fully initialized Spring beans.

I'll provide some code snippets in the comments below.

TAP5-2772 has changed the preloading behavior in production mode so that 
Tapestry now eagerly resolves the Spring beans, thus relying on a fully 
initialized Spring context. Now we cannot break this vicious cycle of both 
contexts having a need for each other. This problem is not present in 
development mode.

I file this issue as a bug since we need the old behavior to be restored in 
production mode. Alternatively we could introduce a setting for production mode 
to disable the new preloading feature.


> Make page preloading optional in production mode
> 
>
> Key: TAP5-2776
> URL: https://issues.apache.org/jira/browse/TAP5-2776
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5, 5.8.6
>Reporter: Roman Trapickin
>Priority: Major
>
> We use Tapestry 5.8.4 and Spring Boot 2.7 in production. To make things work, 
> Tapestry context is initialized by the Spring context, not vice versa as done 
> by {{tapestry-spring}}. This a tricky situation since Tapestry needs Spring 
> beans and Spring beans sometimes need Tapestry beans.
> To solve this problem we exploit Spring's BeanFactoryPostProcessor in order 
> to initialize Tapestry context before Spring beans are evaluated:
> # Start initializing Spring context
> # "Pause" within BeanFactoryPostProcessor and initialize Tapestry context. 
> Tapestry beans do not need fully initialized Spring beans yet.
> # Finish Spring context initialization.
> # Tapestry beans and pages can now inject fully initialized Spring beans.
> I'll provide some code snippets in the comments below.
> TAP5-2772 has changed the preloading behavior in production mode so that 
> Tapestry now eagerly resolves the Spring beans, thus relying on a fully 
> initialized Spring context. Since Spring context init is not finished yet, a 
> good amount of unresolved bean/property exceptions is thrown. Now we cannot 
> break this vicious cycle of both contexts having a need for each other. This 
> problem is not present in development mode.
> I file this issue as a bug since we need the old behavior to be restored in 
> production mode. Alternatively we could introduce a setting for production 
> mode to disable the new preloading feature.



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


[jira] [Commented] (TAP5-2776) Make page preloading optional in production mode

2024-04-26 Thread Roman Trapickin (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17841159#comment-17841159
 ] 

Roman Trapickin commented on TAP5-2776:
---

As promised, here are the code snippets from our Tapestry Spring Boot setup 
(simplified for better readability):
{code:java|title=TapestrySpringBootFilter.java}
@Override
public void init(FilterConfig filterConfig) throws ServletException {
  ((ConfigurableApplicationContext) WebApplicationContextUtils
  .getRequiredWebApplicationContext(config.getServletContext()))
  .addBeanFactoryPostProcessor(this::delayedInit);
}
private void delayedInit(ConfigurableListableBeanFactory beanFactory) {
  // ...
  registry.performRegistryStartup();
  appInitializer.announceStartup();
  registry.cleanupThread();
}
// the rest is almost identical to TapestryFilter
{code}
{code:java|title=TapestrySpringBootFilter.java}
ObjectProvider springBeanProvider = new ObjectProvider() {
@Override
public  T provide(Class t, AnnotationProvider p, ObjectLocator l) {
  Map beanMap = WebApplicationContextUtils
  .getRequiredWebApplicationContext(servletContext)
  .getBeansOfType(t);
  switch (beanMap.size()) {
case 0:
  return null;
case 1:
  return t.cast(beanMap.values().iterator().next());
// ... 
  }
}
};
{code}

Please let me know if you need any further information.

> Make page preloading optional in production mode
> 
>
> Key: TAP5-2776
> URL: https://issues.apache.org/jira/browse/TAP5-2776
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5, 5.8.6
>Reporter: Roman Trapickin
>Priority: Major
>
> We use Tapestry 5.8.4 and Spring Boot 2.7 in production. To make things work, 
> Tapestry context is initialized by the Spring context, not vice versa as done 
> by {{tapestry-spring}}. This a tricky situation since Tapestry needs Spring 
> beans and Spring beans sometimes need Tapestry beans.
> To solve this problem we exploit Spring's BeanFactoryPostProcessor in order 
> to initialize Tapestry context before Spring beans are evaluated:
> # Start initializing Spring context
> # "Pause" within BeanFactoryPostProcessor and initialize Tapestry context. 
> Tapestry beans do not need fully initialized Spring beans yet.
> # Finish Spring context initialization.
> # Tapestry beans and pages can now inject fully initialized Spring beans.
> I'll provide some code snippets in the comments below.
> TAP5-2772 has changed the preloading behavior in production mode so that 
> Tapestry now eagerly resolves the Spring beans, thus relying on a fully 
> initialized Spring context. Now we cannot break this vicious cycle of both 
> contexts having a need for each other. This problem is not present in 
> development mode.
> I file this issue as a bug since we need the old behavior to be restored in 
> production mode. Alternatively we could introduce a setting for production 
> mode to disable the new preloading feature.



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


[jira] [Created] (TAP5-2776) Make page preloading optional in production mode

2024-04-26 Thread Roman Trapickin (Jira)
Roman Trapickin created TAP5-2776:
-

 Summary: Make page preloading optional in production mode
 Key: TAP5-2776
 URL: https://issues.apache.org/jira/browse/TAP5-2776
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.8.6, 5.8.5
Reporter: Roman Trapickin


We use Tapestry 5.8.4 and Spring Boot 2.7 in production. To make things work, 
Tapestry context is initialized by the Spring context, not vice versa as done 
by {{tapestry-spring}}. This a tricky situation since Tapestry needs Spring 
beans and Spring beans sometimes need Tapestry beans.

To solve this problem we exploit Spring's BeanFactoryPostProcessor in order to 
initialize Tapestry context before Spring beans are evaluated:
# Start initializing Spring context
# "Pause" within BeanFactoryPostProcessor and initialize Tapestry context. 
Tapestry beans do not need fully initialized Spring beans yet.
# Finish Spring context initialization.
# Tapestry beans and pages can now inject fully initialized Spring beans.

I'll provide some code snippets in the comments below.

TAP5-2772 has changed the preloading behavior in production mode so that 
Tapestry now eagerly resolves the Spring beans, thus relying on a fully 
initialized Spring context. Now we cannot break this vicious cycle of both 
contexts having a need for each other. This problem is not present in 
development mode.

I file this issue as a bug since we need the old behavior to be restored in 
production mode. Alternatively we could introduce a setting for production mode 
to disable the new preloading feature.



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


[jira] [Commented] (TAP5-2774) Form in form error when forms are not inside one another.

2024-04-23 Thread Maximillian Steinbach (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17840080#comment-17840080
 ] 

Maximillian Steinbach commented on TAP5-2774:
-

Hello Ben,

Thank you for getting back to me. Find attached a tapestry page component and 
it's tml that show the issue. This may seem like a somewhat contrived example 
but it obviously makes more sense in the real context. When you fill something 
into the text box and submit, the error is triggered. It fails on line 38 where 
the partial render occurs.

Thanks,

Max

[^Test.java] [^Test.tml]

> Form in form error when forms are not inside one another.
> -
>
> Key: TAP5-2774
> URL: https://issues.apache.org/jira/browse/TAP5-2774
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.2
>Reporter: Maximillian Steinbach
>Assignee: Ben Weidig
>Priority: Critical
> Attachments: Test.java, Test.tml
>
>
> I have t:form (form A) with an onSubmit action. This form's submit action 
> triggers an ajax reload. The part of the page that is being reloaded is 
> different to that of form A. The area being reloaded contains another t:form 
> (form B) that must be re-rendered. While it is re-rendering form B it hits an 
> exception at
> org.apache.tapestry5.corelib.components.Form.setupRender(Form.java:330)
> The error is "Form components may not be placed inside other Form 
> components." 
> It seems that there is a check here to see if there is an existing outer 
> enclosing form in the process of being rendered. However the existing form it 
> finds is the form A that is not an enclosing form, it is the form that 
> triggers the submit action. Form A seems to be pushed into the environment on 
> line 503 in the method onAction.
> I have taken a look at the git history here and there doesn't seems to have 
> been any recent changes to this code so I am confused why this issue has 
> begun on my end.
> As such, the result of this bug seems to be that a form's onSubmit action can 
> never trigger the reload of another component that itself contains a form. 
> This seems to be problematic.
> I can take a look at addressing this issue myself but I would appreciate 
> other's more experienced input first before I attempt it.



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


[jira] [Updated] (TAP5-2774) Form in form error when forms are not inside one another.

2024-04-23 Thread Maximillian Steinbach (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maximillian Steinbach updated TAP5-2774:

Attachment: Test.tml

> Form in form error when forms are not inside one another.
> -
>
> Key: TAP5-2774
> URL: https://issues.apache.org/jira/browse/TAP5-2774
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.2
>Reporter: Maximillian Steinbach
>Assignee: Ben Weidig
>Priority: Critical
> Attachments: Test.java, Test.tml
>
>
> I have t:form (form A) with an onSubmit action. This form's submit action 
> triggers an ajax reload. The part of the page that is being reloaded is 
> different to that of form A. The area being reloaded contains another t:form 
> (form B) that must be re-rendered. While it is re-rendering form B it hits an 
> exception at
> org.apache.tapestry5.corelib.components.Form.setupRender(Form.java:330)
> The error is "Form components may not be placed inside other Form 
> components." 
> It seems that there is a check here to see if there is an existing outer 
> enclosing form in the process of being rendered. However the existing form it 
> finds is the form A that is not an enclosing form, it is the form that 
> triggers the submit action. Form A seems to be pushed into the environment on 
> line 503 in the method onAction.
> I have taken a look at the git history here and there doesn't seems to have 
> been any recent changes to this code so I am confused why this issue has 
> begun on my end.
> As such, the result of this bug seems to be that a form's onSubmit action can 
> never trigger the reload of another component that itself contains a form. 
> This seems to be problematic.
> I can take a look at addressing this issue myself but I would appreciate 
> other's more experienced input first before I attempt it.



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


[jira] [Updated] (TAP5-2774) Form in form error when forms are not inside one another.

2024-04-23 Thread Maximillian Steinbach (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maximillian Steinbach updated TAP5-2774:

Attachment: Test.java

> Form in form error when forms are not inside one another.
> -
>
> Key: TAP5-2774
> URL: https://issues.apache.org/jira/browse/TAP5-2774
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.2
>Reporter: Maximillian Steinbach
>Assignee: Ben Weidig
>Priority: Critical
> Attachments: Test.java
>
>
> I have t:form (form A) with an onSubmit action. This form's submit action 
> triggers an ajax reload. The part of the page that is being reloaded is 
> different to that of form A. The area being reloaded contains another t:form 
> (form B) that must be re-rendered. While it is re-rendering form B it hits an 
> exception at
> org.apache.tapestry5.corelib.components.Form.setupRender(Form.java:330)
> The error is "Form components may not be placed inside other Form 
> components." 
> It seems that there is a check here to see if there is an existing outer 
> enclosing form in the process of being rendered. However the existing form it 
> finds is the form A that is not an enclosing form, it is the form that 
> triggers the submit action. Form A seems to be pushed into the environment on 
> line 503 in the method onAction.
> I have taken a look at the git history here and there doesn't seems to have 
> been any recent changes to this code so I am confused why this issue has 
> begun on my end.
> As such, the result of this bug seems to be that a form's onSubmit action can 
> never trigger the reload of another component that itself contains a form. 
> This seems to be problematic.
> I can take a look at addressing this issue myself but I would appreciate 
> other's more experienced input first before I attempt it.



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


[jira] [Assigned] (TAP5-2774) Form in form error when forms are not inside one another.

2024-04-22 Thread Ben Weidig (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Weidig reassigned TAP5-2774:


Assignee: Ben Weidig

> Form in form error when forms are not inside one another.
> -
>
> Key: TAP5-2774
> URL: https://issues.apache.org/jira/browse/TAP5-2774
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.2
>Reporter: Maximillian Steinbach
>Assignee: Ben Weidig
>Priority: Critical
>
> I have t:form (form A) with an onSubmit action. This form's submit action 
> triggers an ajax reload. The part of the page that is being reloaded is 
> different to that of form A. The area being reloaded contains another t:form 
> (form B) that must be re-rendered. While it is re-rendering form B it hits an 
> exception at
> org.apache.tapestry5.corelib.components.Form.setupRender(Form.java:330)
> The error is "Form components may not be placed inside other Form 
> components." 
> It seems that there is a check here to see if there is an existing outer 
> enclosing form in the process of being rendered. However the existing form it 
> finds is the form A that is not an enclosing form, it is the form that 
> triggers the submit action. Form A seems to be pushed into the environment on 
> line 503 in the method onAction.
> I have taken a look at the git history here and there doesn't seems to have 
> been any recent changes to this code so I am confused why this issue has 
> begun on my end.
> As such, the result of this bug seems to be that a form's onSubmit action can 
> never trigger the reload of another component that itself contains a form. 
> This seems to be problematic.
> I can take a look at addressing this issue myself but I would appreciate 
> other's more experienced input first before I attempt it.



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


[jira] [Commented] (TAP5-2774) Form in form error when forms are not inside one another.

2024-04-22 Thread Ben Weidig (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839493#comment-17839493
 ] 

Ben Weidig commented on TAP5-2774:
--

I tried to reproduce the issue without success.

Can you provide a rudimentary/stripped-down example?

This is my working setup of a page with a form in a zone that tirggers the 
rerender of another component with a form which is in another zone:
{code:java}
public class FormTest {

@Inject
private Request request;

@Inject
private AjaxResponseRenderer ajax;

@InjectComponent
private Zone outer, rerender;

@OnEvent(EventConstants.SUBMIT)
public Object onSubmit() {
this.ajax.addRender(this.rerender);
return this.outer;
}
}
{code}
{code:xml}
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd;>










{code}
The component containts another t:form

Even though I've seen the "nested form" Exception many times in my own apps, it 
was usually a subsequent issue with a previous Exception already creating an 
inhospitable rendering environment that leads to the additional Exception.
However, it would be nicer to have a more expressive Exception at that point.

> Form in form error when forms are not inside one another.
> -
>
> Key: TAP5-2774
> URL: https://issues.apache.org/jira/browse/TAP5-2774
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.2
>Reporter: Maximillian Steinbach
>Priority: Critical
>
> I have t:form (form A) with an onSubmit action. This form's submit action 
> triggers an ajax reload. The part of the page that is being reloaded is 
> different to that of form A. The area being reloaded contains another t:form 
> (form B) that must be re-rendered. While it is re-rendering form B it hits an 
> exception at
> org.apache.tapestry5.corelib.components.Form.setupRender(Form.java:330)
> The error is "Form components may not be placed inside other Form 
> components." 
> It seems that there is a check here to see if there is an existing outer 
> enclosing form in the process of being rendered. However the existing form it 
> finds is the form A that is not an enclosing form, it is the form that 
> triggers the submit action. Form A seems to be pushed into the environment on 
> line 503 in the method onAction.
> I have taken a look at the git history here and there doesn't seems to have 
> been any recent changes to this code so I am confused why this issue has 
> begun on my end.
> As such, the result of this bug seems to be that a form's onSubmit action can 
> never trigger the reload of another component that itself contains a form. 
> This seems to be problematic.
> I can take a look at addressing this issue myself but I would appreciate 
> other's more experienced input first before I attempt it.



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


[jira] [Commented] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

2024-04-20 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839239#comment-17839239
 ] 

Hudson commented on TAP5-2775:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #102 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/102/])
TAP5-2775: exception in production mode and array parameter (thiago: rev 
bbfd4336f300772b07ccde98a98998cb5f9cca90)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java


> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.7
>
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Commented] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

2024-04-20 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839238#comment-17839238
 ] 

Hudson commented on TAP5-2775:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #12 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/12/])
TAP5-2775: exception in production mode and array parameter (thiago: rev 
3ac943a1b374cef0fa15bb9bd638da68a340c3e8)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java


> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.7
>
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Commented] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

2024-04-20 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839237#comment-17839237
 ] 

Hudson commented on TAP5-2775:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #236 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/236/])
TAP5-2775: exception in production mode and array parameter (thiago: rev 
bbfd4336f300772b07ccde98a98998cb5f9cca90)
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.7
>
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Commented] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

2024-04-20 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839236#comment-17839236
 ] 

Hudson commented on TAP5-2775:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #14 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/14/])
TAP5-2775: exception in production mode and array parameter (thiago: rev 
3ac943a1b374cef0fa15bb9bd638da68a340c3e8)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java


> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.7
>
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Commented] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

2024-04-20 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839235#comment-17839235
 ] 

Hudson commented on TAP5-2775:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#10 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/10/])
TAP5-2775: exception in production mode and array parameter (thiago: rev 
3ac943a1b374cef0fa15bb9bd638da68a340c3e8)
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.7
>
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Commented] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

2024-04-20 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839234#comment-17839234
 ] 

Hudson commented on TAP5-2775:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#12 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/12/])
TAP5-2775: exception in production mode and array parameter (thiago: rev 
3ac943a1b374cef0fa15bb9bd638da68a340c3e8)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java


> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.7
>
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Closed] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

2024-04-20 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo closed TAP5-2775.
-
Fix Version/s: 5.8.7
   Resolution: Fixed

Issue fixed by adding using the non-array class name in PageClassLoaderContext 
when processing an array type (such as 
{{org.apache.tapestry5.corelib.components.Zone[]}}).

> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.7
>
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Commented] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

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


[ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839232#comment-17839232
 ] 

ASF subversion and git services commented on TAP5-2775:
---

Commit bbfd4336f300772b07ccde98a98998cb5f9cca90 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=bbfd4336f ]

TAP5-2775: exception in production mode and array parameter

> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Commented] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

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


[ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17839231#comment-17839231
 ] 

ASF subversion and git services commented on TAP5-2775:
---

Commit 3ac943a1b374cef0fa15bb9bd638da68a340c3e8 in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=3ac943a1b ]

TAP5-2775: exception in production mode and array parameter

> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Assigned] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

2024-04-20 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo reassigned TAP5-2775:
-

Assignee: Thiago Henrique De Paula Figueiredo

> ClassNotFoundException when in production mode and parameter type is array
> --
>
> Key: TAP5-2775
> URL: https://issues.apache.org/jira/browse/TAP5-2775
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.6
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> {code:java}
> public class TestComponent {
> @Parameter
> private Zone[] zones_;
> }
> {code}
> Exception:
> {code:java}
> by: java.lang.ClassNotFoundException: 
> org.apache.tapestry5.corelib.components.Zone[]
>   at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>   at 
> org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
> {code}



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


[jira] [Created] (TAP5-2775) ClassNotFoundException when in production mode and parameter type is array

2024-04-20 Thread Thiago Henrique De Paula Figueiredo (Jira)
Thiago Henrique De Paula Figueiredo created TAP5-2775:
-

 Summary: ClassNotFoundException when in production mode and 
parameter type is array
 Key: TAP5-2775
 URL: https://issues.apache.org/jira/browse/TAP5-2775
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.8.6
Reporter: Thiago Henrique De Paula Figueiredo


{code:java}
public class TestComponent {
@Parameter
private Zone[] zones_;
}
{code}

Exception:

{code:java}
by: java.lang.ClassNotFoundException: 
org.apache.tapestry5.corelib.components.Zone[]
  at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:718)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
  at 
org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:68)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
  at 
org.apache.tapestry5.services.pageload.PageClassLoaderContextManagerImpl.loadClass(PageClassLoaderContextManagerImpl.java:352)
{code}




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


[jira] [Created] (TAP5-2774) Form in form error when forms are not inside one another.

2024-04-17 Thread Maximillian Steinbach (Jira)
Maximillian Steinbach created TAP5-2774:
---

 Summary: Form in form error when forms are not inside one another.
 Key: TAP5-2774
 URL: https://issues.apache.org/jira/browse/TAP5-2774
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.8.2
Reporter: Maximillian Steinbach


I have t:form (form A) with an onSubmit action. This form's submit action 
triggers an ajax reload. The part of the page that is being reloaded is 
different to that of form A. The area being reloaded contains another t:form 
(form B) that must be re-rendered. While it is re-rendering form B it hits an 
exception at

org.apache.tapestry5.corelib.components.Form.setupRender(Form.java:330)

The error is "Form components may not be placed inside other Form components." 

It seems that there is a check here to see if there is an existing outer 
enclosing form in the process of being rendered. However the existing form it 
finds is the form A that is not an enclosing form, it is the form that triggers 
the submit action. Form A seems to be pushed into the environment on line 503 
in the method onAction.

I have taken a look at the git history here and there doesn't seems to have 
been any recent changes to this code so I am confused why this issue has begun 
on my end.

As such, the result of this bug seems to be that a form's onSubmit action can 
never trigger the reload of another component that itself contains a form. This 
seems to be problematic.

I can take a look at addressing this issue myself but I would appreciate 
other's more experienced input first before I attempt it.



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-08 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835151#comment-17835151
 ] 

Hudson commented on TAP5-2773:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#10 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/10/])
TAP5-2773: avoiding an infinite recursion loop (thiago: rev 
7871208a5720b2a80990eb56024d96573df9f349)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-08 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835146#comment-17835146
 ] 

Hudson commented on TAP5-2773:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#8 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/8/])
TAP5-2773: avoiding an infinite recursion loop (thiago: rev 
7871208a5720b2a80990eb56024d96573df9f349)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-08 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835145#comment-17835145
 ] 

Hudson commented on TAP5-2773:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #101 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/101/])
TAP5-2773: avoiding an infinite recursion loop (thiago: rev 
9af6eb9eb5c889768162112ddae7d86fa7b51963)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-08 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835132#comment-17835132
 ] 

Hudson commented on TAP5-2773:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #9 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/9/])
TAP5-2773: avoiding an infinite recursion loop (thiago: rev 
7871208a5720b2a80990eb56024d96573df9f349)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-08 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835128#comment-17835128
 ] 

Hudson commented on TAP5-2773:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #234 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/234/])
TAP5-2773: avoiding an infinite recursion loop (thiago: rev 
9af6eb9eb5c889768162112ddae7d86fa7b51963)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-08 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835124#comment-17835124
 ] 

Hudson commented on TAP5-2773:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #11 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/11/])
TAP5-2773: avoiding an infinite recursion loop (thiago: rev 
7871208a5720b2a80990eb56024d96573df9f349)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

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


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835110#comment-17835110
 ] 

ASF subversion and git services commented on TAP5-2773:
---

Commit 9af6eb9eb5c889768162112ddae7d86fa7b51963 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=9af6eb9eb ]

TAP5-2773: avoiding an infinite recursion loop

> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

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


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835108#comment-17835108
 ] 

ASF subversion and git services commented on TAP5-2773:
---

Commit 7871208a5720b2a80990eb56024d96573df9f349 in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=7871208a5 ]

TAP5-2773: avoiding an infinite recursion loop

> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-06 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17834570#comment-17834570
 ] 

Hudson commented on TAP5-2773:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#7 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/7/])
TAP5-2773: NPE when production mode on and template overrides (thiago: rev 
19bbf35c3fac3358ba1703227fa6023766904eec)
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImplTest.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentTemplateSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplate.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplateImpl.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/base/BaseLayoutPage.tml
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-06 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17834566#comment-17834566
 ] 

Hudson commented on TAP5-2773:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#8 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/8/])
TAP5-2773: NPE when production mode on and template overrides (thiago: rev 
19bbf35c3fac3358ba1703227fa6023766904eec)
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImplTest.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplate.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplateImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/base/BaseLayoutPage.tml
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentTemplateSourceImpl.java


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-06 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17834565#comment-17834565
 ] 

Hudson commented on TAP5-2773:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #99 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/99/])
TAP5-2773: NPE when production mode on and template overrides (thiago: rev 
834c1ab0ba8a3309b5753ee2529774a04e6397d2)
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImplTest.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplateImpl.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplate.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/base/BaseLayoutPage.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentTemplateSourceImpl.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.tml


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-06 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17834563#comment-17834563
 ] 

Hudson commented on TAP5-2773:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #232 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/232/])
TAP5-2773: NPE when production mode on and template overrides (thiago: rev 
834c1ab0ba8a3309b5753ee2529774a04e6397d2)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentTemplateSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplate.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImplTest.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/base/BaseLayoutPage.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplateImpl.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.tml


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-06 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17834562#comment-17834562
 ] 

Hudson commented on TAP5-2773:
--

SUCCESS: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #7 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/7/])
TAP5-2773: NPE when production mode on and template overrides (thiago: rev 
19bbf35c3fac3358ba1703227fa6023766904eec)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentTemplateSourceImpl.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImplTest.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplate.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplateImpl.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.tml
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/base/BaseLayoutPage.tml
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-06 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17834561#comment-17834561
 ] 

Hudson commented on TAP5-2773:
--

SUCCESS: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #9 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/9/])
TAP5-2773: NPE when production mode on and template overrides (thiago: rev 
19bbf35c3fac3358ba1703227fa6023766904eec)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplateImpl.java
* (edit) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/base/BaseLayoutPage.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/parser/ComponentTemplate.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentTemplateSourceImpl.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImplTest.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/components/SubclassWithImport.tml


> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Closed] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-06 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo closed TAP5-2773.
-
Fix Version/s: 5.8.6
 Assignee: Thiago Henrique De Paula Figueiredo
   Resolution: Fixed

Issue caused by the ComponentDependencyRegistry.register(Class) not processing 
dependencies inside  and .

> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.6
>
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

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


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17834551#comment-17834551
 ] 

ASF subversion and git services commented on TAP5-2773:
---

Commit 19bbf35c3fac3358ba1703227fa6023766904eec in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=19bbf35c3 ]

TAP5-2773: NPE when production mode on and template overrides

> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Commented] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

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


[ 
https://issues.apache.org/jira/browse/TAP5-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17834552#comment-17834552
 ] 

ASF subversion and git services commented on TAP5-2773:
---

Commit 834c1ab0ba8a3309b5753ee2529774a04e6397d2 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=834c1ab0b ]

TAP5-2773: NPE when production mode on and template overrides

> NullPointerException in 5.8.5 when in production mode and template extension 
> points
> ---
>
> Key: TAP5-2773
> URL: https://issues.apache.org/jira/browse/TAP5-2773
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.5
>Reporter: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
> Failure creating embedded component 'componentB' of de 
> ui.components.Index: org.apache.tapestry5.ioc.internal.OperationException [at 
> classpath:de/.../ui/components/index.tml, line 6]
>   at 
> org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)
>   at 
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)
> Caused by: org.apache.tapestry5.ioc.internal.OperationException
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)
>   at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)
>   at 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)
> public class ComponentA extends CompentB { ... }
> public class abstract ComponentB { ... }
> ComponentA.tml
> 
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   xxx
> 
> ComponentB.tml
>  
> http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
> xmlns:p="tapestry:parameter">
>   ...
>   
>   ...
> 



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


[jira] [Created] (TAP5-2773) NullPointerException in 5.8.5 when in production mode and template extension points

2024-04-06 Thread Thiago Henrique De Paula Figueiredo (Jira)
Thiago Henrique De Paula Figueiredo created TAP5-2773:
-

 Summary: NullPointerException in 5.8.5 when in production mode and 
template extension points
 Key: TAP5-2773
 URL: https://issues.apache.org/jira/browse/TAP5-2773
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.8.5
Reporter: Thiago Henrique De Paula Figueiredo


Caused by: org.apache.tapestry5.commons.internal.util.TapestryException: 
Failure creating embedded component 'componentB' of de ui.components.Index: 
org.apache.tapestry5.ioc.internal.OperationException [at 
classpath:de/.../ui/components/index.tml, line 6]

at 
org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.createEmbeddedAssembler(ComponentAssemblerImpl.java:333)

at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:819)



Caused by: org.apache.tapestry5.ioc.internal.OperationException

at 
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:196)

at 
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.handleRuntimeException(OperationTrackerImpl.java:138)

at 
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)



Caused by: java.lang.NullPointerException

at 
org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:532)

at 
org.apache.tapestry5.internal.plastic.PlasticClassPool.getPlasticClassTransformation(PlasticClassPool.java:492)

at 
org.apache.tapestry5.internal.plastic.PlasticClassPool.loadAndTransformClass(PlasticClassPool.java:399)

at 
org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:59)

public class ComponentA extends CompentB { ... }

public class abstract ComponentB { ... }

ComponentA.tml



http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
xmlns:p="tapestry:parameter">

xxx


ComponentB.tml

 

http://tapestry.apache.org/schema/tapestry_5_4.xsd; 
xmlns:p="tapestry:parameter">

...



...





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


[jira] [Commented] (TAP5-2771) Upgrade to Spock 2.3

2024-03-25 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830367#comment-17830367
 ] 

Hudson commented on TAP5-2771:
--

SUCCESS: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #5 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/5/])
TAP5-2771: Upgrade to Spock 2.3 (#47) (thiago: rev 
3e751953f26552497017f8113076e6039116b6cd)
* (edit) build.gradle


> Upgrade to Spock 2.3
> 
>
> Key: TAP5-2771
> URL: https://issues.apache.org/jira/browse/TAP5-2771
> Project: Tapestry 5
>  Issue Type: Dependency upgrade
>  Components: tapestry-spock
>Reporter: Volker Lamp
>Assignee: Volker Lamp
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Commented] (TAP5-2771) Upgrade to Spock 2.3

2024-03-25 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830363#comment-17830363
 ] 

Hudson commented on TAP5-2771:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #6 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/6/])
TAP5-2771: Upgrade to Spock 2.3 (#47) (thiago: rev 
3e751953f26552497017f8113076e6039116b6cd)
* (edit) build.gradle


> Upgrade to Spock 2.3
> 
>
> Key: TAP5-2771
> URL: https://issues.apache.org/jira/browse/TAP5-2771
> Project: Tapestry 5
>  Issue Type: Dependency upgrade
>  Components: tapestry-spock
>Reporter: Volker Lamp
>Assignee: Volker Lamp
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Commented] (TAP5-2771) Upgrade to Spock 2.3

2024-03-24 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830347#comment-17830347
 ] 

Hudson commented on TAP5-2771:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#5 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/5/])
TAP5-2771: Upgrade to Spock 2.3 (#47) (thiago: rev 
3e751953f26552497017f8113076e6039116b6cd)
* (edit) build.gradle


> Upgrade to Spock 2.3
> 
>
> Key: TAP5-2771
> URL: https://issues.apache.org/jira/browse/TAP5-2771
> Project: Tapestry 5
>  Issue Type: Dependency upgrade
>  Components: tapestry-spock
>Reporter: Volker Lamp
>Assignee: Volker Lamp
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Commented] (TAP5-2771) Upgrade to Spock 2.3

2024-03-24 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830345#comment-17830345
 ] 

Hudson commented on TAP5-2771:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#5 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/5/])
TAP5-2771: Upgrade to Spock 2.3 (#47) (thiago: rev 
3e751953f26552497017f8113076e6039116b6cd)
* (edit) build.gradle


> Upgrade to Spock 2.3
> 
>
> Key: TAP5-2771
> URL: https://issues.apache.org/jira/browse/TAP5-2771
> Project: Tapestry 5
>  Issue Type: Dependency upgrade
>  Components: tapestry-spock
>Reporter: Volker Lamp
>Assignee: Volker Lamp
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Commented] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830342#comment-17830342
 ] 

Hudson commented on TAP5-2772:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #231 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/231/])
TAP5-2772: ClassCastException sometimes when in production mode (thiago: rev 
5c719e3f05dc3a206516658d4ad6781902b3aa98)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/PageLoadModule.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.5
>
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Commented] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830340#comment-17830340
 ] 

Hudson commented on TAP5-2772:
--

SUCCESS: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #4 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/4/])
TAP5-2772: ClassCastException sometimes when in production mode (thiago: rev 
2081603eb695b35eec1a55fffa48d3ae9a881657)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/PageLoadModule.java


> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.5
>
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Commented] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830337#comment-17830337
 ] 

Hudson commented on TAP5-2772:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #5 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/5/])
TAP5-2772: ClassCastException sometimes when in production mode (thiago: rev 
2081603eb695b35eec1a55fffa48d3ae9a881657)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/PageLoadModule.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java


> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.5
>
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Commented] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830336#comment-17830336
 ] 

Hudson commented on TAP5-2772:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#4 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/4/])
TAP5-2772: ClassCastException sometimes when in production mode (thiago: rev 
2081603eb695b35eec1a55fffa48d3ae9a881657)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/PageLoadModule.java


> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.5
>
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Commented] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830322#comment-17830322
 ] 

Hudson commented on TAP5-2772:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #97 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/97/])
TAP5-2772: ClassCastException sometimes when in production mode (thiago: rev 
5c719e3f05dc3a206516658d4ad6781902b3aa98)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/PageLoadModule.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.5
>
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Commented] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830323#comment-17830323
 ] 

Hudson commented on TAP5-2772:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#4 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/4/])
TAP5-2772: ClassCastException sometimes when in production mode (thiago: rev 
2081603eb695b35eec1a55fffa48d3ae9a881657)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/PageLoadModule.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.5
>
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Commented] (TAP5-2771) Upgrade to Spock 2.3

2024-03-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830319#comment-17830319
 ] 

ASF subversion and git services commented on TAP5-2771:
---

Commit 3e751953f26552497017f8113076e6039116b6cd in tapestry-5's branch 
refs/heads/javax from Volker Lamp
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=3e751953f ]

TAP5-2771: Upgrade to Spock 2.3 (#47)


> Upgrade to Spock 2.3
> 
>
> Key: TAP5-2771
> URL: https://issues.apache.org/jira/browse/TAP5-2771
> Project: Tapestry 5
>  Issue Type: Dependency upgrade
>  Components: tapestry-spock
>Reporter: Volker Lamp
>Assignee: Volker Lamp
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Closed] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo closed TAP5-2772.
-
Fix Version/s: 5.8.5
   Resolution: Fixed

> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.5
>
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Commented] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830315#comment-17830315
 ] 

ASF subversion and git services commented on TAP5-2772:
---

Commit 5c719e3f05dc3a206516658d4ad6781902b3aa98 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=5c719e3f0 ]

TAP5-2772: ClassCastException sometimes when in production mode

> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Commented] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17830316#comment-17830316
 ] 

ASF subversion and git services commented on TAP5-2772:
---

Commit 2081603eb695b35eec1a55fffa48d3ae9a881657 in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=2081603eb ]

TAP5-2772: ClassCastException sometimes when in production mode

> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.5
>
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Assigned] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo reassigned TAP5-2772:
-

Assignee: Thiago Henrique De Paula Figueiredo

> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Updated] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo updated TAP5-2772:
--
Description: 
In some cases, which we didn't discover which ones yet, you can have a 
ClassCastException like this:

 java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be cast 
to class com.example.pages.SomePage (com.example.pages.SomePage is in unnamed 
module of loader com.example.pages.SomePage @35a6e774; 
com.example.pages.SomePage is in unnamed module of loader 
org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
$InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
$InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)


  was:
In some cases, which we didn't discover which ones yet, you can have a 
ClassCastException like this:

{noformat}
 java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be cast 
to class com.example.pages.SomePage (com.example.pages.SomePage is in unnamed 
module of loader com.example.pages.SomePage @35a6e774; 
com.example.pages.SomePage is in unnamed module of loader 
org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
$InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
$InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)
{noformat}



> ClassCastException happening in some cases in production mode
> -
>
> Key: TAP5-2772
> URL: https://issues.apache.org/jira/browse/TAP5-2772
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3, 5.8.4
>Reporter: Thiago Henrique De Paula Figueiredo
>Priority: Major
>
> In some cases, which we didn't discover which ones yet, you can have a 
> ClassCastException like this:
>  java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be 
> cast to class com.example.pages.SomePage (com.example.pages.SomePage is in 
> unnamed module of loader com.example.pages.SomePage @35a6e774; 
> com.example.pages.SomePage is in unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
> $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
> $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
> org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)



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


[jira] [Created] (TAP5-2772) ClassCastException happening in some cases in production mode

2024-03-24 Thread Thiago Henrique De Paula Figueiredo (Jira)
Thiago Henrique De Paula Figueiredo created TAP5-2772:
-

 Summary: ClassCastException happening in some cases in production 
mode
 Key: TAP5-2772
 URL: https://issues.apache.org/jira/browse/TAP5-2772
 Project: Tapestry 5
  Issue Type: Bug
  Components: tapestry-core
Affects Versions: 5.8.4, 5.8.3
Reporter: Thiago Henrique De Paula Figueiredo


In some cases, which we didn't discover which ones yet, you can have a 
ClassCastException like this:

{noformat}
 java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be cast 
to class com.example.pages.SomePage (com.example.pages.SomePage is in unnamed 
module of loader com.example.pages.SomePage @35a6e774; 
com.example.pages.SomePage is in unnamed module of loader 
org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at 
$InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at 
$InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at 
org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)
{noformat}




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


[jira] [Closed] (TAP5-2741) Update to Jakarta EE 9

2024-03-24 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo closed TAP5-2741.
-
Fix Version/s: 5.50.0
   Resolution: Fixed

> Update to Jakarta EE 9
> --
>
> Key: TAP5-2741
> URL: https://issues.apache.org/jira/browse/TAP5-2741
> Project: Tapestry 5
>  Issue Type: Dependency upgrade
>Reporter: Christian Köberl
>Assignee: Volker Lamp
>Priority: Major
> Fix For: 5.50.0
>
>  Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Tomcat and Jetty will only support Jakarta EE in their new versions. 
> Tapestry should also switch to the new APIs to support the new versions of 
> the Servlet containers.



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


[jira] [Commented] (TAP5-2771) Upgrade to Spock 2.3

2024-03-15 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17827455#comment-17827455
 ] 

Hudson commented on TAP5-2771:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #230 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/230/])
TAP5-2771: Upgrade to Spock 2.3 (#47) (github: rev 
6637b7ea056dd5ff9d03447294c74ed60949f6e1)
* (edit) build.gradle
* (edit) .github/workflows/build-pull-request.yaml


> Upgrade to Spock 2.3
> 
>
> Key: TAP5-2771
> URL: https://issues.apache.org/jira/browse/TAP5-2771
> Project: Tapestry 5
>  Issue Type: Dependency upgrade
>  Components: tapestry-spock
>Reporter: Volker Lamp
>Assignee: Volker Lamp
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Commented] (TAP5-2771) Upgrade to Spock 2.3

2024-03-15 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17827408#comment-17827408
 ] 

Hudson commented on TAP5-2771:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #95 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/95/])
TAP5-2771: Upgrade to Spock 2.3 (#47) (github: rev 
6637b7ea056dd5ff9d03447294c74ed60949f6e1)
* (edit) .github/workflows/build-pull-request.yaml
* (edit) build.gradle


> Upgrade to Spock 2.3
> 
>
> Key: TAP5-2771
> URL: https://issues.apache.org/jira/browse/TAP5-2771
> Project: Tapestry 5
>  Issue Type: Dependency upgrade
>  Components: tapestry-spock
>Reporter: Volker Lamp
>Assignee: Volker Lamp
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Commented] (TAP5-2771) Upgrade to Spock 2.3

2024-03-14 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/TAP5-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17827378#comment-17827378
 ] 

ASF subversion and git services commented on TAP5-2771:
---

Commit 6637b7ea056dd5ff9d03447294c74ed60949f6e1 in tapestry-5's branch 
refs/heads/master from Volker Lamp
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=6637b7ea0 ]

TAP5-2771: Upgrade to Spock 2.3 (#47)

* TAP5-2771: Upgrade to Spock 2.3

* Removed Java 8 from setup.

> Upgrade to Spock 2.3
> 
>
> Key: TAP5-2771
> URL: https://issues.apache.org/jira/browse/TAP5-2771
> Project: Tapestry 5
>  Issue Type: Dependency upgrade
>  Components: tapestry-spock
>Reporter: Volker Lamp
>Assignee: Volker Lamp
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


  1   2   3   4   5   6   7   8   9   10   >