2 Replies Latest reply on Jan 29, 2013 5:45 AM by akash bansal

    NPE at com.sun.facelets.compiler.NamespaceHandler.apply

    akash bansal Newbie

      Hi,

       

      When deploying my EAR file, i am getting following exception:

       

      java.lang.NullPointerException com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)  com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)  com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)  com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)  org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)  org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)  org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)  com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) org.springframework.faces.webflow.FlowLifecycle.render(FlowLifecycle.java:80) org.springframework.faces.webflow.JsfView.render(JsfView.java:89) org.springframework.webflow.engine.ViewState.render(ViewState.java:282) org.springframework.webflow.engine.ViewState.doEnter(ViewState.java:186) org.springframework.webflow.engine.State.enter(State.java:194) org.springframework.webflow.engine.Flow.start(Flow.java:535) org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:364)  org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:222)  org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140)  org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193)  org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:174)  org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)  org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:774)  org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)  org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)  org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549) javax.servlet.http.HttpServlet.service(HttpServlet.java:734) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

      ...

       

      I am ussing Mojarra-1.2 and richfaces 3.3.3.  along with spring web-flow 2.1 and spring 3. Richfaces jar files are also included in WAR's lib folder.