myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From katts <srikanth_kong...@yahoo.co.in>
Subject exception with extval11 in myfaces tobago 1.0.21
Date Mon, 29 Jun 2009 17:45:00 GMT

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-tp24258640p24258640.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message