After update to rc2 - I am getting an NPE on a CheckBoxMultipleChoice when
submitting a form.

The NPE is thrown from the same area that the following Jira addresses.

https://issues.apache.org/jira/browse/WICKET-1270

This patch does not appear in 1.4-rc2.

The stack I'm getting is

Caused by: java.lang.NullPointerException
        at java.util.AbstractCollection.addAll(AbstractCollection.java:303)
        at
org.apache.wicket.markup.html.form.ListMultipleChoice.updateModel(ListMultipleChoice.java:327)
        at
org.apache.wicket.markup.html.form.Form$FormModelUpdateVisitor.component(Form.java:223)
        at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:488)
        at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:467)
        at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:467)
        at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:467)
        at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:467)
        at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrder(FormComponent.java:439)
        at
org.apache.wicket.markup.html.form.Form.internalUpdateFormComponentModels(Form.java:1975)
        at
org.apache.wicket.markup.html.form.Form.updateFormComponentModels(Form.java:1938)
        at org.apache.wicket.markup.html.form.Form.process(Form.java:960)
        at org.apache.wicket.markup.html.form.Form.process(Form.java:908)
        at 
org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:876)


Ideas please?

I am grabbing the source and going to scour changes - but its ... quite
difficult to debug.

This update from rc1 to rc2 has been much more problematic for me than 1.3
to 1.4, and the various other minor revisions.
-- 
View this message in context: 
http://www.nabble.com/NPE-thrown-from-CheckBoxMultipleChoice-when-submitting-a-form.-tp22216434p22216434.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to