Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 13751 invoked from network); 1 Jul 2009 22:26:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 22:26:32 -0000 Received: (qmail 2456 invoked by uid 500); 1 Jul 2009 22:26:42 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 2377 invoked by uid 500); 1 Jul 2009 22:26:42 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 2369 invoked by uid 99); 1 Jul 2009 22:26:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 22:26:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gerhard.petracek@gmail.com designates 209.85.220.207 as permitted sender) Received: from [209.85.220.207] (HELO mail-fx0-f207.google.com) (209.85.220.207) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 22:26:32 +0000 Received: by fxm3 with SMTP id 3so1113749fxm.12 for ; Wed, 01 Jul 2009 15:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=6MNNMfgT9+E9g2YVfn4esHxYftD8EHKnlUIu1n2I5Vg=; b=WGGb4JESUn1xJeEKER61GR00uyh6H+1rwvbb+1a2+1vhoLQoEvJusL2A3RWvXT/Op8 faz1RT0NUehTISC/3aD7hOdLlOif51RNWe3LtV4G5PLXcVMI5bX0CylZwdlsnQT7JVtD 4BZjdPHF1QhA2czdgP8tGQqaV1i1GnP7E8K6E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=PSL8RLarvGOZ9D5pwqPtKoP/sGy49sucNEmJbGxHFzT+ryCt3Y/cZpKd9qqqsXoC86 HjxRidUKkCUTN3R5LUpMk1Et97LxjgyPXmSAhnsY8ho8xEViCI9YTmESHFH3CvjC40ZT w6IHhBCkKxRjPhqFBVDXxREOw8RQtp3C6Pcfk= MIME-Version: 1.0 Received: by 10.223.119.207 with SMTP id a15mr6740226far.11.1246487170147; Wed, 01 Jul 2009 15:26:10 -0700 (PDT) In-Reply-To: <2332f63b0907010917h171027e0i115cb8747a112b95@mail.gmail.com> References: <24258640.post@talk.nabble.com> <24268860.post@talk.nabble.com> <2332f63b0906300935u59edf98u8a79b0f36d034554@mail.gmail.com> <24290335.post@talk.nabble.com> <2332f63b0907010917h171027e0i115cb8747a112b95@mail.gmail.com> From: Gerhard Petracek Date: Thu, 2 Jul 2009 00:25:50 +0200 Message-ID: <2332f63b0907011525x1fc8d930l2f022ebd24985686@mail.gmail.com> Subject: Re: exception with extval11 in myfaces tobago 1.0.21 To: MyFaces Discussion Content-Type: multipart/alternative; boundary=001636c5bd8cfe66e8046dac686e X-Virus-Checked: Checked by ClamAV on apache.org --001636c5bd8cfe66e8046dac686e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit hi katts, a short addition: maybe we can avoid the demo - i created a small dev-add-on. you can find it at [1]. so please: 1) check it out 2) build it via maven 3) add the add-on (as maven dependency or just as jar file) to your project 4) start your project 5) navigate to the page where the exception occurs 6) you will get some output on the console -> send the output which is directly before the exception regards, gerhard [1] http://code.google.com/p/os890/source/browse/#svn/branches/java/web/jsf/extval/extval_dev/addon http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2009/7/1 Gerhard Petracek > hi katts, > > the out-of-the-box functionality is quite easy to use. > add the jar files to your project and use the annotations. how to use them > is shown in the feature-set 01 example. > the wiki describes basic concepts. more advanced examples are available at > os890 (blog and google code project). > > if you add the lib to your project and you get an exception, we have to > look into it. > that's not due to a wrong setup (since the only setup step is to add the > jar files). > so there is no verbose documentation. it's just that simple... > a jsfcentral article series provides some useful hints. (the next part is > finished and will be online soon!) > > you can ask any question! if the answer isn't available so far, it will be > added e.g. to the wiki. > > in view of your current issue we need at least the page-source you are > using. a quick response will be possible, if you can provide a short demo > which illustrates the constellation. otherwise i have to implement the demo > myself since it might be an issue in combination with a special tobago > component. > > regards, > gerhard > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > > 2009/7/1 katts > > >> Hi Gerhard, >> >> Thanks for the reply.Inparticular i have not used any tutorial.I just >> followed the documentation. >> >> there are very few tutorials available over the web and they are not much >> useful. >> >> Thanks, >> katts >> >> Gerhard Petracek wrote: >> > >> > 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 >> > >> >> >> >> 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() >> >> > 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. >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/exception-with-extval11-in-myfaces-tobago-1.0.21-tp24258640p24290335.html >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > --001636c5bd8cfe66e8046dac686e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi katts,

a short addition:
maybe we can avoid the demo - i creat= ed a small dev-add-on. you can find it at [1].

so please:
1) chec= k it out
2) build it via maven
3) add the add-on (as maven dependency= or just as jar file) to your project
4) start your project
5) navigate to the page where the exception occurs=
6) you will get some output on the console -> send the output which = is directly before the exception

regards,
gerhard

[1] http://code.google.com/p/os890/source/browse/#= svn/branches/java/web/jsf/extval/extval_dev/addon

http://www.irian.at

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

Professional Support for Apache MyFaces



2009/7/1 Gerhard Petracek <gerhard.petracek= @gmail.com>
hi katts,

the out-of-the-box functionality is quite easy to use.
= add the jar files to your project and use the annotations. how to use them = is shown in the feature-set 01 example.
the wiki describes basic concept= s. more advanced examples are available at os890 (blog and google code proj= ect).

if you add the lib to your project and you get an exception, we have to= look into it.
that's not due to a wrong setup (since the only setup= step is to add the jar files).
so there is no verbose documentation. it= 's just that simple...
a jsfcentral article series provides some useful hints. (the next part is f= inished and will be online soon!)

you can ask any question! if the a= nswer isn't available so far, it will be added e.g. to the wiki.

in view of your current issue we need at least the page-source you are = using. a quick response will be possible, if you can provide a short demo w= hich illustrates the constellation. otherwise i have to implement the demo = myself since it might be an issue in combination with a special tobago comp= onent.


regards,
gerhard

http://www.irian.at

Your JSF powerhouse -
JSF Consultin= g, Development and
Courses in English and German

Professional Sup= port for Apache MyFaces



2009/7/1 katts <sr= ikanth_kongara@yahoo.co.in>
=

Hi Gerhard,

Thanks for the reply.Inparticular i have not used any tutorial.I just
followed the documentation.

there are very few tutorials available over the web and they are not much useful.

Thanks,
katts

Gerhard Petracek wrote:
>
> 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<= /a>
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
> 2009/6/30 katts <
srikanth_kongara@yahoo.co.in>
>
>>
>> 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/ELRes= olver;
>> =A0 =A0 =A0 =A0at
>>
>> org.apache.myfaces.context.servlet.ServletExternalContextImpl.disp= atch(ServletExternalContextImpl.java:431)
>> =A0 =A0 =A0 =A0at
>>
>> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(J= spViewHandlerImpl.java:255)
>> =A0 =A0 =A0 =A0at
>>
>> org.apache.myfaces.tobago.application.ViewHandlerImpl.renderView(V= iewHandlerImpl.java:105)
>> =A0 =A0 =A0 =A0at
>>
>> org.apache.myfaces.tobago.lifecycle.RenderResponseExecutor.execute= (RenderResponseExecutor.java:56)
>> =A0 =A0 =A0 =A0at
>>
>> org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.render(TobagoL= ifecycle.java:140)
>> =A0 =A0 =A0 =A0at javax.faces.webapp.FacesServlet.service(FacesSer= vlet.java:147)
>>
>>
>> this is because i am using myfaces 1.1.6 jars.if I replace them wi= th
>> 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 =3D 8)
>> > =A0 =A0 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-pro= perty-validation-1.1.2.jar,persistence-api-1.0.jar,commons-logging-1.1.1.ja= r
>> >
>> > when i try to run the jsp page I am getting following excepti= on.
>> >
>> >
>> > Caused by: java.lang.NullPointerException
>> > =A0 =A0 =A0 at
>> >
>> org.apache.myfaces.extensions.validator.core.el.DefaultELHelper.ge= tPropertyDetailsOfValueBinding(DefaultELHelper.java:146)
>> > =A0 =A0 =A0 at
>> >
>> org.apache.myfaces.extensions.validator.core.metadata.extractor.De= faultComponentMetaDataExtractor.extract(DefaultComponentMetaDataExtractor.j= ava:85)
>> > =A0 =A0 =A0 at
>> >
>> org.apache.myfaces.extensions.validator.util.ExtValUtils$1.extract= (ExtValUtils.java:188)
>> > =A0 =A0 =A0 at
>> >
>> org.apache.myfaces.extensions.validator.core.interceptor.Validatio= nInterceptor.initComponent(ValidationInterceptor.java:77)
>> > =A0 =A0 =A0 at
>> >
>> org.apache.myfaces.extensions.validator.core.interceptor.Validatio= nInterceptor.beforeEncodeBegin(ValidationInterceptor.java:56)
>> > =A0 =A0 =A0 at
>> >
>> org.apache.myfaces.extensions.validator.core.renderkit.ExtValRende= rerWrapper.encodeBegin(ExtValRendererWrapper.java:208)
>> > =A0 =A0 =A0 at
>> >
>> org.apache.myfaces.extensions.validator.generic.renderkit.ExtValGe= nericRendererWrapper.intercept(ExtValGenericRendererWrapper.java:71)
>> > =A0 =A0 =A0 at
>> >
>> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.= TreeOldNodeRenderer$$EnhancerByCGLIB$$51f4431d.encodeBegin(<generated>= ;)
>> > =A0 =A0 =A0 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.nabb= le.com/exception-with-extval11-in-myfaces-tobago-1.0.21-tp24258640p24268860= .html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.<= br> >>
>>
>
>

--
View this message in context: http://www.nabble.com/exception-with-extval11-in-myfaces-tobago-1.0.2= 1-tp24258640p24290335.html
Sent from the MyFaces - Users mailing list arch= ive at Nabble.com.



--001636c5bd8cfe66e8046dac686e--