[PR] build(deps): bump com.google.guava:guava from 33.0.0-jre to 33.1.0-jre [myfaces-tobago]

2024-03-14 Thread via GitHub


dependabot[bot] opened a new pull request, #4959:
URL: https://github.com/apache/myfaces-tobago/pull/4959

   Bumps [com.google.guava:guava](https://github.com/google/guava) from 
33.0.0-jre to 33.1.0-jre.
   
   Release notes
   Sourced from https://github.com/google/guava/releases;>com.google.guava:guava's 
releases.
   
   33.1.0
   Request for Android users
   If you know of Guava Android users who have not yet upgraded to at least 
the previous release https://github.com/google/guava/releases/tag/v33.0.0;>33.0.0, please 
encourage them to do so. Starting with that version, we are experimenting with 
including Java 8+ APIs in guava-android. Before we commit to 
adding such APIs, we want as much testing as we can get: If we later expose a 
set of Java 8+ APIs and then discover that they break users, we won't want to 
remove them, as the removal would break users, too.
   Maven
   dependency
 groupIdcom.google.guava/groupId
 artifactIdguava/artifactId
 version33.1.0-jre/version
 !-- or, for Android: --
 version33.1.0-android/version
   /dependency
   
   Jar files
   
   https://repo1.maven.org/maven2/com/google/guava/guava/33.1.0-jre/guava-33.1.0-jre.jar;>33.1.0-jre.jar
   https://repo1.maven.org/maven2/com/google/guava/guava/33.1.0-android/guava-33.1.0-android.jar;>33.1.0-android.jar
   
   Guava requires https://github.com/google/guava/wiki/UseGuavaInYourBuild#what-about-guavas-own-dependencies;>one
 runtime dependency, which you can download here:
   
   https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar;>failureaccess-1.0.1.jar
   
   Javadoc
   
   http://guava.dev/releases/33.1.0-jre/api/docs/;>33.1.0-jre
   http://guava.dev/releases/33.1.0-android/api/docs/;>33.1.0-android
   
   JDiff
   
   http://guava.dev/releases/33.1.0-jre/api/diffs/;>33.1.0-jre vs. 
33.0.0-jre
   http://guava.dev/releases/33.1.0-android/api/diffs/;>33.1.0-android vs. 
33.0.0-android
   http://guava.dev/releases/33.1.0-android/api/androiddiffs/;>33.1.0-android
 vs. 33.1.0-jre
   
   Changelog
   
   Updated our Error Prone dependency to 2.26.1, which includes a 
JPMS-ready jar of annotations. If you use the Error Prone annotations in a 
modular build of your own code, you may need to https://github.com/google/error-prone/releases/tag/v2.26.1;>add a 
requires line for them. (d48c6dfbb8, 
c6e91c498ced26631029d1bdfdb9154d4a217368)
   base: Added a Duration overload for 
Suppliers.memoizeWithExpiration. (76e46ec35b)
   base: Deprecated the remaining two overloads of 
Throwables.propagateIfPossible. They won't be deleted, but we 
recommend migrating off them. (cf86414a87)
   cache: Fixed a bug that could cause https://redirect.github.com/google/guava/pull/6851#issuecomment-1931276822;>false
 recursive load reports during refresh. (0e1aebf73e)
   graph: Changed the return types of 
transitiveClosure() and reachableNodes() to 
Immutable* types. reachableNodes() already returned 
an immutable object (even though that was not reflected in the declared return 
type); transitiveClosure() used to return a mutable object. The 
old signatures remain available, so this change does not break binary 
compatibility. (09e655f6c1)
   graph: Changed the behavior of views returned by graph 
accessor methods that take a graph element as input: They now throw 
IllegalStateException when that element is removed from the graph. 
(8dca776341)
   hash: Optimized Checksum-based hash functions 
for Java 9+. (afb35a5d1b)
   testing: Exposed FakeTicker 
Duration methods to Android users. (f346bbb6a7)
   util.concurrent: Deprecated the constructors of 
UncheckedExecutionException and ExecutionError that 
don't accept a cause. We won't remove these constructors, but we recommend 
migrating off them, as users of those classes often assume that instances will 
contain a cause. (1bb3c4386b)
   util.concurrent: Improved the correctness of racy accesses 
for J2ObjC users. (d3232b71ce)
   
   
   
   
   Commits
   
   See full diff in https://github.com/google/guava/commits;>compare view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.guava:guava=maven=33.0.0-jre=33.1.0-jre)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - 

[PR] build(deps): bump com.google.guava:guava from 33.0.0-jre to 33.1.0-jre [myfaces-tobago]

2024-03-14 Thread via GitHub


dependabot[bot] opened a new pull request, #4958:
URL: https://github.com/apache/myfaces-tobago/pull/4958

   Bumps [com.google.guava:guava](https://github.com/google/guava) from 
33.0.0-jre to 33.1.0-jre.
   
   Release notes
   Sourced from https://github.com/google/guava/releases;>com.google.guava:guava's 
releases.
   
   33.1.0
   Request for Android users
   If you know of Guava Android users who have not yet upgraded to at least 
the previous release https://github.com/google/guava/releases/tag/v33.0.0;>33.0.0, please 
encourage them to do so. Starting with that version, we are experimenting with 
including Java 8+ APIs in guava-android. Before we commit to 
adding such APIs, we want as much testing as we can get: If we later expose a 
set of Java 8+ APIs and then discover that they break users, we won't want to 
remove them, as the removal would break users, too.
   Maven
   dependency
 groupIdcom.google.guava/groupId
 artifactIdguava/artifactId
 version33.1.0-jre/version
 !-- or, for Android: --
 version33.1.0-android/version
   /dependency
   
   Jar files
   
   https://repo1.maven.org/maven2/com/google/guava/guava/33.1.0-jre/guava-33.1.0-jre.jar;>33.1.0-jre.jar
   https://repo1.maven.org/maven2/com/google/guava/guava/33.1.0-android/guava-33.1.0-android.jar;>33.1.0-android.jar
   
   Guava requires https://github.com/google/guava/wiki/UseGuavaInYourBuild#what-about-guavas-own-dependencies;>one
 runtime dependency, which you can download here:
   
   https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar;>failureaccess-1.0.1.jar
   
   Javadoc
   
   http://guava.dev/releases/33.1.0-jre/api/docs/;>33.1.0-jre
   http://guava.dev/releases/33.1.0-android/api/docs/;>33.1.0-android
   
   JDiff
   
   http://guava.dev/releases/33.1.0-jre/api/diffs/;>33.1.0-jre vs. 
33.0.0-jre
   http://guava.dev/releases/33.1.0-android/api/diffs/;>33.1.0-android vs. 
33.0.0-android
   http://guava.dev/releases/33.1.0-android/api/androiddiffs/;>33.1.0-android
 vs. 33.1.0-jre
   
   Changelog
   
   Updated our Error Prone dependency to 2.26.1, which includes a 
JPMS-ready jar of annotations. If you use the Error Prone annotations in a 
modular build of your own code, you may need to https://github.com/google/error-prone/releases/tag/v2.26.1;>add a 
requires line for them. (d48c6dfbb8, 
c6e91c498ced26631029d1bdfdb9154d4a217368)
   base: Added a Duration overload for 
Suppliers.memoizeWithExpiration. (76e46ec35b)
   base: Deprecated the remaining two overloads of 
Throwables.propagateIfPossible. They won't be deleted, but we 
recommend migrating off them. (cf86414a87)
   cache: Fixed a bug that could cause https://redirect.github.com/google/guava/pull/6851#issuecomment-1931276822;>false
 recursive load reports during refresh. (0e1aebf73e)
   graph: Changed the return types of 
transitiveClosure() and reachableNodes() to 
Immutable* types. reachableNodes() already returned 
an immutable object (even though that was not reflected in the declared return 
type); transitiveClosure() used to return a mutable object. The 
old signatures remain available, so this change does not break binary 
compatibility. (09e655f6c1)
   graph: Changed the behavior of views returned by graph 
accessor methods that take a graph element as input: They now throw 
IllegalStateException when that element is removed from the graph. 
(8dca776341)
   hash: Optimized Checksum-based hash functions 
for Java 9+. (afb35a5d1b)
   testing: Exposed FakeTicker 
Duration methods to Android users. (f346bbb6a7)
   util.concurrent: Deprecated the constructors of 
UncheckedExecutionException and ExecutionError that 
don't accept a cause. We won't remove these constructors, but we recommend 
migrating off them, as users of those classes often assume that instances will 
contain a cause. (1bb3c4386b)
   util.concurrent: Improved the correctness of racy accesses 
for J2ObjC users. (d3232b71ce)
   
   
   
   
   Commits
   
   See full diff in https://github.com/google/guava/commits;>compare view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.guava:guava=maven=33.0.0-jre=33.1.0-jre)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - 

[PR] build(deps): bump com.google.guava:guava from 33.0.0-jre to 33.1.0-jre [myfaces-tobago]

2024-03-14 Thread via GitHub


dependabot[bot] opened a new pull request, #4957:
URL: https://github.com/apache/myfaces-tobago/pull/4957

   Bumps [com.google.guava:guava](https://github.com/google/guava) from 
33.0.0-jre to 33.1.0-jre.
   
   Release notes
   Sourced from https://github.com/google/guava/releases;>com.google.guava:guava's 
releases.
   
   33.1.0
   Request for Android users
   If you know of Guava Android users who have not yet upgraded to at least 
the previous release https://github.com/google/guava/releases/tag/v33.0.0;>33.0.0, please 
encourage them to do so. Starting with that version, we are experimenting with 
including Java 8+ APIs in guava-android. Before we commit to 
adding such APIs, we want as much testing as we can get: If we later expose a 
set of Java 8+ APIs and then discover that they break users, we won't want to 
remove them, as the removal would break users, too.
   Maven
   dependency
 groupIdcom.google.guava/groupId
 artifactIdguava/artifactId
 version33.1.0-jre/version
 !-- or, for Android: --
 version33.1.0-android/version
   /dependency
   
   Jar files
   
   https://repo1.maven.org/maven2/com/google/guava/guava/33.1.0-jre/guava-33.1.0-jre.jar;>33.1.0-jre.jar
   https://repo1.maven.org/maven2/com/google/guava/guava/33.1.0-android/guava-33.1.0-android.jar;>33.1.0-android.jar
   
   Guava requires https://github.com/google/guava/wiki/UseGuavaInYourBuild#what-about-guavas-own-dependencies;>one
 runtime dependency, which you can download here:
   
   https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar;>failureaccess-1.0.1.jar
   
   Javadoc
   
   http://guava.dev/releases/33.1.0-jre/api/docs/;>33.1.0-jre
   http://guava.dev/releases/33.1.0-android/api/docs/;>33.1.0-android
   
   JDiff
   
   http://guava.dev/releases/33.1.0-jre/api/diffs/;>33.1.0-jre vs. 
33.0.0-jre
   http://guava.dev/releases/33.1.0-android/api/diffs/;>33.1.0-android vs. 
33.0.0-android
   http://guava.dev/releases/33.1.0-android/api/androiddiffs/;>33.1.0-android
 vs. 33.1.0-jre
   
   Changelog
   
   Updated our Error Prone dependency to 2.26.1, which includes a 
JPMS-ready jar of annotations. If you use the Error Prone annotations in a 
modular build of your own code, you may need to https://github.com/google/error-prone/releases/tag/v2.26.1;>add a 
requires line for them. (d48c6dfbb8, 
c6e91c498ced26631029d1bdfdb9154d4a217368)
   base: Added a Duration overload for 
Suppliers.memoizeWithExpiration. (76e46ec35b)
   base: Deprecated the remaining two overloads of 
Throwables.propagateIfPossible. They won't be deleted, but we 
recommend migrating off them. (cf86414a87)
   cache: Fixed a bug that could cause https://redirect.github.com/google/guava/pull/6851#issuecomment-1931276822;>false
 recursive load reports during refresh. (0e1aebf73e)
   graph: Changed the return types of 
transitiveClosure() and reachableNodes() to 
Immutable* types. reachableNodes() already returned 
an immutable object (even though that was not reflected in the declared return 
type); transitiveClosure() used to return a mutable object. The 
old signatures remain available, so this change does not break binary 
compatibility. (09e655f6c1)
   graph: Changed the behavior of views returned by graph 
accessor methods that take a graph element as input: They now throw 
IllegalStateException when that element is removed from the graph. 
(8dca776341)
   hash: Optimized Checksum-based hash functions 
for Java 9+. (afb35a5d1b)
   testing: Exposed FakeTicker 
Duration methods to Android users. (f346bbb6a7)
   util.concurrent: Deprecated the constructors of 
UncheckedExecutionException and ExecutionError that 
don't accept a cause. We won't remove these constructors, but we recommend 
migrating off them, as users of those classes often assume that instances will 
contain a cause. (1bb3c4386b)
   util.concurrent: Improved the correctness of racy accesses 
for J2ObjC users. (d3232b71ce)
   
   
   
   
   Commits
   
   See full diff in https://github.com/google/guava/commits;>compare view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.guava:guava=maven=33.0.0-jre=33.1.0-jre)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - 

[PR] build(deps): bump com.google.guava:guava from 33.0.0-jre to 33.1.0-jre [myfaces-tobago]

2024-03-14 Thread via GitHub


dependabot[bot] opened a new pull request, #4956:
URL: https://github.com/apache/myfaces-tobago/pull/4956

   Bumps [com.google.guava:guava](https://github.com/google/guava) from 
33.0.0-jre to 33.1.0-jre.
   
   Release notes
   Sourced from https://github.com/google/guava/releases;>com.google.guava:guava's 
releases.
   
   33.1.0
   Request for Android users
   If you know of Guava Android users who have not yet upgraded to at least 
the previous release https://github.com/google/guava/releases/tag/v33.0.0;>33.0.0, please 
encourage them to do so. Starting with that version, we are experimenting with 
including Java 8+ APIs in guava-android. Before we commit to 
adding such APIs, we want as much testing as we can get: If we later expose a 
set of Java 8+ APIs and then discover that they break users, we won't want to 
remove them, as the removal would break users, too.
   Maven
   dependency
 groupIdcom.google.guava/groupId
 artifactIdguava/artifactId
 version33.1.0-jre/version
 !-- or, for Android: --
 version33.1.0-android/version
   /dependency
   
   Jar files
   
   https://repo1.maven.org/maven2/com/google/guava/guava/33.1.0-jre/guava-33.1.0-jre.jar;>33.1.0-jre.jar
   https://repo1.maven.org/maven2/com/google/guava/guava/33.1.0-android/guava-33.1.0-android.jar;>33.1.0-android.jar
   
   Guava requires https://github.com/google/guava/wiki/UseGuavaInYourBuild#what-about-guavas-own-dependencies;>one
 runtime dependency, which you can download here:
   
   https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar;>failureaccess-1.0.1.jar
   
   Javadoc
   
   http://guava.dev/releases/33.1.0-jre/api/docs/;>33.1.0-jre
   http://guava.dev/releases/33.1.0-android/api/docs/;>33.1.0-android
   
   JDiff
   
   http://guava.dev/releases/33.1.0-jre/api/diffs/;>33.1.0-jre vs. 
33.0.0-jre
   http://guava.dev/releases/33.1.0-android/api/diffs/;>33.1.0-android vs. 
33.0.0-android
   http://guava.dev/releases/33.1.0-android/api/androiddiffs/;>33.1.0-android
 vs. 33.1.0-jre
   
   Changelog
   
   Updated our Error Prone dependency to 2.26.1, which includes a 
JPMS-ready jar of annotations. If you use the Error Prone annotations in a 
modular build of your own code, you may need to https://github.com/google/error-prone/releases/tag/v2.26.1;>add a 
requires line for them. (d48c6dfbb8, 
c6e91c498ced26631029d1bdfdb9154d4a217368)
   base: Added a Duration overload for 
Suppliers.memoizeWithExpiration. (76e46ec35b)
   base: Deprecated the remaining two overloads of 
Throwables.propagateIfPossible. They won't be deleted, but we 
recommend migrating off them. (cf86414a87)
   cache: Fixed a bug that could cause https://redirect.github.com/google/guava/pull/6851#issuecomment-1931276822;>false
 recursive load reports during refresh. (0e1aebf73e)
   graph: Changed the return types of 
transitiveClosure() and reachableNodes() to 
Immutable* types. reachableNodes() already returned 
an immutable object (even though that was not reflected in the declared return 
type); transitiveClosure() used to return a mutable object. The 
old signatures remain available, so this change does not break binary 
compatibility. (09e655f6c1)
   graph: Changed the behavior of views returned by graph 
accessor methods that take a graph element as input: They now throw 
IllegalStateException when that element is removed from the graph. 
(8dca776341)
   hash: Optimized Checksum-based hash functions 
for Java 9+. (afb35a5d1b)
   testing: Exposed FakeTicker 
Duration methods to Android users. (f346bbb6a7)
   util.concurrent: Deprecated the constructors of 
UncheckedExecutionException and ExecutionError that 
don't accept a cause. We won't remove these constructors, but we recommend 
migrating off them, as users of those classes often assume that instances will 
contain a cause. (1bb3c4386b)
   util.concurrent: Improved the correctness of racy accesses 
for J2ObjC users. (d3232b71ce)
   
   
   
   
   Commits
   
   See full diff in https://github.com/google/guava/commits;>compare view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.guava:guava=maven=33.0.0-jre=33.1.0-jre)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - 

[PR] build(deps): bump spring.version from 5.3.32 to 5.3.33 [myfaces-tobago]

2024-03-14 Thread via GitHub


dependabot[bot] opened a new pull request, #4955:
URL: https://github.com/apache/myfaces-tobago/pull/4955

   Bumps `spring.version` from 5.3.32 to 5.3.33.
   Updates `org.springframework:spring-core` from 5.3.32 to 5.3.33
   
   Release notes
   Sourced from https://github.com/spring-projects/spring-framework/releases;>org.springframework:spring-core's
 releases.
   
   v5.3.33
   :star: New Features
   
   Extract reusable method for URI validations https://redirect.github.com/spring-projects/spring-framework/issues/32442;>#32442
   Allow UriTemplate to be built with an empty template https://redirect.github.com/spring-projects/spring-framework/issues/32438;>#32438
   Refine *HttpMessageConverter#getContentLength return value 
null safety https://redirect.github.com/spring-projects/spring-framework/issues/32332;>#32332
   
   :lady_beetle: Bug Fixes
   
   AopUtils.getMostSpecificMethod does not return original method for 
proxy-derived method anymore https://redirect.github.com/spring-projects/spring-framework/issues/32369;>#32369
   Better protect against concurrent error handling for async requests https://redirect.github.com/spring-projects/spring-framework/issues/32342;>#32342
   Restore Jetty 10 compatibility in JettyClientHttpResponse https://redirect.github.com/spring-projects/spring-framework/issues/32337;>#32337
   ContentCachingResponseWrapper no longer honors Content-Type and 
Content-Length https://redirect.github.com/spring-projects/spring-framework/issues/32322;>#32322
   
   :notebook_with_decorative_cover: Documentation
   
   Build KDoc against 5.3.x Spring Framework Javadoc https://redirect.github.com/spring-projects/spring-framework/issues/32414;>#32414
   
   :hammer: Dependency Upgrades
   
   Upgrade to Reactor 2020.0.42 https://redirect.github.com/spring-projects/spring-framework/issues/32422;>#32422
   
   
   
   
   Commits
   
   https://github.com/spring-projects/spring-framework/commit/df041ba032cceb9ca5c96214fe238b91c3f94f63;>df041ba
 Release v5.3.33
   https://github.com/spring-projects/spring-framework/commit/297cbae2990e1413537c55845a7e0ea0ffd9f9bb;>297cbae
 Extract reusable checkSchemeAndPort method
   https://github.com/spring-projects/spring-framework/commit/274fba47f3b15bc12c8d81571c68987989f812e8;>274fba4
 Additional unit tests for operations on empty UriTemplate
   https://github.com/spring-projects/spring-framework/commit/5dfec09edd62be011bbdbfd4e225f89b1e750311;>5dfec09
 Allow UriTemplate to be built with an empty template
   https://github.com/spring-projects/spring-framework/commit/5056e8cbfb2f22204a4227b335291d17f629dfcb;>5056e8c
 Upgrade to Reactor 2020.0.42
   https://github.com/spring-projects/spring-framework/commit/4566e8685d4baa41a6df4d6815ddc5579c4db073;>4566e86
 Polishing
   https://github.com/spring-projects/spring-framework/commit/1b84f970dee1cce4c4fbf16ae8a90f17c5c6b12c;>1b84f97
 Disable external Javadoc URLs not supported on JDK 8
   https://github.com/spring-projects/spring-framework/commit/41bc43b03377b33d8182a7aab30d34a29fba9471;>41bc43b
 Build KDoc against 5.3.x Spring Framework Javadoc
   https://github.com/spring-projects/spring-framework/commit/915d5bddeaf189b9b638cc3440435291390dfabd;>915d5bd
 Polishing
   https://github.com/spring-projects/spring-framework/commit/dc86feaeb6571bfffd594412fc409ba305aff316;>dc86fea
 Remove IOException that's not thrown from Javadoc
   Additional commits viewable in https://github.com/spring-projects/spring-framework/compare/v5.3.32...v5.3.33;>compare
 view
   
   
   
   
   Updates `org.springframework:spring-web` from 5.3.32 to 5.3.33
   
   Release notes
   Sourced from https://github.com/spring-projects/spring-framework/releases;>org.springframework:spring-web's
 releases.
   
   v5.3.33
   :star: New Features
   
   Extract reusable method for URI validations https://redirect.github.com/spring-projects/spring-framework/issues/32442;>#32442
   Allow UriTemplate to be built with an empty template https://redirect.github.com/spring-projects/spring-framework/issues/32438;>#32438
   Refine *HttpMessageConverter#getContentLength return value 
null safety https://redirect.github.com/spring-projects/spring-framework/issues/32332;>#32332
   
   :lady_beetle: Bug Fixes
   
   AopUtils.getMostSpecificMethod does not return original method for 
proxy-derived method anymore https://redirect.github.com/spring-projects/spring-framework/issues/32369;>#32369
   Better protect against concurrent error handling for async requests https://redirect.github.com/spring-projects/spring-framework/issues/32342;>#32342
   Restore Jetty 10 compatibility in JettyClientHttpResponse https://redirect.github.com/spring-projects/spring-framework/issues/32337;>#32337
   ContentCachingResponseWrapper no longer honors Content-Type and 
Content-Length https://redirect.github.com/spring-projects/spring-framework/issues/32322;>#32322
   
   :notebook_with_decorative_cover: Documentation
   
   Build KDoc against 5.3.x Spring Framework 

Re: [PR] MYFACES-4655 fix resolving of FacesValidators without value [myfaces]

2024-03-14 Thread via GitHub


NicolaIsotta commented on PR #682:
URL: https://github.com/apache/myfaces/pull/682#issuecomment-1997480934

   Not needed, I already tried, here's what happens if you don't declare 
forClass and value on FacesConverter:
   ```
   @FacesConverter must have value, forClass or both. Check annotation 
@FacesConverter on class: org.primefaces.test.MyCdiConverter
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] MYFACES-4655 fix resolving of FacesValidators without value [myfaces]

2024-03-14 Thread via GitHub


tandraschko commented on PR #682:
URL: https://github.com/apache/myfaces/pull/682#issuecomment-1997451201

   what about the converters? its the same logic there


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] MYFACES-4655 fix resolving of FacesValidators without value [myfaces]

2024-03-14 Thread via GitHub


NicolaIsotta commented on PR #682:
URL: https://github.com/apache/myfaces/pull/682#issuecomment-1997410840

   > @tandraschko does this need to be backported and forward ported once 
accepted?
   
   no need to backport to 2.3, but yes I think 4.1 and 5.0 needs this too.
   
   > can you explain the change?
   
   Inspired from Mojarra 
https://github.com/eclipse-ee4j/mojarra/blob/7cd3d2aa1bf7c5587054a3b362bdd5578f328b47/impl/src/main/java/com/sun/faces/cdi/CdiUtils.java#L159-L202
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] MYFACES-4655 fix resolving of FacesValidators without value [myfaces]

2024-03-14 Thread via GitHub


tandraschko commented on PR #682:
URL: https://github.com/apache/myfaces/pull/682#issuecomment-1997391903

   can you explain the change?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] MYFACES-4655 fix resolving of FacesValidators without value [myfaces]

2024-03-14 Thread via GitHub


melloware commented on code in PR #682:
URL: https://github.com/apache/myfaces/pull/682#discussion_r1524784165


##
impl/src/main/java/org/apache/myfaces/cdi/util/CDIUtils.java:
##
@@ -120,6 +135,17 @@ public static  T get(BeanManager beanManager, Type 
type, boolean create, Anno
 }
 }
 
+private static String getBeanName(Bean bean)
+{
+String name = bean.getName();
+if (name != null)
+{
+return name;
+}
+String className = bean.getBeanClass().getSimpleName();
+return Character.toLowerCase(className.charAt(0)) + 
className.substring(1);

Review Comment:
   These two lines are the only ones I am not sure about but @tandraschko will 
weigh in!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] MYFACES-4655 fix resolving of FacesValidators without value [myfaces]

2024-03-14 Thread via GitHub


melloware commented on PR #682:
URL: https://github.com/apache/myfaces/pull/682#issuecomment-1997377712

   @tandraschko does this need to be backported and forward ported once 
accepted?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (MYFACES-4655) NPE in FacesValidatorCDIWrapper

2024-03-14 Thread Nicola Isotta (Jira)


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

Nicola Isotta updated MYFACES-4655:
---
Status: Patch Available  (was: Open)

> NPE in FacesValidatorCDIWrapper
> ---
>
> Key: MYFACES-4655
> URL: https://issues.apache.org/jira/browse/MYFACES-4655
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.2
> Environment: Eclipse Adoptium jdk-11.0.14.101-hotspot
> Apache Tomcat 10.1.2
> MyFaces 4.0.2
> Weld 4.0.3.Final
>Reporter: Nicola Isotta
>Priority: Major
> Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
> Attachments: primefaces-test.zip
>
>
> I'm moving one application from Mojarra to MyFaces.
> One of the page fails on submit because of a NullPointerException in 
> FacesValidatorCDIWrapper.
> I'll try to arrange a standalone reproducer, meanwhile here's the stack trace:
> {code:java}
> java.lang.NullPointerException: null
>     at 
> org.apache.myfaces.cdi.wrapper.FacesValidatorCDIWrapper.validate(FacesValidatorCDIWrapper.java:59)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.core.api.shared.ComponentUtils.callValidators(ComponentUtils.java:245)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.validateValue(UIInput.java:463) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.validateValue(UISelectOne.java:166) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:197)
>  ~[primefaces-13.0.7-jakarta.jar:13.0.7]
>     at jakarta.faces.component.UIInput.validate(UIInput.java:717) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.processValidators(UIInput.java:297) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.processValidators(UISelectOne.java:116) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1372)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIForm.processValidators(UIForm.java:200) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1758)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1866)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1714) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:972) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:39)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
>  [myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125) 
> [myfaces-impl-4.0.2.jar:4.0.2]
>     at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223) 
> [myfaces-api-4.0.2.jar:4.0.2] {code}
>  



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


[jira] [Updated] (MYFACES-4655) NPE in FacesValidatorCDIWrapper

2024-03-14 Thread Nicola Isotta (Jira)


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

Nicola Isotta updated MYFACES-4655:
---
Status: Open  (was: Patch Available)

> NPE in FacesValidatorCDIWrapper
> ---
>
> Key: MYFACES-4655
> URL: https://issues.apache.org/jira/browse/MYFACES-4655
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.2
> Environment: Eclipse Adoptium jdk-11.0.14.101-hotspot
> Apache Tomcat 10.1.2
> MyFaces 4.0.2
> Weld 4.0.3.Final
>Reporter: Nicola Isotta
>Priority: Major
> Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
> Attachments: primefaces-test.zip
>
>
> I'm moving one application from Mojarra to MyFaces.
> One of the page fails on submit because of a NullPointerException in 
> FacesValidatorCDIWrapper.
> I'll try to arrange a standalone reproducer, meanwhile here's the stack trace:
> {code:java}
> java.lang.NullPointerException: null
>     at 
> org.apache.myfaces.cdi.wrapper.FacesValidatorCDIWrapper.validate(FacesValidatorCDIWrapper.java:59)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.core.api.shared.ComponentUtils.callValidators(ComponentUtils.java:245)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.validateValue(UIInput.java:463) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.validateValue(UISelectOne.java:166) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:197)
>  ~[primefaces-13.0.7-jakarta.jar:13.0.7]
>     at jakarta.faces.component.UIInput.validate(UIInput.java:717) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.processValidators(UIInput.java:297) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.processValidators(UISelectOne.java:116) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1372)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIForm.processValidators(UIForm.java:200) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1758)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1866)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1714) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:972) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:39)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
>  [myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125) 
> [myfaces-impl-4.0.2.jar:4.0.2]
>     at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223) 
> [myfaces-api-4.0.2.jar:4.0.2] {code}
>  



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


[PR] MYFACES-4655 fix resolving of FacesValidators without value [myfaces]

2024-03-14 Thread via GitHub


NicolaIsotta opened a new pull request, #682:
URL: https://github.com/apache/myfaces/pull/682

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Comment Edited] (MYFACES-4655) NPE in FacesValidatorCDIWrapper

2024-03-14 Thread Nicola Isotta (Jira)


[ 
https://issues.apache.org/jira/browse/MYFACES-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17827058#comment-17827058
 ] 

Nicola Isotta edited comment on MYFACES-4655 at 3/14/24 11:46 AM:
--

I can take look. Where are the validators registered in CDI?

NVM - I think I found a fix, testing it


was (Author: nicolaisotta):
I can take look. Where are the validators registered in CDI?

> NPE in FacesValidatorCDIWrapper
> ---
>
> Key: MYFACES-4655
> URL: https://issues.apache.org/jira/browse/MYFACES-4655
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.2
> Environment: Eclipse Adoptium jdk-11.0.14.101-hotspot
> Apache Tomcat 10.1.2
> MyFaces 4.0.2
> Weld 4.0.3.Final
>Reporter: Nicola Isotta
>Priority: Major
> Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
> Attachments: primefaces-test.zip
>
>
> I'm moving one application from Mojarra to MyFaces.
> One of the page fails on submit because of a NullPointerException in 
> FacesValidatorCDIWrapper.
> I'll try to arrange a standalone reproducer, meanwhile here's the stack trace:
> {code:java}
> java.lang.NullPointerException: null
>     at 
> org.apache.myfaces.cdi.wrapper.FacesValidatorCDIWrapper.validate(FacesValidatorCDIWrapper.java:59)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.core.api.shared.ComponentUtils.callValidators(ComponentUtils.java:245)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.validateValue(UIInput.java:463) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.validateValue(UISelectOne.java:166) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:197)
>  ~[primefaces-13.0.7-jakarta.jar:13.0.7]
>     at jakarta.faces.component.UIInput.validate(UIInput.java:717) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.processValidators(UIInput.java:297) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.processValidators(UISelectOne.java:116) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1372)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIForm.processValidators(UIForm.java:200) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1758)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1866)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1714) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:972) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:39)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
>  [myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125) 
> [myfaces-impl-4.0.2.jar:4.0.2]
>     at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223) 
> [myfaces-api-4.0.2.jar:4.0.2] {code}
>  



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


[jira] [Commented] (MYFACES-4655) NPE in FacesValidatorCDIWrapper

2024-03-14 Thread Nicola Isotta (Jira)


[ 
https://issues.apache.org/jira/browse/MYFACES-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17827058#comment-17827058
 ] 

Nicola Isotta commented on MYFACES-4655:


I can take look. Where are the validators registered in CDI?

> NPE in FacesValidatorCDIWrapper
> ---
>
> Key: MYFACES-4655
> URL: https://issues.apache.org/jira/browse/MYFACES-4655
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.2
> Environment: Eclipse Adoptium jdk-11.0.14.101-hotspot
> Apache Tomcat 10.1.2
> MyFaces 4.0.2
> Weld 4.0.3.Final
>Reporter: Nicola Isotta
>Priority: Major
> Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
> Attachments: primefaces-test.zip
>
>
> I'm moving one application from Mojarra to MyFaces.
> One of the page fails on submit because of a NullPointerException in 
> FacesValidatorCDIWrapper.
> I'll try to arrange a standalone reproducer, meanwhile here's the stack trace:
> {code:java}
> java.lang.NullPointerException: null
>     at 
> org.apache.myfaces.cdi.wrapper.FacesValidatorCDIWrapper.validate(FacesValidatorCDIWrapper.java:59)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.core.api.shared.ComponentUtils.callValidators(ComponentUtils.java:245)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.validateValue(UIInput.java:463) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.validateValue(UISelectOne.java:166) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:197)
>  ~[primefaces-13.0.7-jakarta.jar:13.0.7]
>     at jakarta.faces.component.UIInput.validate(UIInput.java:717) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.processValidators(UIInput.java:297) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.processValidators(UISelectOne.java:116) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1372)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIForm.processValidators(UIForm.java:200) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1758)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1866)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1714) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:972) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:39)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
>  [myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125) 
> [myfaces-impl-4.0.2.jar:4.0.2]
>     at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223) 
> [myfaces-api-4.0.2.jar:4.0.2] {code}
>  



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


Re: [PR] refactor(demo): Toast example [myfaces-tobago]

2024-03-14 Thread via GitHub


henningn merged PR #4954:
URL: https://github.com/apache/myfaces-tobago/pull/4954


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] refactor(demo): Toast example [myfaces-tobago]

2024-03-14 Thread via GitHub


henningn merged PR #4953:
URL: https://github.com/apache/myfaces-tobago/pull/4953


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (MYFACES-4655) NPE in FacesValidatorCDIWrapper

2024-03-14 Thread Thomas Andraschko (Jira)


[ 
https://issues.apache.org/jira/browse/MYFACES-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17827041#comment-17827041
 ] 

Thomas Andraschko commented on MYFACES-4655:


would you like to prepare a PR?

> NPE in FacesValidatorCDIWrapper
> ---
>
> Key: MYFACES-4655
> URL: https://issues.apache.org/jira/browse/MYFACES-4655
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.2
> Environment: Eclipse Adoptium jdk-11.0.14.101-hotspot
> Apache Tomcat 10.1.2
> MyFaces 4.0.2
> Weld 4.0.3.Final
>Reporter: Nicola Isotta
>Priority: Major
> Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
> Attachments: primefaces-test.zip
>
>
> I'm moving one application from Mojarra to MyFaces.
> One of the page fails on submit because of a NullPointerException in 
> FacesValidatorCDIWrapper.
> I'll try to arrange a standalone reproducer, meanwhile here's the stack trace:
> {code:java}
> java.lang.NullPointerException: null
>     at 
> org.apache.myfaces.cdi.wrapper.FacesValidatorCDIWrapper.validate(FacesValidatorCDIWrapper.java:59)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.core.api.shared.ComponentUtils.callValidators(ComponentUtils.java:245)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.validateValue(UIInput.java:463) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.validateValue(UISelectOne.java:166) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:197)
>  ~[primefaces-13.0.7-jakarta.jar:13.0.7]
>     at jakarta.faces.component.UIInput.validate(UIInput.java:717) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.processValidators(UIInput.java:297) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.processValidators(UISelectOne.java:116) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1372)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIForm.processValidators(UIForm.java:200) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1758)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1866)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1714) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:972) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:39)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
>  [myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125) 
> [myfaces-impl-4.0.2.jar:4.0.2]
>     at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223) 
> [myfaces-api-4.0.2.jar:4.0.2] {code}
>  



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


[jira] [Comment Edited] (MYFACES-4655) NPE in FacesValidatorCDIWrapper

2024-03-14 Thread Nicola Isotta (Jira)


[ 
https://issues.apache.org/jira/browse/MYFACES-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17827039#comment-17827039
 ] 

Nicola Isotta edited comment on MYFACES-4655 at 3/14/24 10:36 AM:
--

Reproducer attached. Needs Java 17 bc of Jetty 12.

To run with Mojarra:
{noformat}
mvn jetty:run -Pmojarra40{noformat}
 for MyFaces:
{noformat}
mvn jetty:run -Pmyfaces40{noformat}
 

Seems like MyFaces can't find the validator if the value attribute isn's 
specified:
{code:java}
@FacesValidator(managed = true)
public class MyCdiValidator implements Validator {{code}
according to the specs it should default to class.getSimpleName()

 


was (Author: nicolaisotta):
Reproducer attached. Needs Java 17 bc of Jetty 12.

To run: 
{noformat}
mvn jetty:run -Pmojarra40{noformat}
 for mojarra and 
{noformat}
mvn jetty:run -Pmyfaces40{noformat}
for Myfaces

Seems like MyFaces can't find the validator if the value attribute isn's 
specified:
{code:java}
@FacesValidator(managed = true)
public class MyCdiValidator implements Validator {{code}
according to the specs it should default to class.getSimpleName()

 

> NPE in FacesValidatorCDIWrapper
> ---
>
> Key: MYFACES-4655
> URL: https://issues.apache.org/jira/browse/MYFACES-4655
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.2
> Environment: Eclipse Adoptium jdk-11.0.14.101-hotspot
> Apache Tomcat 10.1.2
> MyFaces 4.0.2
> Weld 4.0.3.Final
>Reporter: Nicola Isotta
>Priority: Major
> Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
> Attachments: primefaces-test.zip
>
>
> I'm moving one application from Mojarra to MyFaces.
> One of the page fails on submit because of a NullPointerException in 
> FacesValidatorCDIWrapper.
> Debugging I found out it happens on a validator attached to a composite 
> component using the for attribute.
> I'll try to arrange a standalone reproducer, meanwhile here's the stack trace:
> {code:java}
> java.lang.NullPointerException: null
>     at 
> org.apache.myfaces.cdi.wrapper.FacesValidatorCDIWrapper.validate(FacesValidatorCDIWrapper.java:59)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.core.api.shared.ComponentUtils.callValidators(ComponentUtils.java:245)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.validateValue(UIInput.java:463) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.validateValue(UISelectOne.java:166) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:197)
>  ~[primefaces-13.0.7-jakarta.jar:13.0.7]
>     at jakarta.faces.component.UIInput.validate(UIInput.java:717) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.processValidators(UIInput.java:297) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.processValidators(UISelectOne.java:116) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1372)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIForm.processValidators(UIForm.java:200) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1758)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1866)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1714) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:972) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:39)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
>  [myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125) 
> [myfaces-impl-4.0.2.jar:4.0.2]
>     at 

[jira] [Commented] (MYFACES-4655) NPE in FacesValidatorCDIWrapper

2024-03-14 Thread Nicola Isotta (Jira)


[ 
https://issues.apache.org/jira/browse/MYFACES-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17827039#comment-17827039
 ] 

Nicola Isotta commented on MYFACES-4655:


Reproducer attached. Needs Java 17 bc of Jetty 12.

To run: 
{noformat}
mvn jetty:run -Pmojarra40{noformat}
 for mojarra and 
{noformat}
mvn jetty:run -Pmyfaces40{noformat}
for Myfaces

Seems like MyFaces can't find the validator if the value attribute isn's 
specified:
{code:java}
@FacesValidator(managed = true)
public class MyCdiValidator implements Validator {{code}
according to the specs it should default to class.getSimpleName()

 

> NPE in FacesValidatorCDIWrapper
> ---
>
> Key: MYFACES-4655
> URL: https://issues.apache.org/jira/browse/MYFACES-4655
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.2
> Environment: Eclipse Adoptium jdk-11.0.14.101-hotspot
> Apache Tomcat 10.1.2
> MyFaces 4.0.2
> Weld 4.0.3.Final
>Reporter: Nicola Isotta
>Priority: Major
> Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
> Attachments: primefaces-test.zip
>
>
> I'm moving one application from Mojarra to MyFaces.
> One of the page fails on submit because of a NullPointerException in 
> FacesValidatorCDIWrapper.
> Debugging I found out it happens on a validator attached to a composite 
> component using the for attribute.
> I'll try to arrange a standalone reproducer, meanwhile here's the stack trace:
> {code:java}
> java.lang.NullPointerException: null
>     at 
> org.apache.myfaces.cdi.wrapper.FacesValidatorCDIWrapper.validate(FacesValidatorCDIWrapper.java:59)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.core.api.shared.ComponentUtils.callValidators(ComponentUtils.java:245)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.validateValue(UIInput.java:463) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.validateValue(UISelectOne.java:166) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:197)
>  ~[primefaces-13.0.7-jakarta.jar:13.0.7]
>     at jakarta.faces.component.UIInput.validate(UIInput.java:717) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.processValidators(UIInput.java:297) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.processValidators(UISelectOne.java:116) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1372)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIForm.processValidators(UIForm.java:200) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1758)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1866)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1714) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:972) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:39)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
>  [myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125) 
> [myfaces-impl-4.0.2.jar:4.0.2]
>     at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223) 
> [myfaces-api-4.0.2.jar:4.0.2] {code}
>  



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


[PR] refactor(demo): Toast example [myfaces-tobago]

2024-03-14 Thread via GitHub


henningn opened a new pull request, #4954:
URL: https://github.com/apache/myfaces-tobago/pull/4954

   * fix ToastFacesMessage (AJAX) button
   * add code examples
   * refactor custom toast example to show how a custom CSS class is added


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] refactor(demo): Toast example [myfaces-tobago]

2024-03-14 Thread via GitHub


henningn opened a new pull request, #4953:
URL: https://github.com/apache/myfaces-tobago/pull/4953

   * fix ToastFacesMessage (AJAX) button
   * add code examples
   * refactor custom toast example to show how a custom CSS class is added


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (MYFACES-4655) NPE in FacesValidatorCDIWrapper

2024-03-14 Thread Thomas Andraschko (Jira)


[ 
https://issues.apache.org/jira/browse/MYFACES-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17827018#comment-17827018
 ] 

Thomas Andraschko commented on MYFACES-4655:


yeah please
you can use the primefaces-test project

> NPE in FacesValidatorCDIWrapper
> ---
>
> Key: MYFACES-4655
> URL: https://issues.apache.org/jira/browse/MYFACES-4655
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.2
> Environment: Eclipse Adoptium jdk-11.0.14.101-hotspot
> Apache Tomcat 10.1.2
> MyFaces 4.0.2
> Weld 4.0.3.Final
>Reporter: Nicola Isotta
>Priority: Major
> Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
>
> I'm moving one application from Mojarra to MyFaces.
> One of the page fails on submit because of a NullPointerException in 
> FacesValidatorCDIWrapper.
> Debugging I found out it happens on a validator attached to a composite 
> component using the for attribute.
> I'll try to arrange a standalone reproducer, meanwhile here's the stack trace:
> {code:java}
> java.lang.NullPointerException: null
>     at 
> org.apache.myfaces.cdi.wrapper.FacesValidatorCDIWrapper.validate(FacesValidatorCDIWrapper.java:59)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.core.api.shared.ComponentUtils.callValidators(ComponentUtils.java:245)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.validateValue(UIInput.java:463) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.validateValue(UISelectOne.java:166) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:197)
>  ~[primefaces-13.0.7-jakarta.jar:13.0.7]
>     at jakarta.faces.component.UIInput.validate(UIInput.java:717) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIInput.processValidators(UIInput.java:297) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UISelectOne.processValidators(UISelectOne.java:116) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1372)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIForm.processValidators(UIForm.java:200) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1758)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1866)
>  ~[myfaces-api-4.0.2.jar:4.0.2]
>     at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1714) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:972) 
> ~[myfaces-api-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:39)
>  ~[myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
>  [myfaces-impl-4.0.2.jar:4.0.2]
>     at 
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125) 
> [myfaces-impl-4.0.2.jar:4.0.2]
>     at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223) 
> [myfaces-api-4.0.2.jar:4.0.2] {code}
>  



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


[jira] [Created] (MYFACES-4655) NPE in FacesValidatorCDIWrapper

2024-03-14 Thread Nicola Isotta (Jira)
Nicola Isotta created MYFACES-4655:
--

 Summary: NPE in FacesValidatorCDIWrapper
 Key: MYFACES-4655
 URL: https://issues.apache.org/jira/browse/MYFACES-4655
 Project: MyFaces Core
  Issue Type: Bug
  Components: General
Affects Versions: 4.0.2
 Environment: Eclipse Adoptium jdk-11.0.14.101-hotspot
Apache Tomcat 10.1.2
MyFaces 4.0.2
Weld 4.0.3.Final
Reporter: Nicola Isotta


I'm moving one application from Mojarra to MyFaces.

One of the page fails on submit because of a NullPointerException in 
FacesValidatorCDIWrapper.

Debugging I found out it happens on a validator attached to a composite 
component using the for attribute.

I'll try to arrange a standalone reproducer, meanwhile here's the stack trace:
{code:java}
java.lang.NullPointerException: null
    at 
org.apache.myfaces.cdi.wrapper.FacesValidatorCDIWrapper.validate(FacesValidatorCDIWrapper.java:59)
 ~[myfaces-impl-4.0.2.jar:4.0.2]
    at 
org.apache.myfaces.core.api.shared.ComponentUtils.callValidators(ComponentUtils.java:245)
 ~[myfaces-api-4.0.2.jar:4.0.2]
    at jakarta.faces.component.UIInput.validateValue(UIInput.java:463) 
~[myfaces-api-4.0.2.jar:4.0.2]
    at jakarta.faces.component.UISelectOne.validateValue(UISelectOne.java:166) 
~[myfaces-api-4.0.2.jar:4.0.2]
    at 
org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:197)
 ~[primefaces-13.0.7-jakarta.jar:13.0.7]
    at jakarta.faces.component.UIInput.validate(UIInput.java:717) 
~[myfaces-api-4.0.2.jar:4.0.2]
    at jakarta.faces.component.UIInput.processValidators(UIInput.java:297) 
~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UISelectOne.processValidators(UISelectOne.java:116) 
~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
 ~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1372)
 ~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
 ~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
 ~[myfaces-api-4.0.2.jar:4.0.2]
    at jakarta.faces.component.UIForm.processValidators(UIForm.java:200) 
~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
 ~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1379)
 ~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1758)
 ~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1866)
 ~[myfaces-api-4.0.2.jar:4.0.2]
    at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1714) 
~[myfaces-api-4.0.2.jar:4.0.2]
    at 
jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:972) 
~[myfaces-api-4.0.2.jar:4.0.2]
    at 
org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:39)
 ~[myfaces-impl-4.0.2.jar:4.0.2]
    at 
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172) 
[myfaces-impl-4.0.2.jar:4.0.2]
    at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125) 
[myfaces-impl-4.0.2.jar:4.0.2]
    at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223) 
[myfaces-api-4.0.2.jar:4.0.2] {code}
 



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


Re: [PR] fix(demo): tc:style on tc:sheet [myfaces-tobago]

2024-03-14 Thread via GitHub


henningn merged PR #4952:
URL: https://github.com/apache/myfaces-tobago/pull/4952


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] fix(demo): tc:style on tc:sheet [myfaces-tobago]

2024-03-14 Thread via GitHub


henningn merged PR #4951:
URL: https://github.com/apache/myfaces-tobago/pull/4951


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] fix(demo): tc:style on tc:sheet [myfaces-tobago]

2024-03-14 Thread via GitHub


henningn opened a new pull request, #4952:
URL: https://github.com/apache/myfaces-tobago/pull/4952

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] fix(demo): tc:style on tc:sheet [myfaces-tobago]

2024-03-14 Thread via GitHub


henningn opened a new pull request, #4951:
URL: https://github.com/apache/myfaces-tobago/pull/4951

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] build(deps): bump com.fasterxml.jackson.core:jackson-core from 2.16.2 to 2.17.0 [myfaces-tobago]

2024-03-14 Thread via GitHub


henningn merged PR #4950:
URL: https://github.com/apache/myfaces-tobago/pull/4950


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org