myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Wessendorf <mat...@apache.org>
Subject Re: Unable to find a default provider
Date Mon, 08 Feb 2010 13:14:09 GMT
are you talking about the BeanValidation error ?

We did two tiny clean-ups there:
https://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-2.0.x/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXEditableValueTemplate.java?diff_format=h&view=log

-Matthias

On Mon, Feb 8, 2010 at 11:43 AM, Jakob Korherr <jakob.korherr@gmail.com> wrote:
> Hi,
>
> I think this is a known Trinidad issue, because Trinidad uses a placeholder
> request class from myfaces core (see MYFACES-2434 for details). However it
> should be determined if this should be changed on Trinidad or on MyFaces
> core.
>
> Can someone of the "Trinidad team" please review this?!?
>
> Thanks,
> Jakob
>
> 2010/2/2 Dj Apal [GR] <djapal@gmail.com>
>
>> Hello all.
>>
>> I'm trying to port a project of mine from jsf 1.1 to jsf 2.
>>
>> I also changed Hibernate to use annotations instead of xml files.
>>
>> I use myfaces 2 beta and trinidad 2 alpha.
>>
>>
>> Still haven;t changed anything at my web configuration.
>>
>>
>> I get this error. Anyone knows sth about that? Thnx!
>>
>>
>> javax.faces.FacesException: javax.validation.ValidationException:
>> Unable to find a default provider
>>        at
>> org.apache.myfaces.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
>>        at
>> org.apache.myfaces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:156)
>>        at
>> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:157)
>>        at
>> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:88)
>>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>        at
>> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
>>        at
>> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
>>        at
>> org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>        at ac.view.filter.SecurityFilter.doFilter(SecurityFilter.java:114)
>>        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.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:293)
>>        at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>>        at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>>        at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>>        at java.lang.Thread.run(Thread.java:619)
>> Caused by: javax.validation.ValidationException: Unable to find a
>> default provider
>>        at
>> javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)
>>        at
>> javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111)
>>        at
>> org.apache.myfaces.trinidad.component.UIXEditableValue._isBeanValidationAvailable(UIXEditableValue.java:577)
>>        at
>> org.apache.myfaces.trinidad.component.UIXEditableValue._shouldValidateEmptyFields(UIXEditableValue.java:541)
>>        at
>> org.apache.myfaces.trinidad.component.UIXEditableValue.validateValue(UIXEditableValue.java:347)
>>        at
>> org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:183)
>>        at
>> org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:611)
>>        at
>> org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:281)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
>>        at
>> org.apache.myfaces.trinidad.component.UIXForm.processValidators(UIXForm.java:82)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
>>        at
>> org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
>>        at
>> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1135)
>>        at
>> javax.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1355)
>>        at javax.faces.component.UIViewRoot.access$600(UIViewRoot.java:75)
>>        at
>> javax.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1402)
>>        at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1311)
>>        at
>> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:687)
>>        at
>> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:35)
>>        at
>> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:138)
>>        ... 22 more
>>
>>
>> I also get this error.
>>
>>
>> 2 Φεβ 2010 3:58:12 μμ
>> org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl
>> _startConfiguratorServiceRequest
>> SEVERE:
>> java.lang.UnsupportedOperationException: This request class is an
>> empty placeholder
>>
>>
>> --
>>
>>
>>  __o
>> _\<._
>> (_)/ (_)
>>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Mime
View raw message