« Return to Thread: exception with extval11 in myfaces tobago 1.0.21

Re: exception with extval11 in myfaces tobago 1.0.21

by Gerhard Petracek :: Rate this Message:

Reply to Author | View in Thread

hi katts,

yes extval 1.1.x is for jsf 1.1.x implementations
and extval 1.2.x is for jsf 1.2.x implementations.

so your first try was ok.
could you please provide a link to the demo which illustrates the constellation.

regards,
gerhard

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2009/6/30 katts <srikanth_kongara@...>

I replaced 1.1.2 jars with 1.2.2 jars.

now i am getting the error

javax.faces.FacesException: javax.servlet.jsp.JspException:
javax.faces.application.Application.getELResolver()Ljavax/el/ELResolver;
       at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:431)
       at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:255)
       at
org.apache.myfaces.tobago.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:105)
       at
org.apache.myfaces.tobago.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:56)
       at
org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.render(TobagoLifecycle.java:140)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:147)


this is because i am using myfaces 1.1.6 jars.if I replace them with myfaces
1.2.6 ,my tobago application is not starting,it is throwing severe errors
,because listener has not sarted.

I am using tobago 1.0.21,myfaces 1.1.6 and extval11 1.2.2 jars.

could some one please help me with this.

Thanks
katts





katts wrote:
>
> Hi All,
>
> I am trying to use extval11 along with myfaces tobago 1.0.21 (also tried
> 1.0.20).
>
> The only annotation i used in my java class is
>
> @Length(minimum = 8)
>     private String programName;
>
> I have below list of jar files in my classpath.
>
> asm-1.5.3.jar,cglib-2.1_3.jar,commons-codec-1.3.jar,myfaces-extval-core-1.1.2.jar,myfaces-extval-generic-support-1.1.2.jar,myfaces-extval-property-validation-1.1.2.jar,persistence-api-1.0.jar,commons-logging-1.1.1.jar
>
> when i try to run the jsp page I am getting following exception.
>
>
> Caused by: java.lang.NullPointerException
>       at
> org.apache.myfaces.extensions.validator.core.el.DefaultELHelper.getPropertyDetailsOfValueBinding(DefaultELHelper.java:146)
>       at
> org.apache.myfaces.extensions.validator.core.metadata.extractor.DefaultComponentMetaDataExtractor.extract(DefaultComponentMetaDataExtractor.java:85)
>       at
> org.apache.myfaces.extensions.validator.util.ExtValUtils$1.extract(ExtValUtils.java:188)
>       at
> org.apache.myfaces.extensions.validator.core.interceptor.ValidationInterceptor.initComponent(ValidationInterceptor.java:77)
>       at
> org.apache.myfaces.extensions.validator.core.interceptor.ValidationInterceptor.beforeEncodeBegin(ValidationInterceptor.java:56)
>       at
> org.apache.myfaces.extensions.validator.core.renderkit.ExtValRendererWrapper.encodeBegin(ExtValRendererWrapper.java:208)
>       at
> org.apache.myfaces.extensions.validator.generic.renderkit.ExtValGenericRendererWrapper.intercept(ExtValGenericRendererWrapper.java:71)
>       at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeOldNodeRenderer$$EnhancerByCGLIB$$51f4431d.encodeBegin(<generated>)
>       at
> javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:746)
>
> could someone help me in resolving this exception please.
>
> is extval11 compatible with myfaces tobago..?
>
> Thanks,
> katts
>

--
View this message in context: http://www.nabble.com/exception-with-extval11-in-myfaces-tobago-1.0.21-tp24258640p24268860.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


 « Return to Thread: exception with extval11 in myfaces tobago 1.0.21