Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
primefaces-archetype-6.1.0
-
None
-
None
Description
The bridge demo was built with the following command (see profile thin,cdi here, and instructions in this blog was followed):
cd demos mvn package -P liferay,mojarra,tomcat,thin,cdi
After module deployment, adding the primefaces.applicant portlet caused this exception in the log:
2022-06-11 11:09:49.945 ERROR [http-nio-8080-exec-12][render_portlet_jsp:131] null javax.faces.FacesException: FileUploaderDecoder 'native' not found at org.primefaces.context.PrimeApplicationContext.lambda$resolveFileUploadDecoder$3(PrimeApplicationContext.java:205) at java.util.Optional.orElseThrow(Optional.java:290) at org.primefaces.context.PrimeApplicationContext.resolveFileUploadDecoder(PrimeApplicationContext.java:205) at org.primefaces.context.PrimeApplicationContext.<init>(PrimeApplicationContext.java:154) at org.primefaces.context.PrimeApplicationContext.getCurrentInstance(PrimeApplicationContext.java:221) at org.primefaces.context.PrimeApplicationContext.getCurrentInstance(PrimeApplicationContext.java:209) at org.primefaces.context.PrimeRequestContext.getApplicationContext(PrimeRequestContext.java:199) at org.primefaces.context.PrimeFacesContext.<init>(PrimeFacesContext.java:60) at org.primefaces.context.PrimeFacesContextFactory.getFacesContext(PrimeFacesContextFactory.java:59) at com.sun.faces.context.InjectionFacesContextFactory.getFacesContext(InjectionFacesContextFactory.java:123) at com.liferay.faces.bridge.internal.BridgePhaseBaseImpl.getFacesContext(BridgePhaseBaseImpl.java:134) at com.liferay.faces.bridge.internal.BridgePhaseBaseImpl.init(BridgePhaseBaseImpl.java:212) at com.liferay.faces.bridge.internal.BridgePhaseHeaderRenderCommon.executeRender(BridgePhaseHeaderRenderCommon.java:89) at com.liferay.faces.bridge.internal.BridgePhaseRenderCompatImpl.execute(BridgePhaseRenderCompatImpl.java:57) at com.liferay.faces.bridge.internal.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:57) at com.liferay.faces.bridge.internal.BridgeImpl.doFacesRequest(BridgeImpl.java:157) at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:802) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:397) at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:718) at javax.portlet.GenericPortlet.render(GenericPortlet.java:291)
Attachments
Issue Links
- is fixed by
-
FACES-3632 Upgrade to PrimeFaces 11.0.0
-
- Closed
-