eclipse-ee4j / mojarra

Mojarra, a Jakarta Faces implementation
Other
160 stars 109 forks source link

UnsupportedOperationException in InitFacesContext #5341

Closed jasondlee closed 11 months ago

jasondlee commented 11 months ago

The Faces servlet request listener creates an instance of InitFacesContext if its request destroy handling throws an exception. However, this implementation does not override getExceptionHandler() method, the default implementation of which will always throw an UnsupportedOperationException. This change implements that method and avoids the failure.

Additional context

This was discovered during some WildFly/EAP testing: https://issues.redhat.com/browse/JBEAP-25852

jasondlee commented 11 months ago

PR: https://github.com/eclipse-ee4j/mojarra/pull/5342