eclipse-ee4j / mojarra

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

UnsupportedOperationException in 4.0 on startup #5198

Closed tandraschko closed 1 year ago

tandraschko commented 1 year ago
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
        at com.sun.faces.config.manager.Documents.getXMLDocuments(Documents.java:104)
        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:311)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:179)
        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1045)
        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:624)
        at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:982)
        at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:740)
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:392)

you can simply replicate when cloning PrimeFaces:

and the exception is thrown on startup

tandraschko commented 1 year ago

Could be the same as: https://github.com/eclipse-ee4j/mojarra/pull/5195

christophs78 commented 1 year ago

I´m able to confirm https://github.com/eclipse-ee4j/mojarra/pull/5195 fixes this issue. (I checked out this PR, built it and successful run primefaces-integration-tests-jakarta.)

BalusC commented 1 year ago

Okay.