[ 
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)

Reply via email to