On Wed, 25 Feb 2009, Ned Collyer wrote: > 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.
It's in there though -- it was committed to trunk before 1.3.x was in its own branch http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/ListMultipleChoice.java?p2=%2Fwicket%2Ftrunk%2Fjdk-1.4%2Fwicket%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fwicket%2Fmarkup%2Fhtml%2Fform%2FListMultipleChoice.java&p1=%2Fwicket%2Ftrunk%2Fjdk-1.4%2Fwicket%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fwicket%2Fmarkup%2Fhtml%2Fform%2FListMultipleChoice.java&r1=611726&r2=611725&view=diff&pathrev=611726 > 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) ... ... > Ideas please? getConvertedInput() is returning null. Put a breakpoint to Form.process() and debug to see why that happens. You could browse the Jira issues with fix version 1.4-rc2, and / or try to reproduce the problem in a quickstart. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
