1 Reply Latest reply on Oct 25, 2011 9:30 AM by Ugo Flamarion

    rich:graphValidator issue

    Ugo Flamarion Newbie

      Hi everybody,

       

      I am getting a weird exception when I try the rich:graphValidator example from the richfaces-showcase examples.

      I am getting this error in french, so here I tried to translate it:

       

      javax.faces.FacesException: Expression error : object named «javax.faces.Bean» not detected
      at com.sun.faces.application.ApplicationImpl.createValidator(ApplicationImpl.java:1564)
      at org.richfaces.view.facelets.html.GraphValidatorHandler.getBuiltInBeanValidator(GraphValidatorHandler.java:87)
      at org.richfaces.view.facelets.html.GraphValidatorHandler.setupValidator(GraphValidatorHandler.java:121)
      at org.richfaces.view.facelets.html.GraphValidatorHandler.setupValidators(GraphValidatorHandler.java:104)
      at org.richfaces.view.facelets.html.GraphValidatorHandler.setupValidators(GraphValidatorHandler.java:109)
      at org.richfaces.view.facelets.html.GraphValidatorHandler.setupValidators(GraphValidatorHandler.java:109)
      at org.richfaces.view.facelets.html.GraphValidatorHandler.access$100(GraphValidatorHandler.java:49)
      at org.richfaces.view.facelets.html.GraphValidatorHandler$FacesBeanValidatorAddListener.processEvent(GraphValidatorHandler.java:59)
      at javax.faces.component.UIComponent$ComponentSystemEventListenerAdapter.processEvent(UIComponent.java:2508)
      at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
      at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2139)
      at com.sun.faces.application.ApplicationImpl.invokeComponentListenersFor(ApplicationImpl.java:2087)
      at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:286)
      at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:244)
      at javax.faces.component.UIComponentBase.publishAfterViewEvents(UIComponentBase.java:2201)
      at javax.faces.component.UIComponentBase.publishAfterViewEvents(UIComponentBase.java:2206)
      at javax.faces.component.UIComponentBase.publishAfterViewEvents(UIComponentBase.java:2206)
      at javax.faces.component.UIComponentBase.doPostAddProcessing(UIComponentBase.java:1883)
      at javax.faces.component.UIComponentBase.setParent(UIComponentBase.java:400)
      at javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:2635)
      at javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:2607)
      at com.sun.faces.facelets.tag.jsf.ComponentSupport.addComponent(ComponentSupport.java:577)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.addComponentToView(ComponentTagHandlerDelegateImpl.java:297)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:200)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:164)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
      at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
      at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
      at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
      at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
      at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
      at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:773)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      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.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:291)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Unknown Source)

       

      Has anyone already heard of this ?