I think I found a weird problem in Symfony.
Here's my upload case form:
<?php
class UploadCaseForm extends sfForm {
    public function configure()
     {
     $this->setWidgets ( array ('Documents' => new sfWidgetFormInputFile ( ) ));
        $this->widgetSchema->setNameFormat('UploadCase[%s]');
     $this->setValidators(array(
     'Documents'=>new sfValidatorFile ()
     ));
    }
}
?>
And the action class is this:
public function executeIndex(sfWebRequest $request) {
 if ($this->getRequest ()->getMethod () == sfRequest::GET) {
  $this->form = new UploadCaseForm ( );
 } else if ($this->getRequest ()->getMethod () == sfRequest::POST) {
  $this->form->bind ($request->getParameters('UploadCase'), $request->getFiles ( 'UploadCase' ) );
 }
}
I would expect that after I upload a file, $request->getParameter('UploadCase') should return a NULL, but not crashing the web application. Instead the web app crashed.
Anything that I do wrong?