[ https://issues.apache.org/jira/browse/WICKET-5834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313999#comment-14313999 ]
ASF subversion and git services commented on WICKET-5834: --------------------------------------------------------- Commit 013a56ae3cd59e63caae180072040a03f3e10385 in wicket's branch refs/heads/wicket-6.x from [~papegaaij] [ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=013a56a ] WICKET-5834: return null, no model means no property > 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: Igor Vaynberg > > 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)