Yes I have the following in faces-config.xml
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id> Thanks Venkat On Sun, Apr 4, 2010 at 1:10 PM, Now I find myself in question < [email protected]> wrote: > do you have the *render-kit* defined in your faces-config.xml > > On Sun, Apr 4, 2010 at 12:45 PM, Venkat Ramanan Viswanathan < > [email protected]> wrote: > > > Hi > > > > I am currently building an applicaiton with Trinidad 2 (alpha) with JSF > > 2.0. > > I am having some trouble in PPR . It is deployed on Glassfish 3 > container. > > I have a search button , which when pressed renders the results in a > > tr:table. The first time when i press i get a connection Failed > javscript > > popup. Second time when i press , the backing bean methods get called > > correctly and the results get rendered in table. Then when i press third > > time , i get connection Failed again. The net result is that , the > output > > seems to alter between connecion failed and correct output. When i see > the > > server logs, i get the following error (whenever connection failed > comes). > > > > When i inspected line 1299 in UIXComponentBase , i found that renderkit > is > > null and thats why this error is thrown. I am perplexed as to how come > the > > renderkit becomes null and then becomes alright and then again becomes > > null. > > could some one help me out. > > > > The following is the exception stack trace . > > > > java.lang.NullPointerException > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase._getRendererImpl(UIXComponentBase.java:1299) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase._cacheRenderer(UIXComponentBase.java:1279) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1193) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:724) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:842) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1081) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1067) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:839) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1081) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1067) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:839) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1081) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1067) > > at > > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:839) > > at > > > > > javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1042) > > at > > javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:941) > > at > > > > > com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) > > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) > > at > > com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) > > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312) > > at > > > org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343) > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) > > at > > com.trp.scientific.oe.view.SafeFilter.doFilter(SafeFilter.java:29) > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) > > at > > > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) > > at > > > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) > > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) > > at > > > > > com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) > > at > > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) > > at > > > > > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) > > at > > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) > > at > > > > > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) > > at > > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) > > at > > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) > > at > > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) > > at > > > > > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) > > at > > > > > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) > > at > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) > > at > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) > > at > > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) > > at > > > > > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) > > at > > > > > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) > > at com.sun.grizzly.ContextTask.run(ContextTask.java:69) > > at > > > > > com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) > > at > > > > > com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) > > at java.lang.Thread.run(Thread.java:619) > > >

