After packaging new package, but occur NullPointer Exception:
because
request.getCharacterEncoding() == null
so the line:
fieldValue = item.getString(request.getCharacterEncoding());
throw exception.
How to deal with the case.
Christian Koeberl wrote:
Is this a bug of UploadFile or I should change the code?
This is a bug, see: https://issues.apache.org/jira/browse/TAPESTRY-1723
You can checkout the code, apply the patch and build your own
tapestry-upload.jar
--
Chris
--
View this message in context:
http://www.nabble.com/T5%3A-UploadedFile-componet-is-not-compatible-with-UTF-8-tf4465167.html#a12750499
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]