1 Reply Latest reply on Dec 7, 2011 3:48 PM by raghav mo

    javax.validation.ValidationException: Could not create Configuration.

    raghav mo Newbie

      Hi Everyone,

       

      I am new to RichFaces , I am trying to do simple commandButton example with richfaces.find the files in the attachment

      I am getting the following exception.

      Any help would be greatly appreciated.

       

       

      Oct 15, 2011 7:00:02 PM org.richfaces.context.ExtendedPartialViewContextImpl processPartialExecutePhase

      SEVERE: Could not build a default Bean Validator factory

      javax.faces.FacesException: Could not build a default Bean Validator factory

              at javax.faces.validator.BeanValidator.validate(BeanValidator.java:279)

              at javax.faces.component.UIInput.validateValue(UIInput.java:1149)

              at javax.faces.component.UIInput.validate(UIInput.java:967)

              at javax.faces.component.UIInput.executeValidate(UIInput.java:1233)

              at javax.faces.component.UIInput.processValidators(UIInput.java:698)

              at org.richfaces.context.PartialViewExecuteVisitCallback.visit(PartialViewExecuteVisitCallback.java:57)

              at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:337)

              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1589)

              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)

              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)

              at javax.faces.component.UIForm.visitTree(UIForm.java:344)

              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)

              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)

              at org.richfaces.context.ExtendedPartialViewContextImpl.executeComponents(ExtendedPartialViewContextImpl.java:249)

              at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialExecutePhase(ExtendedPartialViewContextImpl.java:229)

              at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:208)

              at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1170)

              at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)

              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:409)

              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:298)

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

              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)

      Caused by: javax.validation.ValidationException: Could not create Configuration.

              at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:172)

              at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:47)

              at javax.faces.validator.BeanValidator.validate(BeanValidator.java:276)

              ... 32 more

      Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

              at java.util.ArrayList.RangeCheck(ArrayList.java:547)

              at java.util.ArrayList.get(ArrayList.java:322)

              at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:170)

              ... 34 more