1 Reply Latest reply on Nov 4, 2007 4:56 PM by Pete Muir

    Seam + RichFaces: NPE on SeamELResolver

    Odyssée TREMOULIS Newbie

      Hi,

      I'm trying RichFaces documantion example on Tomcat (Simple Ajax Echo Project).

      On run, i got NPE on SeamELResolver.

      4 nov. 2007 16:33:17 com.sun.faces.lifecycle.LifecycleImpl phase
      ATTENTION: executePhase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@1d07e4) threw exception
      java.lang.NullPointerException
      at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
      at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
      at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
      at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
      at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:72)
      at org.ajax4jsf.context.AjaxContext.getCurrentInstance(AjaxContext.java:101)
      at org.ajax4jsf.application.AjaxViewHandler.createView(AjaxViewHandler.java:83)
      at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:203)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      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:175)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      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:263)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:595)

      On debug, I saw that it didn't find org.jboss.seam.core.Init.class from applicationContext.

      Thanks for help.

      (As you see, english is not my mother tongue ;)