fileItem null pointer exception

Hi.

I’ve got a serious issue, and can’t find any solution!

Using CAF on Designer 7.1.2 fix 8, I’m trying to develop a task that uploads a file to the MWS portal.
On my page interface, I’m using a “file input” control, pointing to a “fileItem” object.
When I try to check on the content of the file (print the file name and size in the logs), I get a null pointer exception, which means the file item is never instanciated.

Have anyone ever had the same issue (and most important, does anyone have a solution for me? :slight_smile: )

Thanks in advance.

I found my mistake. The submit button of my form was an asynchronous one. I changed to a command button and that’s it. :slight_smile: