This happens if the file is not first in the selected files list. Steps to reproduce: 1. Add 2 files for upload. The first one should be bigger so you have time do to the next steps. 2. Click the Upload button. The first starts to upload. 3. Delete the second file. When the upload process gets to the second file, a NullReferenceException is thrown.