hello,

thanks for your input, more info on this:
* I use wicket-1.4-SNAPSHOT.jar
* I checked out the code from the repository ... and build the
code...so it is not the exactly the same war...
* I pointed the upload dir to a dir in my home-dir with no
writepermissions, no luck of course
* I pointed the upload dir to a dir in my home-dir WITH
writepermissions, no luck again
* if I use the no-ajax-upload  from
http://www.wicket-library.com/wicket-examples/upload/ it does not work
on different machines running ubuntu 8.04 (desktop) and ubuntu 8.10
(beta, desktop).

What else could it be?

greetings

2008/10/9 Martijn Dashorst <[EMAIL PROTECTED]>:
> If you haven't modified anything between the two wars, then it sounds
> like a rights issue. AFAIR some linux distributions restrict
> "dangerous things" such as reflection.
>
> Martijn
>
> On Wed, Oct 8, 2008 at 12:29 PM, Herbert Winter <[EMAIL PROTECTED]> wrote:
>> hello list,
>>
>> I am a new user of wicket and try to make a simple fileupload like the
>> example at http://www.wicket-library.com/wicket-examples/upload/
>>
>> The examples work when I deploy to tomcat on win xp.
>> However when I use the war on linux ( e.g. Apache Tomcat/6.0.18 | suns
>> java 1.6.0_10-rc2-b32 | Linux | 2.6.27-5-generic | i386) and try to
>> upload a file in the browser, I get the following, titled Unexpected
>> RuntimeException:
>>
>> WicketMessage: Method onFormSubmitted of interface
>> org.apache.wicket.markup.html.form.IFormSubmitListener targeted at
>> component [MarkupContainer [Component id = ajax-iconUpload]] threw an
>> exception
>>
>> Root cause:
>>
>> java.lang.IllegalStateException: Attempt to set model object on null
>> model of component:
>> page:footer:pluginRepeater:0:plugin:ajax-iconUpload:fileInput
>> at org.apache.wicket.Component.setDefaultModelObject(Component.java:2965)
>> [...]
>>
>> Any idea what is happening, any hints?
>>
>> greetings
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.4 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to