[ 
https://issues.apache.org/jira/browse/WICKET-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pedro Santos resolved WICKET-3715.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC5
                   1.4.18

> FileUpload writeToTempFile() method throws NPE for sessionless requests
> -----------------------------------------------------------------------
>
>                 Key: WICKET-3715
>                 URL: https://issues.apache.org/jira/browse/WICKET-3715
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.17
>            Reporter: Konstantin Ignatyev
>            Assignee: Pedro Santos
>            Priority: Trivial
>             Fix For: 1.4.18, 1.5-RC5
>
>
> I have created stateless page with stateless form containing FileUploadField, 
> however when I tried to post file to it, NPE was thrown.
> The issue is caused by method FileUpload#writeToTempFile() method trying to 
> use session id as temp file prefix. 
> Workaround: create temp file manually and use method FileUpload#writeToFile( 
> myTempFile)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to