In the bleeding edge SVN update (1.4) I can the following error when using
the file upload field. I get the same error in the Wicket Examples built
with the above:

WicketMessage: Method onFormSubmitted of interface
org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component
[MarkupContainer [Component id = simpleUpload]] threw an exception

Root cause:

java.lang.IllegalStateException: Attempt to set model object on null model
of component: simpleUpload:fileInput
at org.apache.wicket.Component.setDefaultModelObject(Component.java:2936)
at
org.apache.wicket.markup.html.form.FormComponent.updateModel(FormComponent.java:1149)
at
org.apache.wicket.markup.html.form.Form$FormModelUpdateVisitor.component(Form.java:223)
at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:495)
at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:474)
at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrder(FormComponent.java:451)
at
org.apache.wicket.markup.html.form.Form.internalUpdateFormComponentModels(Form.java:1947)
at
org.apache.wicket.markup.html.form.Form.updateFormComponentModels(Form.java:1915)
at org.apache.wicket.markup.html.form.Form.process(Form.java:957)
at org.apache.wicket.markup.html.form.Form.process(Form.java:905)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:873)
...................


I hope it is not a configuration error on my part. I don't have enough
expertise to submit a patch. Hopefully some person greater have a look.
Cheers

-- 
View this message in context: 
http://www.nabble.com/Wicket-upload-example-in-latest-snapshot-%281.4%29-has-exception-tp20469979p20469979.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to