-
Bug
-
Resolution: Done
-
Major
-
30.0.0.Beta1
-
None
Caused by https://github.com/wildfly/wildfly/pull/17214
12:35:20,107 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) faces.spi.injection.invalid_service_entry 12:35:20,107 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) faces.spi.injection.invalid_service_entry 12:35:20,108 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) faces.spi.injection.invalid_service_entry 12:35:20,108 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) faces.spi.injection.invalid_service_entry 12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) JSF1030: The specified InjectionProvider implementation '# SPDX-License-Identifier' cannot be loaded. 12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) JSF1030: The specified InjectionProvider implementation '# SPDX-License-Identifier' cannot be loaded. 12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) faces.spi.injection.invalid_service_entry 12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) faces.spi.injection.invalid_service_entry 12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) faces.spi.injection.invalid_service_entry 12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) faces.spi.injection.invalid_service_entry
This happens because the service loading mechanism in com.sun.faces.spi.InjectionProviderFactory#getServiceEntries doesn't account for commented lines (for instance the com.sun.faces.spi.ServiceFactoryUtils#getServiceEntries does perform sanitation or parsed out providers com.sun.faces.spi.ServiceFactoryUtils#cleanupServiceLine).
This should ideally be eventually fixed upstream.