title: Symfony2 Form Gives Catchable Error About FormView
body: <p>This is really strange, and it happened after updating a Twig template:</p>
  
  <p><strong>The Controller Part</strong></p>
  
  <pre><code>    $registration = new Registration();
      $form = $this-&gt;createForm(new RegistrationType(), $registration, array(
          'action' =&gt; $this-&gt;generateUrl('account_create'),
      ));
  
      return $this-&gt;render(
          'AcmeCommonBundle:Security:register.html.twig',
          array(
              'form' =&gt; $form-&gt;createView(),
              'contentBackColor' =&gt; 'canvasGreen'
              )
      );
  </code></pre>
  
  <p><strong>The Template Part</strong></p>
  
  <pre><code>{{ form_start(form) }}
      {{ form_errors(form) }}
  
      &lt;p&gt;All Fields Are Required&lt;/p&gt;
  
      &lt;div class="form-row"&gt;
          {{ form_label(form.firstname, "First Name") }}
          {{ form_widget(form.firstname) }}
          &lt;div class="clear-fix"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-errors-row"&gt;
          {{ form_errors(form.firstname) }}
      &lt;/div&gt;
  
      &lt;div class="form-row"&gt;
          {{ form_label(form.lastname, "Last Name") }}
          {{ form_widget(form.lastname) }}
          &lt;div class="clear-fix"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-errors-row"&gt;
          {{ form_errors(form.lastname) }}
      &lt;/div&gt;
  
      &lt;div class="form-row"&gt;
          {{ form_label(form.username, "Username") }}
          {{ form_widget(form.username) }}
          &lt;div class="clear-fix"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-errors-row"&gt;
          {{ form_errors(form.username) }}
      &lt;/div&gt;
  
      &lt;div class="form-row"&gt;
          {{ form_label(form.email, "Email") }}
          {{ form_widget(form.email) }}
          &lt;div class="clear-fix"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-errors-row"&gt;
          {{ form_errors(form.email) }}
      &lt;/div&gt;
  
      &lt;div class="form-row"&gt;
          {{ form_label(form.password, "Password") }}
          {{ form_widget(form.password) }}
          &lt;div class="clear-fix"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-errors-row"&gt;
          {{ form_errors(form.password) }}
      &lt;/div&gt;
  
      &lt;div class="form-row"&gt;
          {{ form_label(form.confirm, "Confirm Password") }}
          {{ form_widget(form.confirm) }}
          &lt;div class="clear-fix"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-errors-row"&gt;
          {{ form_errors(form.confirm) }}
      &lt;/div&gt;
  
      &lt;div class="form-row"&gt;
          {{ form_label(form.terms, "Terms &amp; Conditions") }}
          {{ form_widget(form.terms) }}
          &lt;div class="clear-fix"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-errors-row"&gt;
          {{ form_errors(form.terms) }}
      &lt;/div&gt;
  
  {{ form_end(form) }}
  </code></pre>
  
  <p><strong>The Error</strong></p>
  
  <pre><code>Argument 1 passed to Symfony\Component\Form\FormRenderer::searchAndRenderBlock() must be an instance of Symfony\Component\Form\FormView, null given
  </code></pre>
  
  <p>As you can clearly see, I am indeed rendering the FormView, and the fact that it's null would lead me to believe that this is related to the RegistrationType() class, but nothing changed there, only in the template to render?</p>