PrimeFaces 5.2 RC3 and PrimeFaces Extensions 3.0.0

Community Driven Extensions Project
Post Reply
Tiny
Posts: 79
Joined: 03 Jul 2013, 17:40

06 Apr 2015, 04:20

I am trying to go with PrimeFaces 5.2 RC3 and PrimeFaces Extension 3.0.0. Using the following simple code (for the purpose of demonstration only) causes an exception to be thrown.

Code: Select all

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.org/ui"
      xmlns:pe="http://primefaces.org/ui/extensions"
      xmlns:h="http://xmlns.jcp.org/jsf/html">

    <h:head><title>Facelet Title</title></h:head>

    <h:body>
        <h:form>
            <pe:blockUI target="panel">
                <h:panelGrid>                    
                    <h:outputText value="Wait..."/>
                </h:panelGrid>
            </pe:blockUI>
            
            <p:panel id="panel"></p:panel>
        </h:form>
    </h:body>
</html>
The code in the above snippet causes the following exception to be thrown, when a corresponding page is requested (the culprit is <pe:blockUI target="panel">).

Code: Select all

FATAL:   JSF1073: java.lang.NoSuchMethodError caught during processing of RENDER_RESPONSE 6 : UIComponent-ClientId=, Message=org.primefaces.expression.SearchExpressionFacade.resolveComponentsForClient(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;Ljava/lang/String;)Ljava/lang/String;
FATAL:   org.primefaces.expression.SearchExpressionFacade.resolveComponentsForClient(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;Ljava/lang/String;)Ljava/lang/String;
java.lang.NoSuchMethodError: org.primefaces.expression.SearchExpressionFacade.resolveComponentsForClient(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;Ljava/lang/String;)Ljava/lang/String;
	at org.primefaces.extensions.component.blockui.BlockUIRenderer.encodeScript(BlockUIRenderer.java:83)
	at org.primefaces.extensions.component.blockui.BlockUIRenderer.encodeEnd(BlockUIRenderer.java:48)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
	at javax.faces.render.Renderer.encodeChildren(Renderer.java:176)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456)
	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282)
	at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)
	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
	at java.lang.Thread.run(Thread.java:745)

It works fine with PrimeFaces 5.1. final community release and PrimeFaces Extensions 3.0.0.

I can see that PrimeFaces Extensions 3.0.0 is the current version. Are these versions not compatible with each other? Is there any newer release candidate or final release for PrimeFaces Extensions that may be compatible with PrimeFaces 5.2 RC3 and consequently with PrimeFaces 5.2 final as well, when it will be released in a few days?

Currently tried on Mojarra 2.2.8-02.
PF 6.0, PF Ext 6.0.0, Mojarra 2.2.13, OmniFaces 2.5
Java EE 7, JAAS, EJB 3.2
Spring 4.0 GA, Spring Security 3.2.0 GA, Struts 2.3.16
EclipseLink 2.6.3 (JPA 2.1), Hibernate 5.2.1 (JPA 2.1)
GlassFish 4.1, WildFly 10.0.0, Tomcat 8.0.29
NetBeans 8.1, JDK 8u66

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

06 Apr 2015, 08:26

Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

User avatar
Oleg
Expert Member
Posts: 3803
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

08 Apr 2015, 12:16

We will release a compatible PF Extensions version 3.1.0 in 1-2 weeks.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Tiny
Posts: 79
Joined: 03 Jul 2013, 17:40

08 Apr 2015, 14:06

Thank you very much for the responses :)
PF 6.0, PF Ext 6.0.0, Mojarra 2.2.13, OmniFaces 2.5
Java EE 7, JAAS, EJB 3.2
Spring 4.0 GA, Spring Security 3.2.0 GA, Struts 2.3.16
EclipseLink 2.6.3 (JPA 2.1), Hibernate 5.2.1 (JPA 2.1)
GlassFish 4.1, WildFly 10.0.0, Tomcat 8.0.29
NetBeans 8.1, JDK 8u66

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests