You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Emond Papegaaij (JIRA)" <ji...@apache.org> on 2015/02/10 11:50:35 UTC

[jira] [Resolved] (WICKET-5834) NPE in DefaultPropertyResolver

     [ https://issues.apache.org/jira/browse/WICKET-5834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emond Papegaaij resolved WICKET-5834.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 7.0.0-M6
                   6.20.0
         Assignee: Emond Papegaaij  (was: Igor Vaynberg)

> NPE in DefaultPropertyResolver
> ------------------------------
>
>                 Key: WICKET-5834
>                 URL: https://issues.apache.org/jira/browse/WICKET-5834
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-bean-validation
>    Affects Versions: 6.19.0
>            Reporter: Emond Papegaaij
>            Assignee: Emond Papegaaij
>             Fix For: 6.20.0, 7.0.0-M6
>
>
> The fix for WICKET-5811 causes the following NPE if no model can be found:
> {code}
> java.lang.NullPointerException
> 	at org.apache.wicket.bean.validation.DefaultPropertyResolver.resolveProperty(DefaultPropertyResolver.java:27)
> 	at org.apache.wicket.bean.validation.BeanValidationConfiguration.resolveProperty(BeanValidationConfiguration.java:165)
> 	at nl.topicus.cobra.web.components.form.AutoFieldSet.addBeanValidator(AutoFieldSet.java:483)
> 	at nl.topicus.cobra.web.components.form.AutoFieldSet.postProcessValidators(AutoFieldSet.java:440)
> 	at nl.topicus.cobra.web.components.form.AutoFieldSet.onBeforeRenderApply(AutoFieldSet.java:391)
> 	at nl.topicus.cobra.web.components.form.AutoFieldSet.onBeforeRender(AutoFieldSet.java:321)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)