0 Replies Latest reply on Aug 22, 2011 3:43 AM by ashutosh deora

    Exception while migrating from jsf 1.2 to  2 .0

    ashutosh deora Newbie

      I am getting this error after migration of my project to JSF 2 from 1.2

      Can any one tell  why it is happening.

       

      Aug 22, 2011 1:08:49 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException

      SEVERE: Error Rendering View[/public/epct.xhtml]

      java.lang.NullPointerException

                at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:935)

                at com.sun.faces.facelets.tag.jsf.CompositeComponentTagHandler.createComponent(CompositeComponentTagHandler.java:160)

                at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.createComponent(ComponentTagHandlerDelegateImpl.java:431)

                at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:144)

                at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)

                at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:131)

                at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55)

                at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:162)

                at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)

                at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)

                at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)

                at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)

                at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)

                at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:148)

                at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:734)

                at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:358)

                at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)

                at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)

                at org.wipo.patent.pct.view.UrlParameterViewHandler.renderView(UrlParameterViewHandler.java:214)

                at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)

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

                at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)

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

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

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

                at org.wipo.patent.pct.http.LoginFilter.doFilter(LoginFilter.java:68)

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

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

                at org.wipo.patent.pct.http.CacheFilter.doFilter(CacheFilter.java:79)

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

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

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

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

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)

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

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

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

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

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

                at java.lang.Thread.run(Thread.java:619)

      Aug 22, 2011 1:08:49 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException

      SEVERE: Error Rendering View[/public/epct.xhtml]

      java.lang.NullPointerException

                at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:935)

                at com.sun.faces.facelets.tag.jsf.CompositeComponentTagHandler.createComponent(CompositeComponentTagHandler.java:160)

                at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.createComponent(ComponentTagHandlerDelegateImpl.java:431)

                at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:144)

                at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)

                at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:131)

                at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55)

                at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:162)

                at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)

                at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)

                at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)

                at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)

                at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)

                at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:148)

                at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:734)

                at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:358)

                at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)

                at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)

                at org.wipo.patent.pct.view.UrlParameterViewHandler.renderView(UrlParameterViewHandler.java:214)

                at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)

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

                at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)

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

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

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

                at org.wipo.patent.pct.http.LoginFilter.doFilter(LoginFilter.java:68)

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

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

                at org.wipo.patent.pct.http.CacheFilter.doFilter(CacheFilter.java:79)

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

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

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

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

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)

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

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

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

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

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

                at java.lang.Thread.run(Thread.java:619)

      Aug 22, 2011 1:08:49 PM org.apache.catalina.core.StandardWrapperValve invoke

      SEVERE: Servlet.service() for servlet Faces Servlet threw exception