Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 98988 invoked from network); 26 May 2010 06:14:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 May 2010 06:14:28 -0000 Received: (qmail 53513 invoked by uid 500); 26 May 2010 06:14:27 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 53123 invoked by uid 500); 26 May 2010 06:14:25 -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 53112 invoked by uid 99); 26 May 2010 06:14:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 06:14:23 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mynewsgroups@arcor.de designates 151.189.21.43 as permitted sender) Received: from [151.189.21.43] (HELO mail-in-03.arcor-online.net) (151.189.21.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 06:14:15 +0000 Received: from mail-in-13-z2.arcor-online.net (mail-in-13-z2.arcor-online.net [151.189.8.30]) by mx.arcor.de (Postfix) with ESMTP id C352FD8080 for ; Wed, 26 May 2010 08:13:54 +0200 (CEST) Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mail-in-13-z2.arcor-online.net (Postfix) with ESMTP id A4CC2E1CAE for ; Wed, 26 May 2010 08:13:54 +0200 (CEST) Received: from webmail11.arcor-online.net (webmail11.arcor-online.net [151.189.8.83]) by mail-in-12.arcor-online.net (Postfix) with ESMTP id 8C91626573 for ; Wed, 26 May 2010 08:13:54 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-12.arcor-online.net 8C91626573 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1274854434; bh=vZJXW5Fa4H42ifDNeaYjCgyWqh++IzuqrCjGCbCW1c8=; h=Message-ID:Date:From:To:Subject:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:References; b=dH+l5eEbph4Z07eaqQtnxE2v2SjzxwEkErl43I+6+27nOR4niy/9IcbiKpbOmWThg lVJwB/LYnByh0WvjyOoSUmHBKpkStekt55Beh4ThAsPG134f0wEplywMD/M+3RVlP2 SYRgDFbJNdszWQT2dLqrGHXUZRYKNhqXj89mH6y4= Received: from [145.228.201.28] by webmail11.arcor-online.net (151.189.8.83) with HTTP (Arcor Webmail); Wed, 26 May 2010 08:13:54 +0200 (CEST) Message-ID: <17974756.1274854434513.JavaMail.ngmail@webmail11.arcor-online.net> Date: Wed, 26 May 2010 08:13:54 +0200 (CEST) From: mynewsgroups@arcor.de To: users@myfaces.apache.org Subject: Aw: Re: ExtVal: NullPointerException for meta data of UIViewParameter In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <1871448498.278751274808716410.JavaMail.ngmail@webmail06.arcor-online.net> X-ngMessageSubType: MessageSubType_MAIL X-WebmailclientIP: 145.228.201.28 X-Virus-Checked: Checked by ClamAV on apache.org Hi Gerhard, I would appreciate if you provide the current binaries. Can you give statement what the problem is? Did you add a bugfix adhoc? Thanks a lot, Tom ----- Original Nachricht ---- Von: Gerhard Petracek An: MyFaces Discussion Datum: 25.05.2010 19:58 Betreff: Re: ExtVal: NullPointerException for meta data of UIViewParameter > hi, > > please try the current snapshot for jsf 2 [1]. > just use: > mvn clean install > after the checkout. > > if you don't use maven, i'll provide the current binaries. > > regards, > gerhard > > [1] > https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/branc > h_for_jsf_2_0/ > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > > 2010/5/25 > > > I'm using Facelets for a JSF 2.0 project with redirect and view params: > > > > > > > > > > > > > value="#{bean.data.refID}" /> > > > > > > > > > > > > > > > value="#{bean.data.refID}" /> > > > value="Suchen" > > > > action="list?faces-redirect=true&includeViewParams=true" /> > > > > > > > > > > > > Using ExtVal and BeanValidation I receive a NPE evaluating on the view > > param which seems to be a JSF problem rather than ExtVal itself!? > > > > > org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.add > MetaDataToContext(UIComponent, > > PropertyDetails, boolean) > > --> > > > > > org.apache.myfaces.extensions.validator.core.el.DefaultELHelper.getPropertyD > etailsOfValueBinding(UIComponent) > > --> > > javax.faces.component.UIComponent.getValueExpression(String) returns null > > for "UIComponentBase.PropertyKeys.bindings". > > > > What is the problem here? > > > > > > ========================================== > > > > Stacktrace: > > > > java.lang.NullPointerException > > at > > > org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.add > MetaDataToContext(BeanValidationUtils.java:56) > > at > > > org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValida > tionMetaDataExtractionInterceptor.processExtValBeanValidationMetaData(ExtValB > eanValidationMetaDataExtractionInterceptor.java:78) > > at > > > org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValida > tionMetaDataExtractionInterceptor.afterExtracting(ExtValBeanValidationMetaDat > aExtractionInterceptor.java:59) > > at > > > org.apache.myfaces.extensions.validator.util.ExtValUtils.invokeMetaDataExtra > ctionInterceptors(ExtValUtils.java:269) > > at > > > org.apache.myfaces.extensions.validator.util.ExtValUtils.access$100(ExtValUt > ils.java:80) > > at > > > org.apache.myfaces.extensions.validator.util.ExtValUtils$1.extract(ExtValUti > ls.java:237) > > at > > > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationI > nterceptor.getPropertyInformation(AbstractValidationInterceptor.java:173) > > at > > > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationI > nterceptor.processAfterValidation(AbstractValidationInterceptor.java:163) > > at > > > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationI > nterceptor.beforeGetConvertedValue(AbstractValidationInterceptor.java:150) > > at > > > org.apache.myfaces.extensions.validator.core.renderkit.ExtValRendererWrapper > .getConvertedValue(ExtValRendererWrapper.java:468) > > at > > > javax.faces.component.UIViewParameter.getConvertedValue(UIViewParameter.java > :391) > > at javax.faces.component.UIInput.validate(UIInput.java:934) > > at > javax.faces.component.UIInput.executeValidate(UIInput.java:1189) > > at > javax.faces.component.UIInput.processValidators(UIInput.java:691) > > at > > > javax.faces.component.UIViewParameter.processValidators(UIViewParameter.java > :270) > > at > > > javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java > :1115) > > at > > > javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java > :1115) > > at > > javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1180) > > > > Und was machen Sie heute abend? Alles Events Ihrer Gegend auf einen Blick > > im Arcor.de-Veranstaltungskalender: http://www.arcor.de/rd/footer.events > > > Und was machen Sie heute abend? Alles Events Ihrer Gegend auf einen Blick im Arcor.de-Veranstaltungskalender: http://www.arcor.de/rd/footer.events