Description of problem: Plastform issue for https://issues.jboss.org/browse/GTNWSRP-346 How reproducible: always Steps to Reproduce: Create an application containing a form with several input fields, one of them being a file upload. The file upload field is optional. When this form is submitted with empty file upload field, processing breaks in WSRP scenario, but works if used directly. Actual results: Form processing aborts due to the thrown IllegalArgumentException Expected results: Form is getting processed.