4 Replies Latest reply on Jun 15, 2011 4:21 AM by Paweł Ryszawa

    exception raises when using rich:element

    tsunglintsai Newbie

      I get following following exception when use rich:element. code fragement in following. anyone got idea how to solve it

       

      i am using richfaces 3.3.1 , JSF 1.2 ,embedded glassfish 3.0.1

       

       

      <h:panelGrid>

           <h:outputText>Search : </h:outputText>

           <h:inputText id="searchField" value="#{backingBean.searchStr}" />

           <a4j:commandButton reRender="table" value="Search" id="submitBtn" action="#{ListUserBean.executeQuery}" />

           <rich:hotKey key="return" handler="#{rich:element('submitBtn')}.click()"/>

      </h:panelGrid>

       

       

      2011-03-08 12:12:18,108 [httpWorkerThread-8080-3] ERROR org.ajax4jsf.webapp.BaseXMLFilter - Exception in the filter chain

      javax.servlet.ServletException: com.sun.el.lang.FunctionMapperImpl

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)

                at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)

                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

                at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

                at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)

                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)

                at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)

                at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)

                at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)

                at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)

                at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)

                at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)

                at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)

                at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)

                at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)

                at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)

                at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)

                at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)

                at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)

                at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)

                at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)

                at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)

                at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)

                at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)

                at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)

                at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)

                at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)

                at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)

                at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)

                at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)

                at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)

                at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)

                at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)

      Caused by: java.lang.ClassNotFoundException: com.sun.el.lang.FunctionMapperImpl

                at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509)

                at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)

                at java.lang.Class.forName0(Native Method)

                at java.lang.Class.forName(Class.java:247)

                at com.sun.faces.renderkit.ApplicationObjectInputStream.resolveClass(ApplicationObjectInputStream.java:95)

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)

                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

                at com.sun.el.ValueExpressionImpl.readExternal(ValueExpressionImpl.java:258)

                at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

                at com.sun.faces.renderkit.ResponseStateManagerImpl.getTreeStructureToRestore(ResponseStateManagerImpl.java:194)

                at javax.faces.render.ResponseStateManager.getState(ResponseStateManager.java:226)

                at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:419)

                at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:311)

                at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:107)

                at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:175)

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

                at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)

                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

                ... 41 more