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
Priority: Trivial
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