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:39:34 UTC
[jira] [Created] (WICKET-5834) NPE in DefaultPropertyResolver
Emond Papegaaij created WICKET-5834:
---------------------------------------
Summary: 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)