Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5834

NPE in DefaultPropertyResolver

    XMLWordPrintableJSON

Details

    Description

      The fix for WICKET-5811 causes the following NPE if no model can be found:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              papegaaij Emond Papegaaij
              papegaaij Emond Papegaaij
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: